/**
 * Liquick CSS Variables
 * Design tokens for the entire application
 */

:root {
  /* ======================================
   * Color Palette - Dark Theme (Default)
   * ====================================== */
  
  /* Primary - Crypto Green */
  --color-primary: #00ff88;
  --color-primary-light: #33ff9f;
  --color-primary-dark: #00cc6a;
  --color-primary-rgb: 0, 255, 136;
  
  /* Secondary - Deep Purple */
  --color-secondary: #7c3aed;
  --color-secondary-light: #a78bfa;
  --color-secondary-dark: #5b21b6;
  
  /* Accent Colors */
  --color-accent-blue: #3b82f6;
  --color-accent-cyan: #06b6d4;
  --color-accent-orange: #f97316;
  --color-accent-yellow: #fbbf24;
  
  /* Semantic Colors */
  --color-success: #10b981;
  --color-success-rgb: 16, 185, 129;
  --color-warning: #f59e0b;
  --color-warning-rgb: 245, 158, 11;
  --color-error: #ef4444;
  --color-error-rgb: 239, 68, 68;
  --color-info: #3b82f6;
  --color-info-rgb: 59, 130, 246;
  
  /* Gain/Loss Colors (distinct from brand green) */
  --color-gain: #22d3ee;        /* Cyan - clearly distinct from brand green */
  --color-loss: #f87171;        /* Red/Coral - warm red */
  --color-gain-bg: rgba(34, 211, 238, 0.15);
  --color-loss-bg: rgba(248, 113, 113, 0.15);
  
  /* Background Colors - Dark Theme */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-elevated: #222222;
  --bg-overlay: rgba(0, 0, 0, 0.8);
  
  /* Surface Colors */
  --surface-1: #141414;
  --surface-2: #1c1c1c;
  --surface-3: #252525;
  --surface-hover: #2a2a2a;
  --surface-active: #333333;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-muted: #52525b;
  --text-inverse: #0a0a0a;
  
  /* Border Colors */
  --border-primary: #2a2a2a;
  --border-secondary: #3a3a3a;
  --border-focus: var(--color-primary);
  
  /* Crypto Colors */
  --crypto-btc: #f7931a;
  --crypto-eth: #627eea;
  --crypto-sol: #14f195;
  --crypto-usdt: #26a17b;
  --crypto-usdc: #2775ca;
  --crypto-bnb: #f3ba2f;
  
  /* ======================================
   * Typography
   * ====================================== */
  
  --font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;
  
  /* Font Sizes */
  --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: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* ======================================
   * Spacing
   * ====================================== */
  
  --space-0: 0;
  --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-none: 0;
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* ======================================
   * Shadows
   * ====================================== */
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(var(--color-primary-rgb), 0.3);
  --shadow-glow-lg: 0 0 40px rgba(var(--color-primary-rgb), 0.4);
  
  /* ======================================
   * Transitions
   * ====================================== */
  
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 500ms ease;
  
  /* ======================================
   * Z-Index
   * ====================================== */
  
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 3000;
  --z-modal: 3100;
  --z-toast: 4000;
  --z-tooltip: 5000;
  
  /* ======================================
   * Layout
   * ====================================== */
  
  --navbar-height: 72px;
  --sidebar-width: 280px;
  --container-max: 2000px;
  --container-narrow: 1400px;
  --content-max-width: 1500px;
  --container-padding: var(--space-4);
}

/* ======================================
 * Light Theme Override
 * ====================================== */

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --bg-elevated: #ffffff;
  --bg-overlay: rgba(255, 255, 255, 0.9);
  
  --surface-1: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f3f4f6;
  --surface-hover: #e5e7eb;
  --surface-active: #d1d5db;
  
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --text-muted: #9ca3af;
  --text-inverse: #ffffff;
  
  --border-primary: #e5e7eb;
  --border-secondary: #d1d5db;
  
  --color-primary: #00cc6a;
  --color-primary-light: #00ff88;
  --color-primary-dark: #00994f;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(0, 204, 106, 0.2);
}

/* ======================================
 * Responsive Breakpoints (for reference)
 * ====================================== */
/* 
  sm: 640px
  md: 768px
  lg: 1024px
  xl: 1280px
  2xl: 1536px
*/
