:root {
  --bg: #0f1117; --card: #1a1d27; --border: #2a2d3a;
  --accent: #0ea5e9; --text: #e2e8f0; --muted: #64748b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 32px; width: 100%; max-width: 360px;
}
h1 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
p { color: var(--muted); font-size: .85rem; margin-bottom: 28px; }
label { display: block; font-size: .75rem; letter-spacing: .08em;
         text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
input {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text); font-size: .95rem; margin-bottom: 16px; outline: none;
}
input:focus { border-color: var(--accent); }
button {
  width: 100%; padding: 12px; border-radius: 10px; border: none;
  background: var(--accent); color: #fff; font-size: .95rem;
  font-weight: 600; cursor: pointer; transition: opacity .15s;
}
button:hover { opacity: .85; }
.error {
  background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3);
  border-radius: 10px; padding: 10px 14px; color: #fca5a5;
  font-size: .82rem; margin-bottom: 16px;
}
