html, body {
    height: 100%;
}
body.signin {
    margin: 0;
    min-height: 100%;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #1f2a37;
    background: #0b1f33;
}
.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(56, 189, 248, .28), transparent 55%),
        radial-gradient(900px 500px at 90% 110%, rgba(245, 158, 11, .18), transparent 50%),
        linear-gradient(135deg, #071422 0%, #12324d 48%, #0d2136 100%);
}
.login-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .35;
}
.login-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 20px;
}
.login-hero {
    flex: 1.15;
    position: relative;
    color: #e8f3ff;
    padding: 56px 48px 56px 16px;
    display: flex;
    align-items: center;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 460px;
}
.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 12px;
    letter-spacing: .08em;
    margin-bottom: 22px;
}
.hero-badge i { margin-right: 6px; color: #fbbf24; }
.login-hero h1 {
    margin: 0 0 14px;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
}
.hero-lead {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(232,243,255,.82);
}
.hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hero-list li {
    margin: 10px 0;
    font-size: 14px;
    color: rgba(232,243,255,.9);
}
.hero-list i {
    color: #34d399;
    margin-right: 8px;
}
.login-card {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-card form {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.4);
    box-shadow: 0 24px 60px rgba(3, 18, 34, .35);
    border-radius: 16px;
    padding: 36px 32px 28px;
}
.card-head h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #10233a;
}
.card-head p {
    margin: 0 0 22px;
    color: #6b7a8d;
    font-size: 13px;
}
.field-label {
    display: block;
    margin: 4px 0 6px;
    font-size: 13px;
    color: #3d4d61;
    font-weight: 600;
}
.input-wrap {
    position: relative;
    margin-bottom: 14px;
}
.input-wrap > i {
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -7px;
    color: #8aa0b8;
    font-size: 14px;
    z-index: 2;
}
.login-card .form-control {
    height: 42px !important;
    border-radius: 10px !important;
    padding: 8px 40px 8px 36px !important;
    border: 1px solid #d7e2ec !important;
    background: #f7fafc;
    color: #1f2a37;
    box-shadow: none;
}
.login-card .form-control:focus {
    border-color: #1d6a9a !important;
    background: #fff;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(29,106,154,.15);
}
.pwd-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -14px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #8aa0b8;
    cursor: pointer;
}
.pwd-toggle:hover { color: #1d6a9a; }
.captcha-row { margin: 0 -8px 8px; }
.captcha-row .col-xs-7, .captcha-row .col-xs-5 { padding: 0 8px; }
.imgcode {
    display: block;
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d7e2ec;
    object-fit: cover;
    background: #fff;
    cursor: pointer;
}
.login-extra {
    margin: 4px 0 8px;
}
.checkbox-custom {
    position: relative;
    padding: 0 0 0 24px;
    margin: 0;
    display: inline-block;
}
.checkbox-custom input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    z-index: 2;
    margin: -6px 0 0 0;
    top: 50%;
    left: 0;
}
.checkbox-custom label:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -9px;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #c5d4e0;
    background: #fff;
}
.checkbox-custom input[type="checkbox"]:checked + label:after {
    position: absolute;
    display: inline-block;
    font-family: "FontAwesome";
    content: "\f00c";
    top: 50%;
    left: 2px;
    margin-top: -7px;
    font-size: 11px;
    color: #1d6a9a;
}
.checkbox-custom label {
    cursor: pointer;
    line-height: 1.4;
    font-weight: normal;
    margin: 0;
    color: #5b6c7d;
}
.btn-login {
    margin-top: 10px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #2a86c0 0%, #1b648f 100%);
    color: #fff;
    font-size: 15px;
    letter-spacing: .2em;
    box-shadow: 0 10px 20px rgba(27,100,143,.28);
}
.btn-login:hover, .btn-login:focus {
    color: #fff;
    background: linear-gradient(180deg, #3194d0 0%, #1f719f 100%);
}
.login-tip {
    margin: 14px 0 0;
    text-align: center;
    color: #7a8b9c;
    font-size: 13px;
}
.login-tip a { color: #1d6a9a; }
.login-foot {
    margin-top: 16px;
    text-align: center;
    color: rgba(232,243,255,.55);
    font-size: 12px;
}
label.error {
    position: inherit;
    display: block;
    margin: -8px 0 8px 2px;
    color: #e11d48;
    font-size: 12px;
    font-weight: normal;
}
@media screen and (max-width: 900px) {
    .login-wrap {
        flex-direction: column;
        justify-content: center;
        padding: 24px 16px 32px;
    }
    .login-hero {
        padding: 12px 8px 20px;
        text-align: center;
        justify-content: center;
    }
    .hero-content { max-width: none; }
    .hero-list { display: none; }
    .login-hero h1 { font-size: 28px; }
    .login-card { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
}