.auth-page { background:radial-gradient(1100px 520px at 85% -10%,#e8eeff 0%,transparent 60%),radial-gradient(900px 480px at 0% 110%,#f3f6ff 0%,transparent 55%),var(--canvas); height:100dvh; overflow:hidden; }
.auth-page .public-container { height:100dvh; min-height:0; overflow:hidden; padding-top:24px; padding-bottom:24px; }
.auth-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,400px); gap:0; align-items:stretch; width:100%; max-width:1080px; height:100%; min-height:0; margin:0 auto; }
.auth-panel { position:relative; display:flex; flex-direction:column; padding:42px 44px 36px; border-radius:20px 0 0 20px; background:linear-gradient(150deg,#18214f 0%,#2448c8 72%,#315efb 100%); color:#fff; overflow:hidden; }
.auth-panel:before { content:''; position:absolute; inset:0; background:radial-gradient(420px 260px at 110% -10%,rgba(255,255,255,.14) 0%,transparent 60%); pointer-events:none; }
.auth-panel .auth-brand { display:flex; align-items:center; gap:10px; color:#fff; font-size:19px; font-weight:800; text-decoration:none; }
.auth-panel .auth-brand img { width:min(280px,100%); height:auto; object-fit:contain; object-position:left center; display:block; filter:drop-shadow(0 2px 8px rgba(8,12,34,.35)); }
.auth-panel-body { position:relative; display:flex; flex-direction:column; justify-content:center; flex:1 1 auto; padding:36px 0 30px; }
.auth-panel-body h1 { margin:0 0 12px; color:#fff; font-size:34px; line-height:1.15; letter-spacing:-.035em; }
.auth-panel-body > p { max-width:400px; margin:0; color:#dbe4ff; font-size:16px; }
.auth-benefits { display:grid; gap:12px; margin:26px 0 0; padding:0; list-style:none; color:#eaf0ff; font-size:14px; }
.auth-benefits li { display:flex; gap:10px; align-items:flex-start; }
.auth-benefit-check { display:grid; place-items:center; width:22px; height:22px; flex:0 0 auto; border-radius:7px; background:rgba(255,255,255,.16); color:#fff; }
.auth-benefit-check svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.auth-panel-foot { position:relative; display:flex; flex-wrap:wrap; gap:8px; padding-top:26px; border-top:1px solid rgba(255,255,255,.18); }
.auth-panel-badge { padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.12); color:#eaf0ff; font-size:12px; font-weight:700; }
.auth-card { width:100%; max-width:400px; margin:0 auto; padding:32px 30px; border-radius:0 20px 20px 0; box-shadow:0 24px 60px rgb(16 24 40 / 16%); overflow-y:auto; }
.auth-card h1,.auth-card h2 { margin:0 0 5px; font-size:22px; }
.auth-card .form-actions { margin-top:24px; }
.auth-card .form-actions button { width:100%; }
.auth-links { margin:22px 0 0; padding-top:18px; border-top:1px solid var(--line); text-align:center; font-size:14px; display:flex; flex-wrap:wrap; gap:4px 18px; justify-content:center; }
.auth-links a { font-weight:700; }
.auth-links a:hover { color:var(--brand-dark); }
.auth-links span[aria-hidden="true"] { color:#98a2b3; }
.mfa-setup { display:flex; align-items:center; gap:24px; }
.mfa-qr { width:190px; height:190px; padding:10px; flex:0 0 auto; background:#fff; border:1px solid var(--line); border-radius:10px; }
.mfa-setup code { display:block; max-width:500px; overflow-wrap:anywhere; white-space:pre-wrap; }
@media (max-width:860px) {
  .auth-page,.auth-page .public-container { height:auto; overflow:visible; }
  .auth-page .public-container { min-height:100dvh; }
  .auth-layout { grid-template-columns:1fr; max-width:480px; height:auto; min-height:0; }
  .auth-panel { border-radius:16px; padding:28px 26px 22px; }
  .auth-panel-body { padding:20px 0 22px; }
  .auth-panel-body h1 { font-size:27px; }
  .auth-panel-body > p { font-size:15px; }
  .auth-benefits { margin-top:20px; }
  .auth-panel-foot { padding-top:18px; }
  .auth-card { border-radius:16px; margin-top:18px; overflow-y:visible; }
}
@media (max-width:760px) { .mfa-setup { align-items:flex-start; flex-direction:column; } }
