/* Authentication pages share the same theme as the console. */
.auth-page { min-height:100vh; background:var(--bg); }
.auth-theme { position:fixed; right:23px; top:20px; z-index:2; }
.login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:70px 22px 35px; }
.login-card { width:100%; max-width:420px; background:var(--surface); border:1px solid var(--border); border-radius:20px; box-shadow:var(--shadow-md); overflow:hidden; }
.login-head { padding:32px 30px 0; text-align:left; color:var(--text); }
.auth-wordmark { display:block; font-size:28px; letter-spacing:-1px; font-weight:800; line-height:1; color:var(--text); margin-bottom:35px; }
.auth-wordmark > span { color:#f97316; }
.auth-wordmark > small { display:block; font-size:8px; letter-spacing:3px; color:var(--text-faint); margin-top:8px; }
.login-head .mark { width:45px; height:45px; display:grid; place-items:center; border-radius:12px; color:var(--accent); background:var(--accent-soft); margin-bottom:23px; }
.login-head h1 { color:var(--text); font-size:24px; font-weight:700; letter-spacing:-.3px; }
.login-head p { color:var(--text-muted); font-size:13px; margin:9px 0 0; line-height:1.6; }
.login-body { padding:26px 30px 28px; }
.login-body .field { margin-bottom:21px; }
.login-body input { min-height:45px; }
.login-body .btn-primary { min-height:43px; }
.login-foot { padding:0 30px 26px; color:var(--text-faint); font-size:11px; text-align:left; }
.code-input { letter-spacing:.35em; text-align:center; font-size:24px !important; font-family:var(--mono) !important; }
@media (max-width:480px) { .login-head { padding:27px 23px 0; } .login-body { padding:24px 23px; } .login-foot { padding:0 23px 24px; } .login-card { border-radius:17px; } }
