/* ============================================================
   统一认证页样式：登录 / 注册（前台 · 后台通用）
   风格：深蓝渐变 + 玻璃拟态（Glassmorphism），紫只作微光点缀
   依赖：/yyy/font-awesome/4.7.0 图标
   版本：2026-11-22 blue-green shards glass
   ============================================================ */

:root {
    --auth-brand: #2563eb;
    --auth-brand-light: #60a5fa;
    --auth-brand-deep: #1d4ed8;
    --auth-brand-soft: rgba(37, 99, 235, .18);
    --auth-ink: #ffffff;
    --auth-ink-2: rgba(255, 255, 255, .82);
    --auth-ink-3: rgba(255, 255, 255, .74);
    --auth-line: rgba(255, 255, 255, .24);
    --auth-line-soft: rgba(255, 255, 255, .16);
    --auth-radius: 12px;
}

/* ---------- 基础重置（只作用于认证页） ---------- */
body.auth-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 32px 16px;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--auth-ink);
    background:
        radial-gradient(960px 680px at 2% 98%, rgba(64, 255, 214, .55) 0%, rgba(64, 255, 214, 0) 64%),
        radial-gradient(860px 680px at 100% 0%, rgba(56, 189, 248, .55) 0%, rgba(56, 189, 248, 0) 64%),
        linear-gradient(45deg, #06b39c 0%, #06b6d4 20%, #0891d8 42%, #0b6fe8 64%, #1747b8 84%, #0e3a86 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 背景几何光片：大块斜切半透明多边形，蓝绿玻璃质感 */
body.auth-page::before,
body.auth-page::after,
html::before {
    content: "";
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

body.auth-page::before {
    width: 760px;
    height: 760px;
    left: -190px;
    top: -240px;
    transform: rotate(-16deg);
    clip-path: polygon(0 0, 78% 0, 100% 54%, 24% 100%);
    background: linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(125, 232, 226, .12) 42%, rgba(8, 145, 178, 0) 76%);
}

body.auth-page::after {
    width: 700px;
    height: 700px;
    right: -200px;
    bottom: -220px;
    transform: rotate(-14deg);
    clip-path: polygon(24% 0, 100% 20%, 100% 100%, 0 82%);
    background: linear-gradient(315deg, rgba(16, 185, 129, .26) 0%, rgba(14, 165, 233, .18) 48%, rgba(6, 95, 120, 0) 78%);
}

html::before {
    width: 520px;
    height: 1100px;
    left: 34%;
    top: -220px;
    transform: rotate(24deg);
    clip-path: polygon(30% 0, 100% 22%, 70% 100%, 0 76%);
    background: linear-gradient(180deg, rgba(255, 255, 255, .10) 0%, rgba(34, 211, 238, .10) 50%, rgba(255, 255, 255, 0) 100%);
}


body.auth-page * {
    box-sizing: border-box;
}

body.auth-page img {
    max-width: none;
}

/* 电视遥控器 / 键盘焦点：玻璃底上用亮色描边保证可见 */
body.auth-page *:focus {
    outline: 2px solid rgba(147, 197, 253, .92);
    outline-offset: 2px;
}

/* ---------- 布局骨架 ---------- */
.auth-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    margin: auto;
}

.auth-shell.is-narrow {
    max-width: 400px;
}

.auth-card {
    position: relative;
    background: linear-gradient(155deg, rgba(39, 176, 199, .34) 0%, rgba(24, 132, 190, .26) 55%, rgba(32, 104, 178, .32) 100%);
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 22px;
    padding: 36px 30px 28px;
    box-shadow:
        0 30px 74px -26px rgba(3, 32, 78, .52),
        0 2px 10px rgba(3, 32, 78, .14),
        inset 0 1px 0 rgba(255, 255, 255, .40);
    -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(1.10);
    backdrop-filter: blur(26px) saturate(190%) brightness(1.10);
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .55) 30%, rgba(147, 197, 253, .92) 50%, rgba(255, 255, 255, .45) 72%, transparent 100%);
}

/* ---------- 头部 ---------- */
.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 0 14px;
    padding: 0;
    border-radius: 16px;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 48%, #0ea5e9 100%);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 16px 34px -14px rgba(8, 47, 120, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.auth-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .6px;
    color: var(--auth-ink);
    line-height: 1.4;
    text-shadow: 0 2px 18px rgba(3, 24, 60, .35);
}

