:root{
  --brand:#3b82f6;           /* accent to match sign-up look */
  --brand-hover:#2563eb;
  --bg:#0b0f14;
  --bg-radial: radial-gradient(1200px 800px at 100% -100px,#122033 0%,transparent 60%);
  --card:#111826;
  --muted:#9aa4b2;
  --text:#e6edf3;
  --danger:#ef4444;
  --ok:#10b981;
  --border:#1f2a37;
  --input:#0f1722;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius:16px;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg-radial), var(--bg);
  color: var(--text);
}

header, main{ max-width: 960px; margin: 0 auto; padding: 16px; }

header{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}

.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; }
.brand .logo{
  width:36px; height:36px; border-radius:50%;
  background:linear-gradient(135deg,var(--brand),#7c3aed);
  display:grid; place-items:center; font-weight:700; color:#fff;
  box-shadow: var(--shadow);
}

.pill{
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px;
  background:#0f1626; color:#cfe1ff; font-size:14px; border:1px solid #1d2942;
}
.pill .dot{ width:8px; height:8px; border-radius:50%; background:#52d17d; }
.pill.danger{ background:#2b1120; color:#ffd6de; border-color:#4c1a2e; }

.btn{
  appearance:none; border:1px solid var(--border); border-radius:10px; padding:12px 14px;
  font-weight:600; cursor:pointer; background:var(--brand); color:#fff;
  transition:transform .06s ease, filter .2s ease, background .2s ease, opacity .2s ease;
  text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px;
}
.btn:hover{ background:var(--brand-hover); }
.btn:active{ transform: translateY(1px); }
.btn.small{ padding:6px 10px; font-size:14px; border-radius:8px; }
.btn.danger{ background:#b00020; border-color:#4c1a2e; }
.btn.subtle{ background:transparent; color:var(--muted); }
.btn.subtle:hover{ background:rgba(255,255,255,.05); color:var(--text); }
.btn.outline{ background:transparent; color:var(--text); }
.btn.outline:hover{ background:rgba(255,255,255,.05); }

.row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }

.card{
  background: var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; margin-top:16px; box-shadow: var(--shadow);
}

label{ display:block; font-size:14px; color: var(--muted); margin-bottom:6px; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], .input, .in, textarea, select{
  width:100%; background:var(--input); color:var(--text); border:1px solid var(--border);
  padding:12px; border-radius:10px; outline:none;
}
.in:focus, .input:focus, input:focus, textarea:focus, select:focus{
  border-color: var(--brand); box-shadow:0 0 0 3px rgba(59,130,246,.15);
}

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:640px){ .grid-2{ grid-template-columns: 1fr; } }

h1{ margin:6px 0 14px; font-size:22px; font-weight:700; }
h2{ margin:20px 0 14px; font-size:18px; font-weight:600; color:var(--text); }
p.muted{ margin:0 0 14px; color:var(--muted); font-size:14px; }

.banner{
  border-radius:10px; padding:12px; font-size:14px; margin:0 0 14px; border:1px solid; display:none;
}
.banner.ok{ background:rgba(16,185,129,.12); border-color:rgba(16,185,129,.35); color:#b5f3d9; }
.banner.err{ background:rgba(239,68,68,.12); border-color:rgba(239,68,68,.35); color:#ffc9c9; }

footer{ opacity:.7; font-size:13px; margin:24px 0; text-align:center; color:var(--muted); }
