/* ==========================================================================
   Elos - CSS Custom Properties
   White-label design tokens. Tenant colors override via --tenant-primary/secondary.
   ========================================================================== */

:root {
  /* ---- Backgrounds ---- */
  --bg-primary: #0f0f14;
  --bg-secondary: #1a1a24;
  --bg-tertiary: #22222e;
  --bg-hover: #2a2a38;
  --bg-active: #32323f;

  /* ---- Borders ---- */
  --border: #2a2a3a;
  --border-light: #35354a;
  --border-focus: var(--accent);

  /* ---- Text ---- */
  --text-primary: #f1f1f1;
  --text-secondary: #8b8b9e;
  --text-muted: #5a5a6e;
  --text-inverse: #0f0f14;

  /* ---- Accent (tenant-configurable) ---- */
  --accent: var(--tenant-primary, #c90202);
  --accent-hover: var(--tenant-primary-hover, #a50101);
  --accent-light: var(--tenant-primary-light, rgba(201, 2, 2, 0.12));
  --accent-secondary: var(--tenant-secondary, #d4a574);
  --accent-secondary-light: var(--tenant-secondary-light, rgba(212, 165, 116, 0.12));

  /* ---- Semantic ---- */
  --success: #22c55e;
  --success-light: rgba(34, 197, 94, 0.12);
  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.12);
  --error: #ef4444;
  --error-light: rgba(239, 68, 68, 0.12);
  --info: #3b82f6;
  --info-light: rgba(59, 130, 246, 0.12);

  /* ---- Radius ---- */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 0 20px var(--accent-light);

  /* ---- Typography ---- */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-base: 0.9375rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --line-height: 1.6;
  --line-height-tight: 1.3;

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

  /* ---- Layout ---- */
  --sidebar-width: 260px;
  --sidebar-collapsed: 70px;
  --header-height: 64px;
  --bottom-nav-height: 64px;
  --content-max-width: 1280px;

  /* ---- Transitions ---- */
  --transition: all 0.2s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.3s ease;

  /* ---- Z-index ---- */
  --z-sidebar: 100;
  --z-header: 110;
  --z-dropdown: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-tooltip: 500;
}
