/*
 * CSS Design Tokens — Portal Aleși Locali v2
 * Single source of truth for colors, fonts, spacing, shadows.
 */

:root {
  /* ── Colors ─────────────────────────────────── */
  --bg:        #0b1229;
  --bg-alt:    #0b1020;
  --card:      #0f1632;
  --panel:     #121832;
  --muted:     #8ea0c3;
  --text:      #e8eeff;
  --line:      #223058;
  --border:    #223058;
  --btn:       #1f2c59;
  --btn2:      #121c3d;
  --accent:    #2b3e78;
  --primary:   #4c7dff;
  --primary-hover: #3a6ae8;

  /* Status colors */
  --success:   #36d2a3;
  --success-bg: #0f3d28;
  --success-text: #bff7d1;
  --warning:   #ffc107;
  --warning-bg: #3a320e;
  --warning-text: #ffeaa1;
  --danger:    #ff6b6b;
  --danger-bg: #422013;
  --danger-text: #ffc9c0;
  --info:      #5ea1ff;
  --info-bg:   #0f2040;
  --info-text: #b0d4ff;

  /* ── Typography ─────────────────────────────── */
  --font-family: 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs:   11px;
  --font-size-sm:   12px;
  --font-size-base: 14px;
  --font-size-md:   15px;
  --font-size-lg:   18px;
  --font-size-xl:   20px;
  --font-size-2xl:  24px;
  --font-size-3xl:  28px;

  /* ── Spacing ────────────────────────────────── */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  12px;
  --space-lg:  16px;
  --space-xl:  20px;
  --space-2xl: 24px;
  --space-3xl: 32px;

  /* ── Border radius ──────────────────────────── */
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full: 999px;

  /* ── Shadows ────────────────────────────────── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.2);
  --shadow-md:  0 4px 12px rgba(0,0,0,.25);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.3);
  --shadow-xl:  0 12px 36px rgba(0,0,0,.4);

  /* ── Layout ─────────────────────────────────── */
  --max-width:  1200px;
  --header-h:   64px;

  /* ── Z-index scale ──────────────────────────── */
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   500;
  --z-modal:     1000;
  --z-toast:     2000;
}
