/* 登录 / 注册 / 忘记密码 */
.auth-body { min-height: 100vh; background: linear-gradient(160deg, #E4EEFC 0%, #EEF5FE 45%, #E6F4FB 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; position: relative; overflow: hidden; }
.auth-bg i { position: absolute; border-radius: 50%; filter: blur(2px); }
.auth-bg i:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(36,104,242,.16), transparent 70%); }
.auth-bg i:nth-child(2) { width: 460px; height: 460px; right: -120px; bottom: -160px; background: radial-gradient(circle, rgba(34,184,240,.18), transparent 70%); }
.auth-bg i:nth-child(3) { width: 220px; height: 220px; right: 22%; top: 8%; background: radial-gradient(circle, rgba(123,92,240,.12), transparent 70%); }
.auth-wrap { position: relative; z-index: 1; width: 1080px; max-width: 100%; min-height: 620px; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(20, 60, 140, .16); overflow: hidden; }
.auth-brand { position: relative; padding: 48px 52px; color: #fff; background: linear-gradient(145deg, #1A56D6 0%, #2F7BFF 55%, #22B8F0 100%); overflow: hidden; display: flex; flex-direction: column; }
.auth-brand::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); }
.auth-brand::after { content: ""; position: absolute; left: -80px; bottom: -140px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06); }
.auth-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.auth-logo span { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.auth-logo svg { width: 24px; height: 24px; }
.auth-brand h1 { color: #fff; font-size: 38px; line-height: 1.3; margin-top: 56px; letter-spacing: 3px; }
.auth-desc { margin-top: 16px; font-size: 15px; line-height: 1.8; opacity: .88; max-width: 400px; }
.auth-features { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.auth-feature { display: flex; gap: 14px; align-items: center; }
.auth-feature > span { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); }
.auth-feature svg { width: 22px; height: 22px; }
.auth-feature h4 { color: #fff; font-size: 16px; }
.auth-feature p { font-size: 13px; opacity: .8; }
.auth-numbers { margin-top: auto; padding-top: 28px; display: flex; gap: 36px; position: relative; z-index: 1; }
.auth-numbers b { display: block; font-size: 24px; font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }
.auth-numbers span { font-size: 13px; opacity: .78; }
.auth-panel { padding: 56px 60px 36px; display: flex; flex-direction: column; justify-content: center; }
.auth-head h2 { font-size: 24px; }
.auth-head p { color: var(--text-3); margin-top: 6px; }
.auth-tabs { display: flex; gap: 28px; margin: 28px 0 22px; border-bottom: 1px solid var(--line); }
.auth-tabs button { border: none; background: none; padding: 10px 0; font-size: 16px; color: var(--text-3); cursor: pointer; position: relative; }
.auth-tabs button.active { color: var(--primary); font-weight: 600; }
.auth-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--primary); }
.auth-field { position: relative; display: flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); margin-bottom: 16px; transition: all .15s; }
.auth-field[hidden],
.auth-opts[hidden],
[hidden] { display: none !important; }
.auth-field:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(36,104,242,.12); }
.auth-field > svg:first-child { width: 18px; height: 18px; color: var(--text-3); margin: 0 10px 0 14px; }
.auth-field input { flex: 1; min-width: 0; height: 100%; border: none; outline: none; background: transparent; font-size: 15px; }
.auth-field .eye { width: 18px; height: 18px; color: var(--text-3); margin-right: 14px; cursor: pointer; }
.auth-field .eye:hover { color: var(--primary); }
.auth-send { border: none; background: none; color: var(--primary); font-size: 14px; padding: 0 14px; height: 100%; cursor: pointer; border-left: 1px solid var(--line); white-space: nowrap; }
.auth-send.disabled { color: var(--text-3); pointer-events: none; }
.auth-row-captcha { display: flex; gap: 12px; }
.auth-row-captcha .auth-field { flex: 1; }
.auth-row-captcha canvas { width: 120px; height: 46px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; flex-shrink: 0; }
.auth-opts { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 22px; font-size: 14px; color: var(--text-2); }
.auth-opts label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.auth-submit { height: 46px; font-size: 16px; border-radius: 10px; letter-spacing: 4px; }
.auth-foot { text-align: center; margin-top: 18px; color: var(--text-3); font-size: 14px; }
.auth-tip { margin-top: 14px; text-align: center; font-size: 12px; color: var(--text-3); background: var(--surface-2); border-radius: 8px; padding: 6px; }
.auth-copy { position: relative; z-index: 1; margin-top: 22px; color: var(--text-3); font-size: 12px; }
/* 忘记密码步骤 */
.auth-steps { display: flex; align-items: center; margin: 26px 0 26px; }
.auth-steps .as { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; white-space: nowrap; }
.auth-steps .as b { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; background: #fff; }
.auth-steps .as.active { color: var(--primary); font-weight: 600; }
.auth-steps .as.active b { background: var(--primary); border-color: var(--primary); color: #fff; }
.auth-steps .al { flex: 1; height: 2px; background: var(--line); margin: 0 10px; }
.auth-steps .al.active { background: var(--primary); }
.auth-success { text-align: center; padding: 20px 0; }
.auth-success .ok { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; background: var(--success-soft); color: var(--success); display: flex; align-items: center; justify-content: center; }
.auth-success .ok svg { width: 36px; height: 36px; }
.pwd-rule { font-size: 12px; color: var(--text-3); margin: -8px 0 14px 4px; }
@media (max-width: 960px) { .auth-wrap { grid-template-columns: 1fr; } .auth-brand { display: none; } .auth-panel { padding: 40px 28px; } }
