/* ============================================================================
   MEDOVA BRAND KIT  ·  THEME FILE
   ----------------------------------------------------------------------------
   Easiest way: change the theme, fonts, corners and your own colors in the
   admin panel (/admin/ → Branding & Theme). This file holds the ready-made
   themes those settings switch between.

   What each color is used for:
     --paper        page background
     --surface      cards, forms, white sections
     --sunk         soft tinted panels and icon backgrounds
     --ink          headings and main text
     --ink-2        paragraph text
     --ink-3        small labels and captions
     --line         thin dividers
     --line-2       stronger dividers and input borders
     --brand        main brand color: buttons, links, icons
     --brand-hover  button hover color
     --brand-soft   light tint of the brand color
     --deep, --deep-2, --deep-3   dark navy sections (gradient)
     --signal       highlight color used on dark sections and charts
     --signal-2     second chart color
     --accent       small warm accent (status dots, "in review")
     --focus        keyboard focus ring
   ========================================================================== */

/* ---------- Theme 1: Medical Blue (default, matched to the Medova Pulse logo) ---------- */
:root,
[data-palette="medical-blue"] {
  --paper: #F3F8FE;
  --surface: #FFFFFF;
  --sunk: #E6F1FC;
  --ink: #081A36;
  --ink-2: #384D6B;
  --ink-3: #56667F;
  --line: #D4E2F0;
  --line-2: #B1C5DC;
  --brand: #0068D1;
  --brand-hover: #0055AD;
  --brand-soft: #E0EEFE;
  --deep: #021938;
  --deep-2: #06264F;
  --deep-3: #0A4A8C;
  --signal: #2EC5FF;
  --signal-2: #4FD1C5;
  --accent: #F4B740;
  --focus: #B45309;
}

/* ---------- Theme 2: Navy Executive ---------- */
[data-palette="navy-executive"] {
  --paper: #F5F7FA;
  --surface: #FFFFFF;
  --sunk: #E9EEF5;
  --ink: #0A1628;
  --ink-2: #3B4A60;
  --ink-3: #57657A;
  --line: #D8DFE8;
  --line-2: #B7C3D3;
  --brand: #0C2D5B;
  --brand-hover: #163F7A;
  --brand-soft: #E3EAF4;
  --deep: #061328;
  --deep-2: #0A2040;
  --deep-3: #173A6B;
  --signal: #8CC4FF;
  --signal-2: #9FB8D8;
  --accent: #D9A441;
  --focus: #A16207;
}

/* ---------- Theme 3: Sky Light ---------- */
[data-palette="sky-light"] {
  --paper: #F3F9FE;
  --surface: #FFFFFF;
  --sunk: #E2F1FC;
  --ink: #0C2236;
  --ink-2: #39566F;
  --ink-3: #536C82;
  --line: #D3E5F3;
  --line-2: #AECBE2;
  --brand: #0872B3;
  --brand-hover: #065C92;
  --brand-soft: #DDEFFB;
  --deep: #0A3352;
  --deep-2: #0D4269;
  --deep-3: #1268A0;
  --signal: #7DD3FC;
  --signal-2: #A5F3FC;
  --accent: #FBBF24;
  --focus: #B45309;
}

/* ---------- Theme 4: Teal Care ---------- */
[data-palette="teal-care"] {
  --paper: #F3F8F8;
  --surface: #FFFFFF;
  --sunk: #E3F0EF;
  --ink: #0A1F24;
  --ink-2: #36525A;
  --ink-3: #536A70;
  --line: #D2E2E2;
  --line-2: #AFC7C8;
  --brand: #0E6F78;
  --brand-hover: #0A5960;
  --brand-soft: #DCF0F0;
  --deep: #06252B;
  --deep-2: #0A3640;
  --deep-3: #11555F;
  --signal: #5EEAD4;
  --signal-2: #7CC4FF;
  --accent: #F5A524;
  --focus: #B45309;
}

/* ---------- Custom colors (set in admin → Branding & Theme) ----------
   The six main colors come from the admin panel; the rest are mixed from them. */
[data-palette="custom"] {
  --surface: #FFFFFF;
  --brand-hover: color-mix(in srgb, var(--brand), black 18%);
  --brand-soft: color-mix(in srgb, var(--brand) 12%, white);
  --sunk: color-mix(in srgb, var(--brand) 7%, var(--paper));
  --ink-2: color-mix(in srgb, var(--ink) 78%, var(--paper));
  --ink-3: color-mix(in srgb, var(--ink) 66%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 13%, var(--paper));
  --line-2: color-mix(in srgb, var(--ink) 26%, var(--paper));
  --deep-2: color-mix(in srgb, var(--deep), white 6%);
  --deep-3: color-mix(in srgb, var(--deep), var(--brand) 40%);
  --signal-2: color-mix(in srgb, var(--signal), white 30%);
  --focus: #B45309;
}

/* ============================================================================
   FONT PAIRINGS  (the matching Google Fonts are loaded automatically)
   ========================================================================== */
:root,
[data-fonts="modern"] {
  --font-display: "Sora", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 600;
  --display-tracking: -0.03em;
  --em-style: normal;
}
[data-fonts="executive"] {
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.022em;
  --em-style: italic;
  --type-scale: 1.12;   /* serif headings read smaller, so scale them up */
}
[data-fonts="clean"] {
  --font-display: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --em-style: normal;
}

[data-fonts="friendly"] {
  --font-display: "Figtree", "Segoe UI", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 700;
  --display-tracking: -0.025em;
  --em-style: normal;
}
[data-fonts="classic"] {
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 600;
  --display-tracking: -0.02em;
  --em-style: italic;
  --type-scale: 1.05;
}

/* ============================================================================
   SHAPE & SPACING  (optional tweaks)
   ========================================================================== */
:root {
  --radius: 8px;          /* buttons and inputs */
  --radius-lg: 16px;      /* cards and panels   */
  --container: 1240px;    /* max page width     */
}
