/* CSS Variables - Easy Customer Customization */
:root {
  /* Color Scheme - Inherits from theme-colors.css */
  --primary-color: var(--theme-primary);
  --primary-hover: var(--theme-primary-hover);
  --secondary-color: var(--theme-secondary);
  --accent-color: var(--theme-primary-light);
  
  /* Backgrounds */
  --bg-primary: var(--theme-white);
  --bg-secondary: var(--theme-gray-50);
  --bg-sidebar: var(--theme-menu-bg);
  --bg-hover: var(--theme-gray-200);
  
  /* Text Colors */
  --text-primary: var(--theme-menu-text);
  --text-secondary: var(--theme-gray-700);
  --text-muted: var(--theme-gray-600);
  --text-inverse: var(--theme-white);
  
  /* Borders */
  --border-color: var(--theme-gray-200);
  --border-radius: 3px;
  --border-radius-lg: 6px;
  
  /* Header Styling */
  --header-bg: var(--theme-header-bg);
  --header-text: var(--theme-header-text);
  --header-border: var(--theme-header-border);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.475rem;
  --spacing-md: 0.675rem;
  --spacing-lg: 1rem;
  --spacing-xl: 1.375rem;
  --spacing-2xl: 2rem;
  
  /* Layout */
  --sidebar-width: 230px;
  --header-height: 55px;
  --content-max-width: 1200px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 var(--theme-shadow-light);
  --shadow-md: 0 4px 6px -1px var(--theme-shadow-medium);
  --shadow-lg: 0 10px 15px -3px var(--theme-shadow-medium);
  --shadow-modal: 0 25px 50px -12px var(--theme-shadow-modal);
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-sm: 0.625rem;
  --font-size-base: 0.75rem;
  --font-size-lg: 0.825rem;
  --font-size-xl: 0.875rem;
  --font-size-2xl: 1.125rem;
  --font-size-3xl: 1.375rem;
  
  /* Badge Typography */
  --badge-font-size-sm: 0.625rem;
  --badge-font-size-md: 0.675rem;
  --badge-font-size-lg: 0.725rem;
  --badge-font-size-xl: 0.775rem;
  --badge-font-size-xxl: 0.825rem;
  --badge-font-weight: 500;
  
  /* Status Colors */
  --status-success: var(--theme-success);
  --status-warning: var(--theme-warning);
  --status-error: var(--theme-error);
  --status-info: var(--theme-info);
  --status-on-hold: var(--theme-secondary);
  
  /* Button Colors */
  --btn-add-bg: var(--status-success);
  --btn-add-hover: var(--theme-success-hover, #059669);
  --btn-remove-bg: var(--status-error);
  --btn-remove-hover: var(--theme-error-hover, #dc2626);
  
  /* Due Date Status Colors - 5-level urgency system */
  --status-approaching: #10b981; /* Green - future dates */
  --status-soon: #f59e0b; /* Yellow - this week */
  --status-urgent: #f97316; /* Orange - very soon */
  --status-urgent-text: #9a3412; /* Dark orange for text on orange background */
  --status-overdue: var(--theme-error); /* Red - overdue */
  
  /* Due Date Background Colors - subtle transparency */
  --status-approaching-bg: rgba(16, 185, 129, 0.1);
  --status-soon-bg: rgba(245, 158, 11, 0.15);
  --status-urgent-bg: rgba(249, 115, 22, 0.2);
  --status-overdue-bg: rgba(239, 68, 68, 0.95);
  
  /* Alert Colors - semantic text colors */
  --alert-success-text: #065f46;
  --alert-warning-text: #92400e;
  --alert-error-text: #991b1b;
  --alert-info-text: #1e40af;
  
  /* Additional Gray Scale Colors */
  --color-gray-50: var(--theme-gray-50);
  --color-gray-100: var(--theme-gray-100);
  --color-gray-200: var(--theme-gray-200);
  --color-gray-600: var(--theme-gray-600);
  --color-gray-700: var(--theme-gray-700);
  --color-gray-900: var(--theme-gray-900);
  
  /* Legacy Support (aliasing existing variables) */
  --color-primary: var(--primary-color);
  
  /* Z-index layers */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 2500;
  --z-alert: 3000;
  --z-popover: 1050;
  --z-tooltip: 1060;
}
