/* ============================================================
   SUPERIOR PANEL — Design System Tokens
   Premium dark cyan theme inspired by Superior Software
   ============================================================ */

:root {
  /* ── Core Colors ── */
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1629;
  --bg-tertiary: #141d35;
  --bg-elevated: #1a2342;
  --bg-input: #0d1220;

  /* ── Brand Colors ── */
  --accent: #00d4ff;
  --accent-hover: #00b8d9;
  --accent-dark: #0088aa;
  --accent-light: #33dfff;
  --accent-rgb: 0, 212, 255;

  /* ── Semantic Colors ── */
  --success: #00ff88;
  --success-rgb: 0, 255, 136;
  --danger: #ff3366;
  --danger-rgb: 255, 51, 102;
  --warning: #ffaa00;
  --warning-rgb: 255, 170, 0;
  --info: #6366f1;
  --info-rgb: 99, 102, 241;

  /* ── Text Colors ── */
  --text-primary: #ffffff;
  --text-secondary: #8892a4;
  --text-muted: #5a6478;
  --text-accent: var(--accent);

  /* ── Border & Surface ── */
  --border-color: rgba(0, 212, 255, 0.1);
  --border-hover: rgba(0, 212, 255, 0.25);
  --border-active: rgba(0, 212, 255, 0.4);
  --surface-glass: rgba(15, 22, 41, 0.8);
  --surface-overlay: rgba(10, 14, 26, 0.85);

  /* ── Shadows & Glow ── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --glow: 0 0 20px rgba(var(--accent-rgb), 0.3);
  --glow-strong: 0 0 40px rgba(var(--accent-rgb), 0.4);
  --glow-subtle: 0 0 10px rgba(var(--accent-rgb), 0.15);
  --glow-success: 0 0 20px rgba(var(--success-rgb), 0.3);
  --glow-danger: 0 0 20px rgba(var(--danger-rgb), 0.3);

  /* ── Typography ── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 2rem;       /* 32px */
  --text-4xl: 2.5rem;     /* 40px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* ── Spacing ── */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* ── Border Radius ── */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-pill: 50px;
  --radius-full: 50%;

  /* ── Transitions ── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
  --duration-slower: 0.8s;
  --transition: all var(--duration-normal) var(--ease);
  --transition-fast: all var(--duration-fast) var(--ease);

  /* ── Z-Index Scale ── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 300;
  --z-sidebar: 400;
  --z-modal-backdrop: 500;
  --z-modal: 600;
  --z-tooltip: 700;
  --z-toast: 800;
  --z-banner: 900;

  /* ── Layout ── */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
  --sidebar-width: 260px;
  --sidebar-collapsed: 70px;
  --navbar-height: 64px;
  --banner-height: 40px;
}

/* ── Breakpoints (reference only — use in media queries) ──
   Mobile:  max-width: 480px
   Tablet:  max-width: 768px
   Laptop:  max-width: 1024px
   Desktop: max-width: 1440px
   Wide:    min-width: 1441px
   ── */
