:root {
  color-scheme: light dark;
  --bg: #f3f5f8;
  --panel: #fff;
  --ink: #1b2430;
  --muted: #5d6877;
  --line: #cfd6df;
  --accent: #0a6cd6;
  --error: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --panel: #1b2129;
    --ink: #e8ecf1;
    --muted: #a0abb8;
    --line: #38424e;
    --accent: #5aa5f5;
    --error: #f2857d;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
}
form {
  width: min(360px, 100%);
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
h1 { margin: 12px 0 4px; font-size: 20px; font-weight: 600; }
p { margin: 0 0 16px; color: var(--muted); }
.error { color: var(--error); }
label { display: block; margin-bottom: 4px; font-weight: 500; }
input, button {
  width: 100%;
  height: 38px;
  border-radius: 5px;
  font: inherit;
}
input {
  padding: 0 10px;
  margin-bottom: 14px;
  background: transparent;
  color: inherit;
  border: 1px solid var(--line);
}
button {
  border: 0;
  background: var(--accent);
  color: var(--panel);
  font-weight: 600;
  cursor: pointer;
}
