/* RSA Video portal — shared styles. Palette follows the RSA Dinner site. */
:root {
  --paper: #f5f7f4;
  --surface: #ffffff;
  --ink: #14212b;
  --muted: #5a6670;
  --line: #d6ddcf;
  --navy: #10233b;
  --evergreen: #1d5045;
  --evergreen-dark: #12352e;
  --gold: #bd8a35;
  --danger: #9d3434;
  --ok: #1d6b45;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
.site-header {
  background: var(--navy);
  color: #fff;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand .mark {
  background: var(--gold);
  color: var(--navy);
  font-weight: bold;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.brand .name { font-size: 1.05rem; font-weight: bold; }
.brand .sub { font-size: 0.78rem; color: #c9d3e0; }
.header-user { font-size: 0.85rem; color: #c9d3e0; display: flex; gap: 0.8rem; align-items: center; }
main { max-width: 60rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
h1 { font-family: Georgia, "Times New Roman", serif; color: var(--evergreen-dark); font-size: 1.6rem; margin: 1rem 0 0.4rem; }
h2 { font-family: Georgia, serif; color: var(--evergreen-dark); font-size: 1.15rem; margin: 1.6rem 0 0.5rem; }
p.lede { color: var(--muted); margin-top: 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
  margin: 1rem 0;
  box-shadow: 0 1px 3px rgba(16,35,59,0.07);
}
label { display: block; font-size: 0.85rem; font-weight: bold; margin: 0.7rem 0 0.25rem; }
input[type=text], input[type=email], input[type=number], textarea, select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--evergreen); outline-offset: 1px; }
.button {
  display: inline-block;
  background: var(--evergreen);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.6rem 1.2rem;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.9rem;
}
.button:hover { background: var(--evergreen-dark); }
.button.secondary { background: #fff; color: var(--evergreen-dark); border: 1px solid var(--evergreen); }
.button.danger { background: var(--danger); }
.button.small { padding: 0.3rem 0.7rem; font-size: 0.8rem; margin: 0; font-weight: normal; }
.button:disabled { opacity: 0.5; cursor: default; }
.linklike { background: none; border: none; color: var(--evergreen); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.notice { border-left: 4px solid var(--gold); background: #fdf8ee; padding: 0.7rem 0.9rem; border-radius: 4px; margin: 0.8rem 0; font-size: 0.9rem; }
.error-box { border-left: 4px solid var(--danger); background: #fbeeee; padding: 0.7rem 0.9rem; border-radius: 4px; margin: 0.8rem 0; font-size: 0.9rem; }
.success-box { border-left: 4px solid var(--ok); background: #eef7f0; padding: 0.9rem 1rem; border-radius: 4px; margin: 0.8rem 0; }
.muted { color: var(--muted); }
.small { font-size: 0.82rem; }
.hidden { display: none !important; }
.code-input { font-size: 1.6rem; letter-spacing: 0.5em; text-align: center; max-width: 14rem; }
table.data { border-collapse: collapse; width: 100%; font-size: 0.85rem; background: var(--surface); }
table.data th, table.data td { border-bottom: 1px solid var(--line); padding: 0.45rem 0.6rem; text-align: left; vertical-align: top; }
table.data thead th { background: #eef1ea; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; margin: 0.7rem 0; }
.pill { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: bold; }
.pill.complete, .pill.ready, .pill.sent, .pill.succeeded { background: #e2f1e6; color: var(--ok); }
.pill.uploading, .pill.queued, .pill.processing, .pill.running { background: #fdf3dd; color: #8a6414; }
.pill.failed, .pill.deleted, .pill.aborted { background: #f7dcdc; color: var(--danger); }
.pill.unprocessed, .pill.no_recipient { background: #e7ebf2; color: var(--navy); }
.pill.held { background: #f3dfb8; color: #6b4b0e; }
.tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; margin: 1rem 0 0.4rem; }
.tabs button {
  background: #fff; border: 1px solid var(--line); border-bottom: none;
  border-radius: 6px 6px 0 0; padding: 0.5rem 0.9rem; cursor: pointer;
  font: inherit; font-size: 0.88rem; color: var(--muted);
}
.tabs button.active { color: var(--evergreen-dark); font-weight: bold; border-color: var(--evergreen); background: var(--surface); }
.stat-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 0.8rem 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0.6rem 1rem; min-width: 8rem; }
.stat b { display: block; font-size: 1.4rem; color: var(--evergreen-dark); }
.stat span { font-size: 0.75rem; color: var(--muted); }
.stat.warn b { color: var(--danger); }
.footer { text-align: center; color: var(--muted); font-size: 0.78rem; padding: 2rem 0; }
.progress-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
@media (max-width: 640px) {
  main { padding: 1rem 0.7rem 3rem; }
  .card { padding: 0.9rem; }
}