.auth-subtitle {
    margin-top: 7px;
    font-size: 12.5px;
    letter-spacing: .3px;
    color: var(--auth-ink-3);
}

/* ---------- 表单 ---------- */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.auth-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    color: rgba(255, 255, 255, .78);
    pointer-events: none;
    transition: color .18s ease;
}

.auth-input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--auth-radius);
    background: rgba(255, 255, 255, .17);
    font-family: inherit;
    font-size: 14px;
    line-height: 46px;
    color: #fff;
    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, .66);
    font-size: 13.5px;
}

.auth-input:focus {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(147, 197, 253, .92);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .26), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.auth-field:focus-within .auth-icon {
    color: #dbeafe;
}

.auth-field.is-password .auth-input {
    padding-right: 46px;
}

.auth-field.is-plain .auth-input {
    padding-left: 14px;
}

.auth-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .62);
    font-size: 16px;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.auth-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, .13);
}

/* 眼睛按钮不参与键盘 / 遥控器焦点，避免出现方形描边 */
.auth-toggle:focus {
    outline: none;
}

/* ---------- 验证码 ---------- */
.auth-captcha {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    align-items: stretch;
    gap: 10px;
}

.auth-captcha .auth-field {
    min-width: 0;
}

.auth-captcha-img {
    flex: 0 0 auto;
    width: 132px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: var(--auth-radius);
    background: rgba(255, 255, 255, .90);
    object-fit: contain;
    cursor: pointer;
    transition: border-color .18s ease;
}

.auth-captcha-img:hover {
    border-color: rgba(147, 197, 253, .95);
}

/* ---------- 底部选项行 ---------- */
.auth-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 2px;
    font-size: 13px;
    color: var(--auth-ink-2);
}

.auth-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    color: var(--auth-ink-2);
}

.auth-switch input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.auth-switch .track {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 19px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .18);
    transition: background .2s ease, box-shadow .2s ease;
}

.auth-switch .track::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .28);
    transition: transform .2s ease;
}

.auth-switch input:checked + .track {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    border-color: rgba(147, 197, 253, .85);
}

.auth-switch input:checked + .track::after {
    transform: translateX(15px);
}

.auth-switch input:focus-visible + .track,
.auth-switch:focus-within .track {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .32);
}

/* ---------- 提示框 ---------- */
.auth-tip {
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--auth-radius);
    background: rgba(255, 255, 255, .16);
    font-size: 12.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .82);
}

.auth-tip p {
    margin: 0;
}

/* ---------- 按钮 ---------- */
.auth-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .40);
    border-radius: var(--auth-radius);
    background: linear-gradient(115deg, #2af0c4 0%, #22d3ee 18%, #06b6d4 40%, #0b8bf0 68%, #1d4ed8 100%);
    background-size: 185% 185%;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    animation: auth-flow 10s ease-in-out infinite;
    box-shadow:
        0 16px 34px -14px rgba(2, 18, 50, .95),
        0 0 0 0 rgba(34, 211, 238, .42),
        inset 0 1px 0 rgba(255, 255, 255, .48);
    transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .24s ease, filter .2s ease;
    -webkit-tap-highlight-color: transparent;
}

@keyframes auth-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 斜向高光，hover 时扫过一遍 */
.auth-btn::before {
    content: "";
    position: absolute;
    inset: -2px auto -2px -60%;
    width: 45%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .50) 50%, transparent 100%);
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

.auth-btn:hover {
    filter: saturate(112%) brightness(1.04);
    transform: translateY(-2px) scale(1.012);
    box-shadow:
        0 20px 40px -14px rgba(2, 18, 50, 1),
        0 0 26px -2px rgba(34, 211, 238, .55),
        inset 0 1px 0 rgba(255, 255, 255, .55);
}

.auth-btn:hover::before {
    opacity: 1;
    animation: auth-shine .9s ease-out;
}

@keyframes auth-shine {
    0% { transform: translateX(0) skewX(-18deg); opacity: .9; }
    100% { transform: translateX(420%) skewX(-18deg); opacity: 0; }
}

.auth-btn:active {
    transform: translateY(1px) scale(.992);
    box-shadow:
        0 10px 22px -14px rgba(2, 18, 50, .95),
        inset 0 2px 6px rgba(2, 18, 50, .28);
    transition-duration: .08s;
}

.auth-btn:focus-visible {
    outline: 2px solid #e0f7ff;
    outline-offset: 3px;
}

