.auth-page{min-height:calc(100vh - var(--navbar-height));display:grid;place-items:center;padding:30px 16px;background:radial-gradient(circle at 15% 15%,rgba(14,165,233,.13),transparent 35%),radial-gradient(circle at 85% 15%,rgba(124,58,237,.11),transparent 38%),#050b14}
.auth-card{width:min(980px,100%);display:grid;grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr);overflow:hidden;border:1px solid var(--border);border-radius:18px;background:#08121f;box-shadow:0 28px 90px rgba(0,0,0,.42);animation:modalScale .34s ease both}
.auth-brand-panel{padding:42px;display:flex;flex-direction:column;justify-content:flex-end;min-height:520px;position:relative;overflow:hidden;background:linear-gradient(145deg,#0b2a49,#1b1438)}
.auth-brand-panel::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 35% 25%,rgba(56,189,248,.3),transparent 28%),linear-gradient(180deg,transparent,rgba(4,9,17,.75))}
.auth-brand-content{position:relative;z-index:1}
.auth-brand-logo{width:84px;height:84px;border-radius:22px;display:grid;place-items:center;background:rgba(5,13,24,.62);border:1px solid rgba(255,255,255,.14);margin-bottom:18px}
.auth-brand-logo svg{width:42px;height:42px;color:#67d4ff}
.auth-brand-panel h1{font-size:clamp(2.2rem,4vw,4rem);margin:0 0 10px}
.auth-brand-panel p{color:#c7d9ef;line-height:1.7;max-width:460px}
.auth-form-panel{padding:42px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.auth-form-panel h1{font-size:2rem;margin:8px 0 18px}
.auth-form{display:grid;gap:14px}
.auth-field{display:grid;gap:7px;min-width:0}
.auth-field label{font-size:.82rem;color:#c1d3e9;font-weight:800}
.auth-input-wrap{position:relative;min-width:0}
.auth-input-wrap svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:#7890aa;pointer-events:none}
.auth-input-wrap input{width:100%;min-width:0;padding:13px 45px 13px 42px;border:1px solid var(--border);border-radius:10px;background:#071321;color:#fff}
.auth-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);min-height:34px;border:0;background:transparent;color:#8fb1d3;font-weight:800;cursor:pointer}
.auth-row{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;color:var(--text-secondary);font-size:.86rem}
.auth-check{display:inline-flex;gap:8px;align-items:center}
.auth-submit{width:100%;min-height:46px}
.auth-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px;color:var(--text-muted)}
.auth-links a{color:#7dd3fc}
.auth-caps-warning{display:none;color:#fbbf24;font-size:.78rem}
.auth-caps-warning.visible{display:block}
.auth-security-note{margin-top:16px;padding:11px;border-radius:9px;background:#0c1b2e;color:#8fa7c1;font-size:.8rem;line-height:1.5}
.auth-card.admin-auth .auth-brand-panel{background:linear-gradient(145deg,#111827,#251737)}
.auth-card.admin-auth .auth-brand-logo svg{color:#c4b5fd}
@media(max-width:780px){.auth-page{padding:16px}.auth-card{grid-template-columns:1fr}.auth-brand-panel{min-height:160px;padding:24px;justify-content:flex-end}.auth-brand-logo{width:58px;height:58px;border-radius:15px;margin-bottom:9px}.auth-brand-logo svg{width:30px;height:30px}.auth-brand-panel h1{font-size:1.85rem}.auth-brand-panel p{font-size:.9rem;margin:0}.auth-form-panel{padding:26px 22px}.auth-form-panel h1{font-size:1.65rem}}
@media(max-width:420px){.auth-page{padding:10px}.auth-card{border-radius:14px}.auth-brand-panel{min-height:140px;padding:20px}.auth-form-panel{padding:22px 16px}.auth-row{align-items:flex-start}}
