/**
 * Insight Design Tokens
 *
 * CSS Custom Properties for consistent design
 */

:root {
    /* Colors - Primary (slate blue / corporate) */
    --color-primary: #2c5f8a;
    --color-primary-rgb: 44, 95, 138;
    --color-primary-dark: #1e4568;
    --color-primary-light: #4a82ad;
    --color-primary-accent: #3d9bd4;

    /* Colors - Secondary */
    --color-secondary: #6b7280;
    --color-secondary-dark: #4b5563;
    --color-secondary-light: #9ca3af;

    /* Colors - Semantic */
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-danger: #ef4444;
    --color-danger-light: #fee2e2;
    --color-info: #3b82f6;
    --color-info-light: #dbeafe;

    /* Colors - Neutral */
    --color-text: #1f2937;
    --color-text-secondary: #4b5563;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    --color-bg: #f9fafb;
    --color-bg-alt: #f3f4f6;
    --color-bg-white: #ffffff;
    --color-bg-hover: #e5e7eb;
    --color-surface: #ffffff;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    /* Colors - Header */
    --color-header-bg: #1f2937;
    --color-header-text: #f9fafb;

    /* Colors - Sidebar */
    --color-sidebar-bg: #ffffff;
    --color-sidebar-hover: #f3f4f6;
    --color-sidebar-active: #e8f0f8;
    --color-sidebar-active-text: #1e4568;
    --color-sidebar-section: #9ca3af;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'SF Mono', 'Fira Code', Consolas, 'Liberation Mono', Menlo, monospace;

    --font-size-xxs: 0.625rem;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.8125rem;
    --font-size-base: 0.875rem;
    --font-size-lg: 1rem;
    --font-size-xl: 1.125rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --space-xxs: 0.125rem;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --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), 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);

    /* Layout */
    --header-height: 52px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 64px;

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