/* Teamsters Local 560 — Office Panel & Verify page (Phase 2)
   Visual language matches the approved digital member card:
   near-black background, gold #c9a227 / #F7C00B accents, white text. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --gold: #c9a227;
  --gold-bright: #F7C00B;
  --gold-grad: linear-gradient(180deg, #ffe066, #c9a227);
  --bg: #060607;
  --panel: #101012;
  --panel-2: #17171a;
  --line: rgba(201, 162, 39, .35);
  --text-dim: #b9b9b9;
  --green: #1f9d55;
  --red: #d33;
  --amber: #e8a13a;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: #fff;
  font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
}
a { color: var(--gold-bright); }
.hidden { display: none !important; }

/* ---------- shared chrome ---------- */
.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #101012, #060607);
  position: sticky; top: 0; z-index: 20;
}
.topbar .brand-t1 { font-size: 17px; font-weight: 800; letter-spacing: .06em; }
.topbar .brand-t2 { font-size: 17px; font-weight: 800; letter-spacing: .06em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topbar .who { margin-left: auto; font-size: 12.5px; color: var(--text-dim); text-align: right; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 18px 14px 48px; }

.card {
  background: linear-gradient(160deg, var(--panel), #060607 65%);
  border: 1.5px solid var(--gold); border-radius: 18px;
  box-shadow: 0 0 22px rgba(201, 162, 39, .18);
  padding: 20px;
}
h1 { font-size: 22px; letter-spacing: .04em; }
h2 { font-size: 17px; letter-spacing: .04em; margin-bottom: 10px; }
h3 { font-size: 14.5px; letter-spacing: .04em; margin: 14px 0 8px; }
.sub { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 16px 0; }

/* ---------- forms & buttons ---------- */
label { display: block; font-size: 11px; letter-spacing: .18em; color: #d8b93a; margin: 12px 0 5px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; font-size: 15px;
  border: 1px solid var(--line); background: var(--panel-2); color: #fff;
}
textarea { min-height: 110px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.btn {
  display: inline-block; border: 1px solid var(--gold); cursor: pointer;
  background: transparent; color: var(--gold-bright); font-weight: 700;
  padding: 10px 16px; border-radius: 10px; font-size: 14px; margin: 6px 6px 0 0;
}
.btn:hover { background: rgba(201, 162, 39, .12); }
.btn.gold { background: var(--gold-grad); color: #111; border: none; }
.btn.danger { border-color: var(--red); color: #ff8a8a; }
.btn.small { padding: 6px 11px; font-size: 12.5px; }
.btn:disabled { opacity: .45; cursor: default; }
.msg { margin-top: 12px; font-size: 13.5px; min-height: 18px; }
.msg.err { color: #ff8a8a; }
.msg.ok { color: #7be495; }
.checkline { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: 13.5px; }
.checkline input { width: auto; margin-top: 2px; }

/* ---------- nav tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.tabs button {
  border: 1px solid var(--line); background: var(--panel-2); color: #fff;
  padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.tabs button.on { background: var(--gold-grad); color: #111; border-color: transparent; }
.badge-n {
  display: inline-block; min-width: 20px; text-align: center; padding: 1px 6px;
  background: var(--red); color: #fff; border-radius: 999px; font-size: 11.5px; margin-left: 6px;
}

/* ---------- tables & lists ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 10.5px; letter-spacing: .18em; color: #d8b93a; padding: 8px 8px; border-bottom: 1px solid var(--line); }
td { padding: 9px 8px; border-bottom: 1px solid rgba(201, 162, 39, .15); vertical-align: top; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: rgba(201, 162, 39, .07); }
.pill { display: inline-block; font-weight: 800; font-size: 11px; letter-spacing: .06em; padding: 4px 11px; border-radius: 999px; }
.pill.active { background: var(--gold-grad); color: #111; }
.pill.inactive { background: #3a3a3f; color: #cfcfcf; }
.pill.urgent { background: var(--red); color: #fff; }
.kv { font-size: 14px; }
.kv b { color: #d8b93a; font-weight: 700; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }
.searchbar { display: flex; gap: 10px; flex-wrap: wrap; }
.searchbar input { flex: 1 1 220px; }
.searchbar select { flex: 0 1 170px; }
.listbox { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; background: rgba(255,255,255,.02); }
.listbox ul { margin: 6px 0 0 18px; font-size: 13.5px; }
.diff-from { color: #ff8a8a; text-decoration: line-through; }
.diff-to { color: #7be495; }

/* ---------- attendance & scanner ---------- */
.bignum { font-size: 44px; font-weight: 900; color: var(--gold-bright); line-height: 1; }
.scan-video { width: 100%; max-width: 520px; border-radius: 14px; border: 1.5px solid var(--gold); background: #000; }
.scan-result { border-radius: 16px; padding: 22px; text-align: center; margin-top: 16px; }
.scan-result .big { font-size: 26px; font-weight: 900; letter-spacing: .03em; }
.scan-result .detail { font-size: 15px; margin-top: 6px; }
.scan-result.green { background: #0d3520; border: 2px solid var(--green); }
.scan-result.red { background: #3d1010; border: 2px solid var(--red); }
.scan-result.amber { background: #3a2a08; border: 2px solid var(--amber); }

/* ---------- verify page ---------- */
.verify-wrap { display: flex; justify-content: center; padding: 30px 14px 44px; }
.verify-card { width: 100%; max-width: 430px; }
.badge-line { display: flex; align-items: center; gap: 12px; background: rgba(201,162,39,.10);
  border: 1px solid rgba(201,162,39,.55); border-radius: 14px; padding: 13px 16px; }
.badge-line .ck { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
  background: var(--gold-grad); color: #111; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; }
.badge-line.bad .ck { background: var(--red); color: #fff; }
.badge-line .bt { font-size: 17px; font-weight: 800; letter-spacing: .08em; }
.badge-line .bs { font-size: 11.5px; color: #cfcfcf; margin-top: 2px; }
.vname { font-size: 27px; font-weight: 800; margin: 20px 0 4px; }
.vrow { padding: 11px 0; border-bottom: 1px solid var(--line); }
.vrow:last-of-type { border-bottom: none; }
.vlab { font-size: 10.5px; letter-spacing: .22em; color: #d8b93a; }
.vval { font-size: 18px; font-weight: 700; margin-top: 3px; }
.vfoot { margin-top: 18px; text-align: center; font-size: 11px; color: #9a9a9a; line-height: 1.55; }
.vfoot .dmc { color: #e8e8e8; letter-spacing: .24em; font-size: 10.5px; }
