:root {
  --bg: #0f1419;
  --panel: #161d24;
  --text: #e8edf2;
  --muted: #98a4b0;
  --bad: #ff5a4f;
  --accent: #4aa3ff;
  font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.box { width: min(400px, 100%); padding: 28px; border-radius: 10px; background: var(--panel); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
h1 { margin: 0 0 4px; font-size: 21px; }
.sub { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
input { padding: 9px 10px; border-radius: 6px; border: 1px solid #2c3742; background: #0d1217; color: var(--text); font-size: 15px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button { margin-top: 4px; padding: 10px; border: 0; border-radius: 6px; background: var(--accent); color: #04121f; font-weight: 700; font-size: 15px; cursor: pointer; }
.error { margin: 0; color: var(--bad); font-size: 14px; }
.note { margin: 18px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.button { display: inline-block; padding: 9px 16px; border-radius: 6px; background: var(--accent); color: #04121f; font-weight: 700; text-decoration: none; }
