/* menuboard admin — minimal, server-rendered. Same brand palette as the TV. */

:root {
  --bg: #0f0d0b;
  --bg-alt: #1a1714;
  --surface: #242019;
  --text: #e8e0d4;
  --muted: #a89e8f;
  --accent: #8b3a3a;
  --gold: #c4a96a;
  --cream: #f5efe6;
  --danger: #c74545;
  --success: #5e8e6a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  background: var(--bg-alt);
  border-bottom: 1px solid rgba(196,169,106,0.15);
}
.top__brand a {
  font-family: var(--font-serif);
  font-weight: 600; font-size: 22px;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.top__user { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.logout-form { display: inline; }
button.link {
  background: none; border: 0; color: var(--gold); font: inherit;
  cursor: pointer; padding: 0; text-decoration: underline;
}

.main {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 24px;
}

h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--cream);
}
.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.flash {
  max-width: 720px;
  margin: 16px auto;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 14px;
  background: var(--surface);
  border-left: 3px solid var(--gold);
}
.flash--error   { border-left-color: var(--danger); }
.flash--success { border-left-color: var(--success); }
.flash--info    { border-left-color: var(--gold); }

form.card, .card {
  background: var(--surface);
  padding: 32px;
  border-radius: 6px;
  border: 1px solid rgba(196,169,106,0.1);
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 24px;
}

label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
label span { letter-spacing: 0.05em; text-transform: uppercase; font-size: 11px; }

input[type=email],
input[type=password],
input[type=text] {
  background: var(--bg);
  border: 1px solid rgba(196,169,106,0.25);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 15px;
}
input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }

button.primary {
  background: var(--accent);
  color: var(--cream);
  border: 0;
  padding: 12px 16px;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.03em;
}
button.primary:hover { background: #a44545; }
button.primary:disabled { opacity: 0.5; cursor: not-allowed; }

.list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.list__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid rgba(196,169,106,0.1);
  border-radius: 4px;
}
.list__item__name { font-family: var(--font-serif); font-size: 18px; color: var(--cream); }
.list__item__meta { color: var(--muted); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }

.help { color: var(--muted); font-size: 13px; line-height: 1.5; }
.help code { background: var(--bg); padding: 1px 6px; border-radius: 3px; font-size: 12px; }

footer.empty { color: var(--muted); padding: 24px; text-align: center; }
