:root { --ink:#111827; --muted:#697386; --brand:#5b5ce2; --brand2:#7c3aed; --line:#e5e7ef; --soft:#f7f7fb; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--ink); background:#fff; font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
.auth-shell { min-height:100vh; display:grid; grid-template-columns:minmax(420px,.88fr) minmax(520px,1.12fr); }
.auth-brand-panel { position:relative; min-height:100vh; display:flex; flex-direction:column; justify-content:space-between; padding:46px clamp(38px,5vw,76px); overflow:hidden; color:#fff; background:radial-gradient(circle at 20% 10%,rgba(139,92,246,.35),transparent 33%),radial-gradient(circle at 86% 80%,rgba(91,92,226,.23),transparent 34%),linear-gradient(145deg,#14152a,#24264d); }
.auth-brand-panel::before,.auth-brand-panel::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.07); border-radius:50%; pointer-events:none; }
.auth-brand-panel::before { width:420px; height:420px; right:-220px; top:12%; }
.auth-brand-panel::after { width:560px; height:560px; left:-360px; bottom:-250px; }
.auth-brand { position:relative; z-index:2; display:inline-flex; width:max-content; align-items:center; gap:11px; text-decoration:none; font-size:18px; }
.auth-brand-mark { width:39px; height:39px; display:grid; place-items:center; border-radius:12px; color:#fff; background:linear-gradient(135deg,var(--brand),var(--brand2)); box-shadow:0 10px 30px rgba(91,92,226,.34); }
.auth-pitch { position:relative; z-index:2; max-width:510px; margin:70px 0; }
.auth-kicker { color:#b7b9ff; text-transform:uppercase; letter-spacing:1.4px; font-size:11px; font-weight:800; }
.auth-pitch h1 { margin:14px 0 18px; font-size:clamp(42px,4.5vw,68px); line-height:1.01; letter-spacing:-3px; }
.auth-pitch > p { margin:0; color:rgba(255,255,255,.66); font-size:15px; line-height:1.75; }
.auth-benefits { display:grid; gap:16px; margin-top:35px; }
.auth-benefits > div { display:flex; gap:13px; align-items:center; }
.auth-benefits > div > span { width:39px; height:39px; flex:0 0 auto; display:grid; place-items:center; border:1px solid rgba(255,255,255,.12); border-radius:12px; color:#d7d8ff; background:rgba(255,255,255,.06); }
.auth-benefits p { display:flex; flex-direction:column; margin:0; }
.auth-benefits strong { font-size:12px; }
.auth-benefits small { margin-top:2px; color:rgba(255,255,255,.5); font-size:10px; }
.back-home { position:relative; z-index:2; width:max-content; color:rgba(255,255,255,.65); text-decoration:none; font-size:11px; font-weight:650; }
.back-home i { margin-right:6px; }
.auth-form-panel { display:grid; place-items:center; padding:50px 28px; background:linear-gradient(180deg,#fff,#fbfbfe); }
.auth-form-wrap { width:min(100%,440px); }
.mobile-brand { display:none; margin-bottom:35px; }
.mobile-brand .auth-brand { color:var(--ink); }
.auth-heading { margin-bottom:26px; }
.auth-heading span { display:block; margin-bottom:8px; color:var(--brand); text-transform:uppercase; letter-spacing:1.2px; font-size:10px; font-weight:800; }
.auth-heading h2 { margin:0 0 8px; font-size:32px; letter-spacing:-1.2px; }
.auth-heading p { margin:0; color:var(--muted); font-size:13px; line-height:1.65; }
.form-group { margin-bottom:17px; }
.form-group label { display:block; margin-bottom:7px; color:#30364a; font-size:12px; font-weight:700; }
.input-wrap { position:relative; }
.input-wrap i { position:absolute; top:50%; left:14px; transform:translateY(-50%); color:#9ba2b2; font-size:12px; }
.form-control { width:100%; height:47px; border:1px solid #dfe1e9; border-radius:11px; outline:0; background:#fff; padding:0 14px 0 40px; color:#1f2937; font-size:13px; transition:.2s; }
.form-control:focus { border-color:rgba(91,92,226,.65); box-shadow:0 0 0 4px rgba(91,92,226,.08); }
.field-help { display:block; margin-top:6px; color:#98a2b3; font-size:10px; }
.invalid-feedback { display:block; margin-top:5px; color:#dc2626; font-size:10px; }
.form-control.is-invalid { border-color:#ef4444; }
.auth-options { display:flex; justify-content:space-between; align-items:center; gap:14px; margin:4px 0 20px; }
.remember { display:flex; align-items:center; gap:7px; color:#667085; font-size:11px; }
.remember input { accent-color:var(--brand); }
.primary-submit { width:100%; min-height:48px; border:0; border-radius:11px; color:#fff; background:linear-gradient(135deg,var(--brand),var(--brand2)); box-shadow:0 12px 28px rgba(91,92,226,.22); cursor:pointer; font-weight:750; transition:.2s; }
.primary-submit:hover { transform:translateY(-1px); box-shadow:0 15px 32px rgba(91,92,226,.28); }
.switch-auth { margin:22px 0 0; color:#7b8495; text-align:center; font-size:11px; }
.switch-auth a { color:var(--brand); font-weight:750; text-decoration:none; }
.alert { margin-bottom:18px; padding:12px 14px; border-radius:10px; font-size:11px; line-height:1.55; }
.alert-danger { color:#991b1b; border:1px solid #fecaca; background:#fef2f2; }
.alert ul { margin:0; padding-left:18px; }
.auth-note { margin-top:20px; padding-top:17px; border-top:1px solid #ececf2; color:#9aa2b1; font-size:9px; text-align:center; line-height:1.6; }
@media (max-width:900px) { .auth-shell { grid-template-columns:1fr; } .auth-brand-panel { display:none; } .auth-form-panel { min-height:100vh; padding:38px 20px; } .mobile-brand { display:block; } }
@media (max-width:480px) { .auth-form-panel { align-items:start; padding-top:25px; } .auth-heading h2 { font-size:28px; } .auth-form-wrap { width:100%; } }
