/* ============================================
   PRISM DESIGN SYSTEM - CSS VARIABLES
   ============================================
   Color system, spacing, shadows, and theming
   ============================================ */

:root {
    /* Primary Colors */
    --primary-color: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #8b5cf6;
    --accent-color: #06b6d4;
    
    /* Status Colors */
    --error-color: #cf6679;
    --success-color: #4caf50;
    --warning-color: #f57c00;
    --info-color: #0277bd;
    
    /* Surface Colors */
    --background: #f5f5f5;
    --surface: #ffffff;
    --border-color: #e0e0e0;
    
    /* Text Colors */
    --text-primary: #000000de;
    --text-secondary: #00000099;
    
    /* Shadows */
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    
    /* Spacing Scale */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ============================================
   DARK MODE THEME
   ============================================ */

body.dark-mode {
    /* Primary Colors - Purple theme (slightly lighter for dark backgrounds) */
    --primary-color: #a78bfa;
    --primary-dark: #8b5cf6;
    --primary-light: #c4b5fd;
    --accent-color: #22d3ee;
    
    /* Status Colors */
    --error-color: #ff6b6b;
    --success-color: #4caf50;
    
    /* Surface Colors */
    --background: #121212;
    --surface: #1e1e1e;
    --border-color: #383838;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    
    /* Shadows */
    --shadow: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.5);
}

/* Dark mode component overrides */
body.dark-mode .btn-primary {
    background: var(--primary-color);
    color: #1e1e1e;
}

body.dark-mode .btn-primary:hover {
    background: var(--primary-light);
}

body.dark-mode .btn-secondary:hover {
    background: rgba(167, 139, 250, 0.1);
}

body.dark-mode .btn-icon:hover {
    background: rgba(167, 139, 250, 0.1);
}

body.dark-mode .card:hover {
    box-shadow: var(--shadow-lg);
}

