:root{
  --brand:#2563eb;
  --brand-2:#1d4ed8;
  --surface:rgba(255,255,255,.9);
  --line:#dbe4f0;
  --ink:#0f172a;
  --ink-soft:#475569;
  --danger:#b91c1c;
  --shadow:0 30px 60px rgba(15,23,42,.22);
  --font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font:14px/1.5 var(--font);
  color:var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(37,99,235,.24), transparent 22%),
    radial-gradient(circle at 90% 0%, rgba(6,182,212,.18), transparent 20%),
    linear-gradient(135deg, #07111f 0%, #0c1630 40%, #0a2139 100%);
}
.auth-shell{
  min-height:100%;
  display:grid;
  grid-template-columns:minmax(360px, 520px) minmax(320px, 1fr);
}
.auth-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 28px;
}
.auth-card{
  width:min(100%, 440px);
  padding:28px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.35);
  background:var(--surface);
  backdrop-filter:blur(20px);
  box-shadow:var(--shadow);
}
.auth-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  color:var(--ink);
  font-weight:800;
}
.auth-brand-mark{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#2563eb,#06b6d4);
  color:#fff;font-weight:900;
  box-shadow:0 12px 26px rgba(37,99,235,.28);
}
.auth-kicker{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--ink-soft);
  margin-bottom:10px;
}
.auth-title{font-size:30px;line-height:1.15;margin:0 0 8px}
.auth-subtitle{margin:0 0 20px;color:var(--ink-soft)}
.auth-side{
  padding:40px;
  display:flex;
  align-items:center;
  color:#e5eefc;
}
.auth-side-inner{
  max-width:580px;
}
.auth-side h2{
  font-size:42px;
  line-height:1.05;
  margin:0 0 16px;
}
.auth-side p{
  color:#bfd2f2;
  max-width:620px;
  margin:0 0 20px;
}
.auth-list{
  display:grid;
  gap:12px;
  margin:24px 0 0;
}
.auth-list-item{
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}

label{
  display:block;
  margin-bottom:6px;
  font-weight:650;
}
input{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid #c9d7ea;
  background:#fff;
  color:var(--ink);
  font:inherit;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease;
}
input:focus{
  border-color:#8fb5ff;
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
button{
  width:100%;
  min-height:48px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg, var(--brand), #3b82f6);
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 16px 28px rgba(37,99,235,.26);
}
button:hover{background:linear-gradient(135deg, var(--brand-2), var(--brand))}
.stack{display:grid;gap:14px}
.err{
  padding:12px 14px;
  border-radius:14px;
  background:#fff1f2;
  border:1px solid #fecdd3;
  color:var(--danger);
}
.muted{color:var(--ink-soft)}
.otp-input{
  text-align:center;
  letter-spacing:.35em;
  font-size:22px;
  font-weight:800;
}
.auth-note{
  margin-top:16px;
  font-size:13px;
  color:var(--ink-soft);
}
.auth-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  color:var(--ink-soft);
  font-size:13px;
}
@media (max-width: 980px){
  .auth-shell{grid-template-columns:1fr}
  .auth-side{display:none}
}
