:root {
  --bg:#0f1115; --panel:#171a21; --panel2:#1e2230; --border:#2a2f3d;
  --text:#e6e8ef; --muted:#8a93a6; --accent:#25d366; --danger:#ef4444;
}
* { box-sizing:border-box; }
html,body { margin:0; background:var(--bg); color:var(--text); font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; }
.auth-body { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:20px; }
.auth-card { background:var(--panel); border:1px solid var(--border); border-radius:12px; padding:28px; width:100%; max-width:400px; box-shadow:0 6px 40px rgba(0,0,0,.35); }
.auth-card h1 { margin:0 0 4px; font-size:20px; }
.auth-card p { margin:0 0 18px; }
.auth-card .muted { color:var(--muted); }
.auth-card .small { font-size:12px; }
.auth-card a { color:var(--accent); text-decoration:none; }
.auth-card a:hover { text-decoration:underline; }
.auth-card label { display:block; margin-bottom:14px; font-size:12px; color:var(--muted); }
.auth-card input {
  display:block; width:100%; margin-top:6px;
  background:var(--panel2); color:var(--text); border:1px solid var(--border);
  border-radius:8px; padding:10px 12px; font:inherit;
}
.auth-card input:focus { outline:none; border-color:var(--accent); }
.auth-card button { width:100%; padding:10px 14px; border-radius:8px; border:1px solid var(--border); font:inherit; font-weight:600; cursor:pointer; background:var(--panel2); color:var(--text); }
.auth-card button.primary { background:var(--accent); color:#0a1f13; border-color:var(--accent); }
.auth-card button.primary:hover { filter:brightness(1.08); }
.auth-card button:disabled { opacity:.5; cursor:not-allowed; }
.err { background:rgba(239,68,68,.12); color:#fecaca; border:1px solid rgba(239,68,68,.3); padding:10px 12px; border-radius:8px; margin-top:12px; font-size:13px; }
.hidden { display:none !important; }