.auth-btn:disabled {
    background: rgba(255, 255, 255, .24);
    border-color: rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .72);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    animation: none;
}

/* 次按钮：白玻璃实底，和主按钮拉开明度对比 */
.auth-btn-ghost {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .84) 100%);
    border: 1px solid rgba(255, 255, 255, .95);
    color: #0b3a70;
    letter-spacing: 1px;
    box-shadow:
        0 14px 28px -18px rgba(2, 18, 50, .90),
        0 2px 6px rgba(2, 18, 50, .16),
        inset 0 1px 0 #fff;
    animation: none;
    max-width: 30%;
}

.auth-btn-ghost:hover {
    background: linear-gradient(180deg, #ffffff 0%, #eaf6ff 100%);
    border-color: #bfe9ff;
    color: #062a52;
    transform: translateY(-2px);
    box-shadow:
        0 18px 32px -18px rgba(2, 18, 50, .95),
        0 0 0 3px rgba(125, 211, 252, .30),
        inset 0 1px 0 #fff;
}

.auth-btn-ghost:active {
    background: #eaf6ff;
    transform: translateY(1px) scale(.992);
    box-shadow: 0 8px 18px -16px rgba(2, 18, 50, .9), inset 0 2px 5px rgba(11, 58, 112, .16);
}

.auth-btn-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 4px;
}

.auth-btn-row .auth-btn-ghost {
    flex: 1 1 38%;
    min-width: 0;
}

.auth-btn-row .auth-btn {
    flex: 2 1 62%;
    min-width: 0;
}
/* ---------- 分隔与链接 ---------- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--auth-ink-3);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(255, 255, 255, .20);
}

.auth-scan {
    display: flex;
    justify-content: center;
}

.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #dbeafe;
    text-decoration: none;
    border-radius: 6px;
    transition: color .18s ease;
}

.auth-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* 扫码登录：微信绿，打破整页单一蓝色，作为第三个视觉层级 */
.auth-scan-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, .55);
    background: linear-gradient(120deg, rgba(34, 197, 94, .34) 0%, rgba(16, 185, 129, .22) 100%);
    color: #eafff2;
    font-size: 13.5px;
    letter-spacing: .4px;
    text-decoration: none;
    box-shadow:
        0 12px 26px -16px rgba(6, 78, 59, .95),
        inset 0 1px 0 rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.auth-scan-link:hover {
    color: #fff;
    text-decoration: none;
    border-color: rgba(134, 239, 172, .90);
    background: linear-gradient(120deg, rgba(34, 197, 94, .52) 0%, rgba(16, 185, 129, .38) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 16px 30px -16px rgba(6, 78, 59, 1),
        0 0 20px -4px rgba(74, 222, 128, .55),
        inset 0 1px 0 rgba(255, 255, 255, .35);
}

.auth-scan-link:active {
    transform: translateY(1px) scale(.99);
}

.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding-top: 14px;
    margin-top: 2px;
    border-top: 1px dashed rgba(255, 255, 255, .20);
}

.auth-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .66);
    letter-spacing: .3px;
}

/* ---------- 移动端 ---------- */
@media (max-width: 480px) {
    body.auth-page {
        padding: 20px 14px;
    }

    .auth-card {
        padding: 28px 20px 24px;
        border-radius: 18px;
    }

    .auth-brand {
        margin-bottom: 22px;
    }

    .auth-logo {
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .auth-title {
        font-size: 19px;
    }

    .auth-input {
        height: 44px;
        line-height: 44px;
        font-size: 14px;
    }

    .auth-captcha {
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 8px;
    }

    .auth-captcha-img {
        width: 112px;
        height: 44px;
    }

    .auth-btn {
        height: 46px;
        font-size: 14.5px;
        letter-spacing: 1px;
    }

    .auth-row {
        gap: 8px 12px;
    }
}

/* ---------- 扫码登录弹窗：SweetAlert2 iframe 容器去掉白底和外框 ---------- */
.swal2-popup.ui-swal-iframe {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 80px -28px rgba(2, 15, 40, .90) !important;
    overflow: visible !important;
}

.ui-swal-iframe iframe {
    display: block;
    background: transparent !important;
    border-radius: 20px !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
}

.ui-swal-iframe .swal2-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(10, 36, 74, .52);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.ui-swal-iframe .swal2-close:hover {
    background: rgba(37, 99, 235, .75);
    border-color: rgba(191, 219, 254, .90);
    transform: scale(1.06);
}
/* ============================================================
   明亮白玻璃主题（2026-11-22）：卡片改为浅色磨砂，文字转深蓝
   ============================================================ */
body.auth-page .auth-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .98);
    box-shadow:
        0 30px 70px -28px rgba(3, 48, 96, .46),
        0 2px 10px rgba(3, 48, 96, .10),
        inset 0 1px 0 #ffffff;
    color: #0b3552;
}

