/* Winters Family Finance Dashboard - Design Tokens */

:root {
    /* Primary Colors */
    --color-primary: #0ABAB5;
    --color-primary-light: #3FCFCA;
    --color-primary-dark: #089490;
    --color-primary-bg: rgba(10, 186, 181, 0.1);

    /* Backgrounds */
    --color-bg: #FAFAFA;
    --color-surface: #FFFFFF;
    --color-surface-hover: #F5F5F5;

    /* Text */
    --color-text: #1A1A1A;
    --color-text-secondary: #6B7280;
    --color-text-muted: #9CA3AF;

    /* Semantic Colors */
    --color-success: #10B981;
    --color-success-bg: rgba(16, 185, 129, 0.1);
    --color-warning: #F59E0B;
    --color-warning-bg: rgba(245, 158, 11, 0.1);
    --color-danger: #EF4444;
    --color-danger-bg: rgba(239, 68, 68, 0.1);

    /* Borders */
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;

    /* 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);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-modal: 200;
    --z-toast: 300;

    /* Safe Areas (for PWA) */
    --safe-top: env(safe-area-inset-top);
    --safe-bottom: env(safe-area-inset-bottom);
    --safe-left: env(safe-area-inset-left);
    --safe-right: env(safe-area-inset-right);

    /* Nav Height */
    --nav-height: 64px;
}

/* Number formatting for financial data */
.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Positive/Negative money colors */
.money-positive {
    color: var(--color-success);
}

.money-negative {
    color: var(--color-danger);
}

.money-neutral {
    color: var(--color-text);
}
