/* CSS Variables - Design System */
:root {
    /* Colors - New color scheme */
    --bg-primary: #2E3047;
    --bg-secondary: #3C3F58;
    --bg-tertiary: #43455C;
    
    /* Chart colors - New palette */
    --color-1: #3BBA9C;
    --color-2: #707793;
    --color-3: #43455C;
    --color-4: #3C3F58;
    --color-retirement: #3BBA9C;
    
    /* Semantic colors */
    --color-income: #10B981;
    --color-expense: #EF4444;
    --color-tax: #F59E0B;
    --color-networth: #3B82F6;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-info: #3B82F6;
    
    /* Text colors - Lighter for glassmorphism */
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-tertiary: rgba(255, 255, 255, 0.7);
    --text-disabled: rgba(255, 255, 255, 0.5);
    
    /* Border colors */
    --border-primary: #707793;
    --border-secondary: rgba(112, 119, 147, 0.5);
    --border-hover: rgba(112, 119, 147, 0.8);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Glassmorphism effects */
    --glass-bg: rgba(60, 63, 88, 0.7);
    --glass-bg-light: rgba(67, 69, 92, 0.6);
    --glass-border: rgba(112, 119, 147, 0.3);
    --glass-border-light: rgba(112, 119, 147, 0.5);
    --glass-blur: blur(20px) saturate(180%);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Z-index layers */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
    
    /* Chart dimensions */
    --chart-height: 360px; /* 80% of 450px */
    --chart-height-mobile: 240px; /* 80% of 300px */
    
    /* Font families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    
    /* Font sizes - Slightly smaller */
    --text-xs: 0.6875rem;   /* 11px - ~8% smaller */
    --text-sm: 0.8125rem;   /* 13px - ~7% smaller */
    --text-base: 0.9375rem; /* 15px - ~6% smaller */
    --text-lg: 1.0625rem;   /* 17px - ~6% smaller */
    --text-xl: 1.1875rem;   /* 19px - ~5% smaller */
    --text-2xl: 1.375rem;   /* 22px - ~8% smaller */
    --text-3xl: 1.75rem;    /* 28px - ~7% smaller */
    
    /* Font weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

/* Dark mode is default, but allow light mode override */
@media (prefers-color-scheme: light) {
    :root {
        /* Keep dark mode regardless - as per requirements */
    }
}

    /* Mobile adjustments */
    @media (max-width: 768px) {
        :root {
            --spacing-md: 12px;
            --spacing-lg: 16px;
            --spacing-xl: 24px;
            --text-sm: 0.75rem;     /* 12px - slightly smaller */
            --text-base: 0.875rem;  /* 14px - slightly smaller */
        }
    }