body.auth-page .auth-card::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .85) 26%, rgba(14, 165, 233, .80) 50%, rgba(255, 255, 255, .80) 74%, transparent 100%);
}

body.auth-page .auth-title {
    color: #08304c;
    text-shadow: none;
}

body.auth-page .auth-subtitle {
    color: rgba(11, 53, 82, .66);
}

body.auth-page .auth-icon {
    color: rgba(11, 74, 112, .55);
}

body.auth-page .auth-input {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(11, 90, 140, .22);
    color: #0b3552;
}

body.auth-page .auth-input::placeholder {
    color: rgba(11, 63, 96, .45);
}

body.auth-page .auth-input:focus {
    background: #ffffff;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .18), inset 0 1px 0 #fff;
}

body.auth-page .auth-field:focus-within .auth-icon {
    color: #0b7fd0;
}

body.auth-page .auth-toggle {
    color: rgba(11, 74, 112, .60);
}

body.auth-page .auth-toggle:hover {
    color: #08304c;
    background: rgba(14, 165, 233, .10);
}

body.auth-page .auth-captcha-img {
    border-color: rgba(11, 90, 140, .25);
}

body.auth-page .auth-row,
body.auth-page .auth-switch {
    color: rgba(11, 53, 82, .80);
}

body.auth-page .auth-switch .track {
    background: rgba(11, 90, 140, .20);
    border-color: rgba(11, 90, 140, .22);
}

body.auth-page .auth-switch .track::after {
    background: #ffffff;
}

body.auth-page .auth-tip {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(11, 90, 140, .16);
    color: rgba(11, 53, 82, .82);
}

body.auth-page .auth-btn {
    border-color: rgba(255, 255, 255, .90);
    box-shadow:
        0 16px 32px -16px rgba(4, 60, 120, .55),
        inset 0 1px 0 rgba(255, 255, 255, .60);
}

body.auth-page .auth-btn-ghost {
    background: linear-gradient(180deg, #ffffff 0%, #e6f7ff 100%);
    border-color: rgba(11, 90, 140, .30);
    color: #0b3a70;
    box-shadow: 0 12px 24px -18px rgba(4, 60, 120, .55), inset 0 1px 0 #fff;
}

body.auth-page .auth-btn-ghost:hover {
    background: linear-gradient(180deg, #ffffff 0%, #d5f1ff 100%);
    border-color: #0ea5e9;
    color: #062a52;
}

body.auth-page .auth-divider {
    color: rgba(11, 53, 82, .58);
}

body.auth-page .auth-divider::before,
body.auth-page .auth-divider::after {
    background: rgba(11, 90, 140, .18);
}

body.auth-page .auth-link {
    color: #0b6fb8;
}

body.auth-page .auth-link:hover {
    color: #044a7d;
}

body.auth-page .auth-scan-link {
    background: linear-gradient(120deg, rgba(34, 197, 94, .16) 0%, rgba(16, 185, 129, .10) 100%);
    border-color: rgba(22, 163, 74, .50);
    color: #0a6446;
    box-shadow: 0 12px 24px -18px rgba(6, 78, 59, .55), inset 0 1px 0 rgba(255, 255, 255, .75);
}

body.auth-page .auth-scan-link:hover {
    background: linear-gradient(120deg, rgba(34, 197, 94, .26) 0%, rgba(16, 185, 129, .18) 100%);
    border-color: #16a34a;
    color: #07503a;
    box-shadow: 0 16px 28px -18px rgba(6, 78, 59, .65), 0 0 0 3px rgba(74, 222, 128, .22);
}

body.auth-page .auth-links {
    border-top-color: rgba(11, 90, 140, .18);
}
body.auth-page .auth-card .auth-footer {
    color: rgba(11, 53, 82, .55);
}
/* ============================================================
   登录页 PC 左右分栏（2026-11-22）
   左侧家校合作宣传，右侧登录表单；≤991px 自动收起左栏
   ============================================================ */
.auth-shell.is-split {
    max-width: 1000px;
}

body.auth-page .auth-card.auth-card-split {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    padding: 0;
    align-items: stretch;
}

.auth-promo {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 46px 42px 32px;
    border-right: 1px solid rgba(11, 90, 140, .10);
    background: #ffffff;
    overflow: hidden;
}

.auth-promo::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -210px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, .16) 0%, rgba(14, 165, 233, 0) 68%);
    pointer-events: none;
}

