/* ==========================================================================
   MediHub.africa — Design tokens
   Palette extracted from the live medihub.africa brand theme (Tailwind config):
   primary blue #00aeef scale · accent green #39b54a · neutral grey #4d4d4d
   Font: Inter (300–800)
   ========================================================================== */

:root {
  /* Primary — brand blue */
  --color-primary-50: #eefbfe;
  --color-primary-100: #d7f4fd;
  --color-primary-200: #aeeafd;
  --color-primary-300: #79ddfc;
  --color-primary-400: #3ecaf8;
  --color-primary-500: #00aeef; /* Brand Blue */
  --color-primary-600: #0095ce;
  --color-primary-700: #0077a5;
  --color-primary-800: #005b7f;
  --color-primary-900: #00425c;

  /* Accent — brand green (trust / success / in-stock) */
  --color-accent: #39b54a;
  --color-accent-dark: #2e9139;

  /* Neutral — brand grey */
  --color-neutral: #4d4d4d;
  --color-neutral-soft: #6f757b;

  /* Semantic */
  --color-background: #f6fafd;      /* clinical off-white with a blue whisper */
  --color-surface: #ffffff;
  --color-border: #e3ebf2;
  --color-border-strong: #cbd8e4;
  --color-text: #1c2733;
  --color-text-muted: #5b6b7a;
  --color-text-inverse: #ffffff;
  --color-success: var(--color-accent);
  --color-warning: #e8a400;
  --color-error: #d64545;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --line-height-tight: 1.2;
  --line-height-normal: 1.55;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows (soft, clinical — not heavy) */
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, 0.06);
  --shadow-md: 0 4px 16px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 42, 67, 0.12);

  /* Glassmorphism (site-wide, used tastefully per client request) */
  --glass-bg: rgba(255, 255, 255, 0.66);
  --glass-bg-strong: rgba(255, 255, 255, 0.82);
  --glass-bg-tint: rgba(238, 251, 254, 0.55);      /* primary-50 tint */
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-soft: rgba(0, 174, 239, 0.18);
  --glass-blur: 14px;
  --glass-blur-strong: 22px;
  --glass-shadow: 0 8px 32px rgba(0, 66, 92, 0.10);

  /* Layout */
  --container-max: 1200px;
  --header-height: 68px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --glass-blur: 0px;
    --glass-blur-strong: 0px;
  }
}
