/* The login and sign-up pages (login.html, register.html). Shmekla colours, as app.css. */
:root {
  --bg: #161616; --surface: #1c1b1c; --raised: #292829; --line: #333133;
  --text: #D7D9D9; --bright: #E7E7E7; --faint: #757575; --gold: #C9AB6E; --gold-muted: #AB9D81; --red: #dc3841;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg); color: var(--text); font: 16px/1.45 "Fira Sans", "Adwaita Sans", "Cantarell", system-ui, sans-serif;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
form {
  width: min(340px, 100%); background: var(--surface); border: 1px solid var(--raised); border-radius: 16px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
h1 { margin: 0; font-size: 26px; color: var(--bright); font-weight: 600; }
label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-muted); }
input {
  font: inherit; color: inherit; background: var(--raised); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; width: 100%;
}
input:focus { outline: none; border-color: var(--gold-muted); }
button {
  font: inherit; font-weight: 600; background: var(--gold); color: #161616; border: 0; border-radius: 10px;
  padding: 11px; cursor: pointer;
}
button:hover { background: #d6bb82; }
.message { color: var(--red); min-height: 1.4em; margin: 0; font-size: 14px; }
.hint { color: var(--faint); font-size: 13px; margin: -8px 0 0; }
.switch { color: var(--faint); font-size: 14px; text-align: center; margin: 4px 0 0; }
.switch a { color: var(--gold); }
#code { font-family: ui-monospace, "Fira Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
