/* ============================================
   CFS - Customer Feedback System
   Theme Variables (Light / Dark / Deep Green)
   ============================================ */

:root {
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-base: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-base: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* 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 -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Sidebar */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 64px;
  --topbar-height: 56px;
}

/* =================== LIGHT THEME =================== */
[data-theme="light"] {
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f9;
  --bg-sidebar: #1e293b;
  --bg-sidebar-hover: #334155;
  --bg-sidebar-active: #3b82f6;
  --bg-topbar: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-modal-overlay: rgba(0, 0, 0, 0.5);
  
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --text-sidebar: #cbd5e1;
  --text-sidebar-active: #ffffff;
  --text-inverse: #ffffff;
  --text-on-primary: #ffffff;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-primary-light: #eff6ff;
  --color-secondary: #6366f1;
  --color-success: #10b981;
  --color-success-light: #ecfdf5;
  --color-warning: #f59e0b;
  --color-warning-light: #fffbeb;
  --color-danger: #ef4444;
  --color-danger-light: #fef2f2;
  --color-info: #06b6d4;
  --color-info-light: #ecfeff;
  
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  
  --chart-1: #3b82f6;
  --chart-2: #10b981;
  --chart-3: #f59e0b;
  --chart-4: #ef4444;
  --chart-5: #8b5cf6;
  --chart-6: #ec4899;
}

/* =================== DARK THEME =================== */
[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #1a2332;
  --bg-sidebar: #0c1322;
  --bg-sidebar-hover: #1e293b;
  --bg-sidebar-active: #3b82f6;
  --bg-topbar: #1e293b;
  --bg-card: #1e293b;
  --bg-input: #0f172a;
  --bg-modal-overlay: rgba(0, 0, 0, 0.7);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-sidebar: #94a3b8;
  --text-sidebar-active: #ffffff;
  --text-inverse: #0f172a;
  --text-on-primary: #ffffff;
  
  --border-color: #334155;
  --border-light: #1e293b;
  
  --color-primary: #60a5fa;
  --color-primary-hover: #3b82f6;
  --color-primary-light: rgba(59, 130, 246, 0.15);
  --color-secondary: #818cf8;
  --color-success: #34d399;
  --color-success-light: rgba(16, 185, 129, 0.15);
  --color-warning: #fbbf24;
  --color-warning-light: rgba(245, 158, 11, 0.15);
  --color-danger: #f87171;
  --color-danger-light: rgba(239, 68, 68, 0.15);
  --color-info: #22d3ee;
  --color-info-light: rgba(6, 182, 212, 0.15);
  
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --gradient-card: linear-gradient(135deg, #1e293b 0%, #1a2332 100%);
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -2px rgba(0,0,0,0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.3), 0 10px 10px -5px rgba(0,0,0,0.2);
  
  --chart-1: #60a5fa;
  --chart-2: #34d399;
  --chart-3: #fbbf24;
  --chart-4: #f87171;
  --chart-5: #a78bfa;
  --chart-6: #f472b6;
}

/* =================== DEEP GREEN THEME =================== */
[data-theme="green"] {
  --bg-primary: #052e16;
  --bg-secondary: #14532d;
  --bg-tertiary: #0a3d1f;
  --bg-sidebar: #022c22;
  --bg-sidebar-hover: #14532d;
  --bg-sidebar-active: #16a34a;
  --bg-topbar: #14532d;
  --bg-card: #14532d;
  --bg-input: #052e16;
  --bg-modal-overlay: rgba(0, 0, 0, 0.7);
  
  --text-primary: #ecfdf5;
  --text-secondary: #86efac;
  --text-tertiary: #4ade80;
  --text-sidebar: #86efac;
  --text-sidebar-active: #ffffff;
  --text-inverse: #052e16;
  --text-on-primary: #ffffff;
  
  --border-color: #166534;
  --border-light: #14532d;
  
  --color-primary: #22c55e;
  --color-primary-hover: #16a34a;
  --color-primary-light: rgba(34, 197, 94, 0.2);
  --color-secondary: #a3e635;
  --color-success: #4ade80;
  --color-success-light: rgba(74, 222, 128, 0.15);
  --color-warning: #facc15;
  --color-warning-light: rgba(250, 204, 21, 0.15);
  --color-danger: #f87171;
  --color-danger-light: rgba(248, 113, 113, 0.15);
  --color-info: #2dd4bf;
  --color-info-light: rgba(45, 212, 191, 0.15);
  
  --gradient-primary: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  --gradient-success: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --gradient-card: linear-gradient(135deg, #14532d 0%, #0a3d1f 100%);
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -1px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -2px rgba(0,0,0,0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.4), 0 10px 10px -5px rgba(0,0,0,0.3);
  
  --chart-1: #4ade80;
  --chart-2: #2dd4bf;
  --chart-3: #facc15;
  --chart-4: #f87171;
  --chart-5: #a78bfa;
  --chart-6: #fb923c;
}
