/* ============================================================
   theme.css — WHITELABEL THEME PALETTE
   ------------------------------------------------------------
   This is the single place to rebrand the platform per client.
   To create a client theme, override these :root variables in a
   per-client stylesheet loaded AFTER this file (or swap this file).
   Never hardcode brand hex values elsewhere — always reference
   these var(--*) tokens so a rebrand is one edit, not a sweep.
   ============================================================ */
:root{
  /* Brand / accent (client-overridable) */
  --navy:#071429; --navy2:#0a1d3a; --blue:#2563eb; --purple:#6d4dfc;
  --green:#19b26b; --teal:#12b8a6;

  /* Fixed semantic colors (keep constant for meaning across all clients) */
  --red:#ef4444; --orange:#f59e0b;

  /* Neutrals / surfaces */
  --muted:#667085; --text:#101828; --line:#e6e9f0; --bg:#f7f9fc; --card:#fff;
  --shadow:0 8px 24px rgba(16,24,40,.07);

  /* Appointment palette (server/lib/scheduling.js APPT_PALETTE). Tinted-badge style:
     light ground, thin same-hue border, dark text - so a week full of blocks stays
     readable at a glance and no single colour shouts over the brand accent. Keys are
     stored on the appointment type/provider; nothing stores a hex. */
  --ap-sky-bg:#e0f2fe;     --ap-sky-bd:#7dd3fc;     --ap-sky-fg:#075985;
  --ap-violet-bg:#ede9fe;  --ap-violet-bd:#c4b5fd;  --ap-violet-fg:#5b21b6;
  --ap-emerald-bg:#d1fae5; --ap-emerald-bd:#6ee7b7; --ap-emerald-fg:#065f46;
  --ap-amber-bg:#fef3c7;   --ap-amber-bd:#fcd34d;   --ap-amber-fg:#92400e;
  --ap-rose-bg:#ffe4e6;    --ap-rose-bd:#fda4af;    --ap-rose-fg:#9f1239;
  --ap-teal-bg:#ccfbf1;    --ap-teal-bd:#5eead4;    --ap-teal-fg:#115e59;
  --ap-indigo-bg:#e0e7ff;  --ap-indigo-bd:#a5b4fc;  --ap-indigo-fg:#3730a3;
  --ap-slate-bg:#e9edf3;   --ap-slate-bd:#cbd5e1;   --ap-slate-fg:#334155;
  /* Everything outside the practice's own hours, and the two rules the grid
     draws itself with (slot line, then the heavier one on the hour). */
  --ap-closed:#f1f4f8; --ap-line:#eef1f6; --ap-hourline:#dde3ec;
}
