:root {
  --bg: #0f1420; --panel: #171e2e; --line: #2a3550; --text: #e7ecf5; --muted: #8e9bb5;
  --accent: #5fb33a; --accent-2: #74c94c; --danger: #e5604f;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(ellipse at top, #1d2b5a 0%, var(--bg) 60%);
  color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.box {
  width: 100%; max-width: 360px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 32px 28px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.logo {
  width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 12px;
  background: url("/static/icon.png") center/cover; image-rendering: pixelated;
}
h1 { margin: 0; font-size: 22px; }
.sub { margin: 4px 0 24px; color: var(--muted); }
form { text-align: left; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #0e1422; color: var(--text); font-size: 15px;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button {
  margin-top: 16px; width: 100%; padding: 11px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--accent); color: #0b1a05; font-weight: 600; font-size: 15px;
}
button:hover { background: var(--accent-2); }
.err { color: var(--danger); margin: 10px 0 0; font-size: 14px; }
