/* Brasil Motores - Design System Variables */
/* Based on brasil-motores-ux-guide.md */

:root {
  /* ==================== DARK THEME (Default) ==================== */

  /* Primary Colors */
  --primary-cyan: #00E5CC;
  --primary-cyan-hover: #00BFA5;
  --primary-blue: #1E88E5;

  /* Background Colors */
  --bg-dark-900: #0A0E1A;
  --bg-dark-800: #141B2D;
  --bg-dark-700: #1E2739;
  --bg-dark-600: #283044;

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Border Colors */
  --border-dark: #2D3548;
  --border-focus: #00E5CC;

  /* State Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* ==================== SPACING SYSTEM ==================== */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* ==================== TYPOGRAPHY ==================== */

  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Font Sizes */
  --text-3xl: 32px;   /* h1 */
  --text-2xl: 28px;   /* h2 */
  --text-xl: 24px;    /* h3 */
  --text-lg: 20px;    /* h4 */
  --text-md: 18px;    /* h5 */
  --text-base: 16px;  /* h6 */
  --text-sm: 14px;    /* Body text, inputs */
  --text-xs: 12px;    /* Small text, captions */

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* ==================== BORDER RADIUS ==================== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ==================== SHADOWS ==================== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);

  /* Glow Effects */
  --glow-cyan: 0 0 20px rgba(0, 229, 204, 0.4);
  --glow-blue: 0 0 20px rgba(30, 136, 229, 0.4);

  /* ==================== TRANSITIONS ==================== */
  --transition-fast: all 0.15s ease;
  --transition-base: all 0.2s ease;
  --transition-slow: all 0.3s ease;
}

/* ==================== LIGHT THEME ==================== */
[data-theme="light"] {
  /* Primary Colors (adjusted for light background) */
  --primary-cyan: #00897B;
  --primary-cyan-hover: #00695C;
  --primary-blue: #1976D2;

  /* Background Colors */
  --bg-light-100: #FFFFFF;
  --bg-light-200: #F8FAFC;
  --bg-light-300: #F1F5F9;
  --bg-light-400: #E2E8F0;

  /* Override dark backgrounds with light ones */
  --bg-dark-900: #FFFFFF;
  --bg-dark-800: #F8FAFC;
  --bg-dark-700: #F1F5F9;
  --bg-dark-600: #E2E8F0;

  /* Text Colors (inverted for light background) */
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  /* Border Colors */
  --border-dark: #E2E8F0;
  --border-focus: #00897B;

  /* State Colors remain the same */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;

  /* Shadows (lighter for light theme) */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.12);

  /* Glow Effects (adjusted for light theme) */
  --glow-cyan: 0 0 20px rgba(0, 137, 123, 0.3);
  --glow-blue: 0 0 20px rgba(25, 118, 210, 0.3);
}
