/**
 * CSS Variables - Light & Dark Mode
 *
 * @package Burot_Sigoignet
 */

:root {
  /* Colors - Light Mode */
  --color-primary: #2563eb;
  --color-secondary: #64748b;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #60a5fa;
  --color-accent: #a855f7;

  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-border: #e2e8f0;

  --color-text: #1e293b;
  --color-text-muted: #64748b;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  /* Layout */
  --sidebar-width: 240px;
  --topbar-height: 60px;
  --bottom-nav-height: 60px;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-smooth: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Glassmorphism - Minimal */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 10px;
  --glass-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);

  /* Elevation levels - Subtle */
  --elevation-1: 0 1px 2px rgba(0, 0, 0, 0.03);
  --elevation-2: 0 2px 6px rgba(0, 0, 0, 0.04);
  --elevation-3: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  /* Colors - Dark Mode */
  --color-primary: #3b82f6;
  --color-secondary: #94a3b8;

  --color-bg: #0f172a;
  --color-surface: #1e293b;
  --color-border: #334155;

  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;

  /* Glassmorphism - Dark Minimal */
  --glass-bg: rgba(30, 41, 59, 0.15);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