.auth-promo::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    left: -160px;
    bottom: -170px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, .14) 0%, rgba(16, 185, 129, 0) 70%);
    pointer-events: none;
}

.promo-badge {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid rgba(14, 165, 233, .28);
    background: #eefaff;
    font-size: 12px;
    letter-spacing: .5px;
    color: #0b6fb8;
}

.promo-title {
    position: relative;
    z-index: 1;
    margin: 22px 0 0;
    font-size: 31px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: .5px;
    color: #07314c;
}

.promo-title span {
    background: linear-gradient(120deg, #06b6d4 0%, #0b6fe8 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #0b6fe8;
}

.promo-desc {
    position: relative;
    z-index: 1;
    margin: 16px 0 26px;
    font-size: 13.5px;
    line-height: 1.95;
    color: rgba(11, 53, 82, .68);
}

.promo-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promo-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.promo-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 18px;
}

.promo-icon.is-cyan {
    background: #e7f7ff;
    color: #0b8bf0;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .18);
}

.promo-icon.is-green {
    background: #e9fbf3;
    color: #10b981;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .20);
}

.promo-icon.is-amber {
    background: #fff6e3;
    color: #f59e0b;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .22);
}

.promo-txt {
    min-width: 0;
    padding-top: 1px;
}

.promo-txt strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #08304c;
    letter-spacing: .2px;
}

.promo-txt em {
    display: block;
    margin-top: 3px;
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(11, 53, 82, .58);
}

.promo-quote {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    padding: 13px 16px;
    border-left: 3px solid #0ea5e9;
    border-radius: 0 10px 10px 0;
    background: #f6fcff;
    font-size: 12.5px;
    line-height: 1.85;
    color: rgba(11, 53, 82, .72);
}

.promo-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px dashed rgba(11, 90, 140, .16);
    font-size: 12px;
    color: rgba(11, 53, 82, .52);
}

.promo-avatars {
    display: inline-flex;
}

.promo-avatars i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: -7px;
    border-radius: 50%;
    background: #e7f7ff;
    border: 1px solid #ffffff;
    color: #0b8bf0;
    font-size: 11px;
}

.promo-avatars i:first-child {
    margin-left: 0;
}

.auth-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 38px 30px;
    min-width: 0;
}

