:root{
  --bg:#0b1220;
  --card:#ffffff;
  --muted:#64748b;
  --line:#e5e7eb;
  --text:#0f172a;
}

*{box-sizing:border-box}

body.auth{
  margin:0;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(56,189,248,.20), transparent 60%),
    radial-gradient(1000px 700px at 90% 20%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(800px 600px at 50% 100%, rgba(16,185,129,.12), transparent 60%),
    var(--bg);
}

.auth .shell{
  width:min(1100px, 100%);
  display:grid;
  grid-template-columns: 1fr 520px;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 1100px){
  .auth .shell{grid-template-columns:1fr;}
}

.auth .hero{
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  padding:18px;
  color:#e2e8f0;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}

.auth .brand{display:flex;gap:12px;align-items:center;}
.auth .brand img{height:44px;width:auto;display:block;border-radius:10px;}
.auth .brand .t{font-weight:950;font-size:18px;letter-spacing:-.02em;}
.auth .brand .s{color:rgba(226,232,240,.75);font-size:12px;margin-top:4px;}

.auth .hero h1{margin:18px 0 8px 0;font-size:28px;letter-spacing:-.03em;}
.auth .hero p{margin:0;color:rgba(226,232,240,.75);line-height:1.5;}

.auth .hero .bullets{margin-top:14px;display:grid;gap:10px;}
.auth .b{
  display:flex;gap:10px;align-items:flex-start;
  padding:12px;border-radius:16px;border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.auth .b i{margin-top:2px;color:#e2e8f0;}
.auth .b .bt{font-weight:900;}
.auth .b .bs{color:rgba(226,232,240,.75);font-size:12px;margin-top:4px;}

.auth .card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.auth .card h2{margin:0;font-size:18px;font-weight:950;}
.auth .sub{margin-top:6px;color:var(--muted);font-size:12px;}

.auth .msg{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
  border:1px solid;
}
.auth .msg.err{background:#fee2e2;border-color:#fecaca;color:#991b1b;}
.auth .msg.ok{background:#dcfce7;border-color:#bbf7d0;color:#166534;}

.auth .grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}
@media (max-width: 560px){
  .auth .grid{grid-template-columns:1fr;}
}

.auth .field{display:flex;flex-direction:column;gap:6px;}
.auth .label{font-size:12px;color:var(--muted);font-weight:800;}

.auth .input{
  display:flex;gap:10px;align-items:center;
  border:1px solid #d1d5db;border-radius:14px;
  padding:10px 12px;background:#fff;
}
.auth .input i{color:#64748b;}

.auth input{
  width:100%;
  border:0;outline:0;
  font-size:14px;
  background:transparent;
}
.auth .input:focus-within{
  border-color:#111827;
  box-shadow:0 0 0 4px rgba(17,24,39,.10);
}

.auth .btnrow{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.auth .btn{
  display:inline-flex;gap:10px;align-items:center;justify-content:center;
  padding:12px 14px;border-radius:16px;
  border:1px solid #111;background:#111;color:#fff;
  cursor:pointer;font-weight:900;
  margin-top:10px;
}
.auth .btn:hover{opacity:.92;}
.auth .btn.ghost{background:#fff;color:#111;border:1px solid #e5e7eb;}
.auth .btn.ghost:hover{background:#fafafa;}

.auth .row{
  margin-top:12px;
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
  font-size:13px;
}

.auth .link{color:#0f172a;text-decoration:none;font-weight:800;}
.auth .link:hover{text-decoration:underline;}
.auth .foot{margin-top:14px;color:var(--muted);font-size:12px;line-height:1.4;}