html, body {
    min-height: 100%;
}

body.auth-page {
    margin: 0;
    min-width: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #183047;
    background:
            radial-gradient(circle at 18% 18%, rgba(71, 139, 216, 0.22), transparent 30%),
            linear-gradient(135deg, #eef6ff 0%, #f7fbff 42%, #e9f0f7 100%);
}

.auth-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 44px;
    background: #0d467d;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.auth-topbar-inner {
    max-width: 1180px;
    height: 44px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.auth-topbar-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.auth-topbar-service:before {
    content: "☎";
    font-size: 16px;
    line-height: 1;
}

.auth-shell {
    min-height: calc(100vh - 44px);
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(360px, 460px);
    gap: 56px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 92px 32px 48px;
}

.auth-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(36, 98, 166, 0.18);
    border-radius: 999px;
    color: #2462a6;
    background: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    letter-spacing: 1px;
}

.auth-hero h1 {
    margin: 26px 0 18px;
    max-width: 760px;
    font-size: 38px;
    line-height: 1.14;
    font-weight: 700;
    color: #132c43;
    letter-spacing: 0;
    white-space: nowrap;
}

.auth-hero h1.auth-title-wrap {
    max-width: 680px;
    white-space: normal;
}

.auth-hero p {
    max-width: 560px;
    color: #526b82;
    font-size: 16px;
    line-height: 1.9;
}

.auth-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin-top: 34px;
}

.auth-point {
    padding: 18px 16px;
    border: 1px solid rgba(30, 85, 144, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 14px 34px rgba(35, 82, 128, 0.08);
}

.auth-point strong {
    display: block;
    margin-bottom: 7px;
    color: #183047;
    font-size: 15px;
}

.auth-point span {
    color: #687f94;
    font-size: 12px;
    line-height: 1.6;
}

.auth-panel {
    position: relative;
    padding: 36px;
    border: 1px solid rgba(26, 77, 130, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 70px rgba(20, 62, 105, 0.16);
    backdrop-filter: blur(12px);
}

.auth-panel:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1f6fbe, #33a474);
    border-radius: 8px 8px 0 0;
}

.auth-panel h2 {
    margin: 0;
    color: #132c43;
    font-size: 28px;
    font-weight: 700;
}

.auth-subtitle {
    margin: 10px 0 26px;
    color: #6a7f93;
    font-size: 14px;
    line-height: 1.7;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    margin-bottom: 7px;
    color: #37536b;
    font-size: 13px;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid #d7e2ec;
    border-radius: 8px;
    background: #f9fcff;
    padding: 0 14px;
    color: #183047;
    font-size: 15px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.auth-field input:focus {
    border-color: #1f6fbe;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 111, 190, 0.1);
}

.auth-captcha {
    display: grid;
    grid-template-columns: 1fr 116px;
    gap: 10px;
    align-items: end;
}

.auth-captcha img {
    width: 116px;
    height: 46px;
    object-fit: cover;
    border: 1px solid #d7e2ec;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
}

.auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.auth-actions.single {
    grid-template-columns: 1fr;
}

.auth-btn {
    height: 46px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s, background .18s;
}

.auth-btn.primary {
    color: #fff;
    background: linear-gradient(135deg, #1f6fbe, #18599a);
    box-shadow: 0 12px 24px rgba(31, 111, 190, 0.22);
}

.auth-btn.secondary {
    color: #1f5d98;
    background: #e9f3fc;
}

.auth-btn:hover {
    transform: translateY(-1px);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    font-size: 13px;
}

.auth-links a {
    color: #1f6fbe;
    text-decoration: none;
    cursor: pointer;
}

.auth-error {
    min-height: 22px;
    margin-top: 16px;
    color: #d53535;
    font-size: 14px;
    text-align: center;
}

.auth-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    color: #7890a5;
    font-size: 12px;
    text-align: center;
}

.auth-footer a {
    color: #537b9f;
}

@media (max-width: 900px) {
    .auth-topbar-inner {
        padding: 0 18px;
        font-size: 12px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 18px 64px;
    }

    .auth-hero {
        min-height: auto;
    }

    .auth-hero h1 {
        font-size: 28px;
        white-space: normal;
    }

    .auth-points {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        padding: 28px 22px;
    }

    .auth-footer {
        position: static;
        padding: 18px;
    }
}
