/* Shared tokens and resets for the BidBoard screens. */
:root {
  --bg: #0b1324;
  --panel: #131d35;
  --panel-2: #1b2745;
  --line: #2a385c;
  --text: #f5f3ee;
  --muted: #a3aec6;
  --accent: #f2b84b;
  --accent-ink: #1d1503;
  --ok: #4fd18b;
  --bad: #ff8f70;
  --warn: #ffd166;
  --info: #7cb7ff;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

.muted { color: var(--muted); }

button, input, select, textarea { font: inherit; color: inherit; }

button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 10px;
  padding: 0.6em 1em;
  min-height: 44px;
}
button:hover { border-color: var(--muted); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
button.danger { border-color: var(--bad); color: var(--bad); }
button.armed { background: var(--bad); color: #210800; border-color: var(--bad); font-weight: 700; }

input, select, textarea {
  background: #0e1730;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6em 0.75em;
  min-height: 44px;
  width: 100%;
}
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid var(--info); outline-offset: 1px; }

label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.25rem; }

.res-accepted { color: var(--ok); }
.res-rejected, .res-unparsed { color: var(--bad); }
.res-void { color: var(--muted); text-decoration: line-through; }