@media (max-width: 991px) {
    .auth-shell.is-split {
        max-width: 430px;
    }

    body.auth-page .auth-card.auth-card-split {
        display: block;
        padding: 36px 30px 28px;
    }

    .auth-promo {
        display: none;
    }

    .auth-main {
        padding: 0;
    }
}
/* 左侧深色版（2026-11-22）：深青蓝渐变，与白色表单形成明暗反差 */
body.auth-page .auth-card.auth-card-split .auth-promo {
    background:
        radial-gradient(520px 420px at 108% -12%, rgba(34, 211, 238, .34) 0%, rgba(34, 211, 238, 0) 62%),
        radial-gradient(420px 420px at -18% 108%, rgba(16, 185, 129, .26) 0%, rgba(16, 185, 129, 0) 66%),
        linear-gradient(160deg, #052b45 0%, #07405c 46%, #085675 100%);
    border-right: 1px solid rgba(255, 255, 255, .10);
}

body.auth-page .auth-card.auth-card-split .auth-promo::before {
    background: radial-gradient(circle at 50% 50%, rgba(103, 232, 249, .22) 0%, rgba(103, 232, 249, 0) 68%);
}

body.auth-page .auth-card.auth-card-split .auth-promo::after {
    background: radial-gradient(circle at 50% 50%, rgba(52, 211, 153, .18) 0%, rgba(52, 211, 153, 0) 70%);
}

body.auth-page .auth-card.auth-card-split .promo-badge {
    border-color: rgba(125, 232, 249, .34);
    background: rgba(255, 255, 255, .10);
    color: #bdf3ff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

body.auth-page .auth-card.auth-card-split .promo-title {
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(2, 24, 46, .35);
}

body.auth-page .auth-card.auth-card-split .promo-title span {
    background: linear-gradient(100deg, #7df3ff 0%, #62d4ff 45%, #8bd0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #7df3ff;
}

body.auth-page .auth-card.auth-card-split .promo-desc {
    color: rgba(255, 255, 255, .74);
}

body.auth-page .auth-card.auth-card-split .promo-txt strong {
    color: #ffffff;
}

body.auth-page .auth-card.auth-card-split .promo-txt em {
    color: rgba(255, 255, 255, .62);
}

body.auth-page .auth-card.auth-card-split .promo-icon.is-cyan {
    background: rgba(34, 211, 238, .18);
    color: #7df3ff;
    box-shadow: inset 0 0 0 1px rgba(125, 232, 249, .34);
}

body.auth-page .auth-card.auth-card-split .promo-icon.is-green {
    background: rgba(52, 211, 153, .16);
    color: #6ee7b7;
    box-shadow: inset 0 0 0 1px rgba(110, 231, 183, .32);
}

body.auth-page .auth-card.auth-card-split .promo-icon.is-amber {
    background: rgba(251, 191, 36, .16);
    color: #fcd34d;
    box-shadow: inset 0 0 0 1px rgba(252, 211, 77, .34);
}

body.auth-page .auth-card.auth-card-split .promo-quote {
    border-left-color: #22d3ee;
    background: rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .80);
}

body.auth-page .auth-card.auth-card-split .promo-foot {
    border-top-color: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .58);
}

body.auth-page .auth-card.auth-card-split .promo-avatars i {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(8, 60, 88, .90);
    color: #bdf3ff;
}
/* 左栏：把页面背景的大块斜切光片“翻转”进深色面板（2026-11-22） */
body.auth-page .auth-card.auth-card-split .auth-promo::before {
    width: 700px;
    height: 820px;
    right: -300px;
    top: -330px;
    border-radius: 0;
    transform: rotate(26deg) scaleX(-1);
    clip-path: polygon(0 0, 74% 0, 100% 46%, 30% 100%);
    background: linear-gradient(135deg, rgba(103, 232, 249, .30) 0%, rgba(34, 211, 238, .16) 42%, rgba(34, 211, 238, 0) 72%);
    mix-blend-mode: screen;
}

body.auth-page .auth-card.auth-card-split .auth-promo::after {
    width: 520px;
    height: 640px;
    left: -260px;
    bottom: -280px;
    border-radius: 0;
    transform: rotate(-20deg) scaleY(-1);
    clip-path: polygon(30% 0, 100% 16%, 76% 100%, 0 78%);
    background: linear-gradient(315deg, rgba(52, 211, 153, .26) 0%, rgba(16, 185, 129, .14) 46%, rgba(16, 185, 129, 0) 76%);
    mix-blend-mode: screen;
}
/* 左栏背景提亮：不再压深，只留一层薄青蓝玻璃，透出整页大背景（2026-11-22） */
body.auth-page .auth-card.auth-card-split .auth-promo {
    background:
        radial-gradient(520px 420px at 108% -12%, rgba(125, 246, 255, .30) 0%, rgba(125, 246, 255, 0) 62%),
        radial-gradient(420px 420px at -18% 108%, rgba(94, 255, 190, .22) 0%, rgba(94, 255, 190, 0) 66%),
        linear-gradient(160deg, rgba(6, 156, 180, .22) 0%, rgba(8, 120, 180, .26) 48%, rgba(10, 96, 170, .30) 100%);
    border-right: 1px solid rgba(255, 255, 255, .22);
}
/* 左栏改用高饱和青蓝底色，不再压暗；白字+轻投影保证可读（2026-11-22） */
body.auth-page .auth-card.auth-card-split .auth-promo {
    background:
        radial-gradient(520px 420px at 108% -12%, rgba(125, 246, 255, .34) 0%, rgba(125, 246, 255, 0) 62%),
        radial-gradient(460px 420px at -16% 108%, rgba(74, 222, 160, .26) 0%, rgba(74, 222, 160, 0) 66%),
        linear-gradient(160deg, #06879b 0%, #0a8ac4 44%, #0c74cf 100%);
    border-right: 1px solid rgba(255, 255, 255, .24);
}

body.auth-page .auth-card.auth-card-split .promo-title,
body.auth-page .auth-card.auth-card-split .promo-desc,
body.auth-page .auth-card.auth-card-split .promo-txt strong,
body.auth-page .auth-card.auth-card-split .promo-txt em,
body.auth-page .auth-card.auth-card-split .promo-foot {
    text-shadow: 0 1px 10px rgba(3, 40, 70, .30);
}
/* 亮底上的小字提高不透明度，保证可读 */
body.auth-page .auth-card.auth-card-split .promo-desc {
    color: rgba(255, 255, 255, .90);
}

body.auth-page .auth-card.auth-card-split .promo-txt em {
    color: rgba(255, 255, 255, .80);
}

body.auth-page .auth-card.auth-card-split .promo-foot {
    color: rgba(255, 255, 255, .74);
}
/* 左栏直接采用整页大背景的配色（2026-11-22 最终版） */
body.auth-page .auth-card.auth-card-split .auth-promo {
    background:
        radial-gradient(520px 420px at 108% -12%, rgba(160, 250, 255, .20) 0%, rgba(160, 250, 255, 0) 62%),
        radial-gradient(460px 420px at -16% 108%, rgba(94, 255, 190, .16) 0%, rgba(94, 255, 190, 0) 66%),
        linear-gradient(45deg, rgba(3, 26, 50, .16) 0%, rgba(3, 26, 50, .16) 100%),
        linear-gradient(45deg, #06b39c 0%, #06b6d4 20%, #0891d8 42%, #0b6fe8 64%, #1747b8 84%, #0e3a86 100%);
    border-right: 1px solid rgba(255, 255, 255, .26);
}
/* 白卡上的禁用按钮不能再用半透明白（会看不见） */
body.auth-page .auth-btn:disabled {
    background: #eef4f9;
    border-color: rgba(11, 90, 140, .18);
    color: #7b96ab;
    box-shadow: none;
}
/* 左下角三枚小圆点：改成青绿 / 天蓝 / 琥珀三色，深浅分明 */
body.auth-page .auth-card.auth-card-split .promo-avatars i {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .38);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(3, 40, 70, .22);
}

body.auth-page .auth-card.auth-card-split .promo-avatars i:nth-child(1) {
    background: linear-gradient(135deg, #2af0c4, #06b6d4);
    border-color: rgba(42, 240, 196, .55);
    color: #04384a;
}

body.auth-page .auth-card.auth-card-split .promo-avatars i:nth-child(2) {
    background: linear-gradient(135deg, #7dd3fc, #2563eb);
    border-color: rgba(125, 211, 252, .55);
    color: #04263f;
}

body.auth-page .auth-card.auth-card-split .promo-avatars i:nth-child(3) {
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    border-color: rgba(253, 230, 138, .58);
    color: #4a2c00;
}
/* 开关激活态：青绿→天蓝渐变 + 光晕，和灰白关闭态强对比 */
body.auth-page .auth-switch:has(input:checked) {
    color: #0a5f9e;
    font-weight: 600;
}

body.auth-page .auth-switch input:checked + .track {
    background: linear-gradient(135deg, #2af0c4 0%, #06b6d4 48%, #0b8bf0 100%);
    border-color: rgba(125, 233, 255, .95);
    box-shadow:
        0 0 0 2px rgba(42, 240, 196, .18),
        0 6px 16px -4px rgba(6, 182, 212, .55),
        inset 0 1px 0 rgba(255, 255, 255, .55);
}

body.auth-page .auth-switch input:checked + .track::after {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(4, 60, 120, .42);
}

body.auth-page .auth-switch:active .track {
    transform: scale(.96);
}

body.auth-page .auth-switch .track {
    transition: background .22s ease, box-shadow .22s ease, transform .15s ease;
}
/* 按钮行：查用户名占 1/3，登录占 2/3 */
body.auth-page .auth-btn-row .auth-btn-ghost {
    flex: 1 1 33.333%;
}

body.auth-page .auth-btn-row .auth-btn {
    flex: 2 1 66.667%;
}

/* 验证码：图片在左、输入框在右 */
body.auth-page .auth-captcha {
    grid-template-columns: 132px minmax(0, 1fr);
}

body.auth-page .auth-captcha-img {
    order: -1;
}

@media (max-width: 560px) {
    body.auth-page .auth-captcha {
        grid-template-columns: 112px minmax(0, 1fr);
    }
}