/**
 * CSS Custom Properties (Variables)
 * Based on Figma design system
 */

:root {
    /* Font */
    --font-size: 16px;
    --font-weight-medium: 500;
    --font-weight-normal: 400;

    /* Colors - Main */
    --primary: #030213;
    --primary-accent: #D01012;
    --background: #F5F5F7;
    --foreground: #111827;
    --card: #ffffff;
    --card-foreground: #111827;

    /* Colors - Text */
    --muted-foreground: #717182;
    --secondary-foreground: #030213;

    /* Colors - UI Elements */
    --border: rgba(0, 0, 0, 0.1);
    --input-background: #f3f3f5;
    --input: transparent;
    --switch-background: #cbced4;

    /* Colors - Semantic */
    --destructive: #d4183d;
    --destructive-foreground: #ffffff;
    --success: #10b981;
    --success-foreground: #ffffff;
    --warning: #f59e0b;
    --warning-foreground: #ffffff;
    --info: #3b82f6;
    --info-foreground: #ffffff;

    /* Colors - Accents */
    --muted: #ececf0;
    --accent: #e9ebef;
    --accent-foreground: #030213;
    --secondary: #f3f3f5;

    /* Colors - Popover */
    --popover: #ffffff;
    --popover-foreground: #111827;

    /* Spacing */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */

    /* Border Radius */
    --radius: 0.625rem;      /* 10px */
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --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);

    /* Typography Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */

    /* Layout */
    --max-width: 1600px;
    --container-padding: var(--spacing-lg);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* Dark mode variables (future enhancement) */
.dark {
    --background: #111827;
    --foreground: #f9fafb;
    --card: #1f2937;
    --card-foreground: #f9fafb;
    --primary: #f9fafb;
    --primary-foreground: #111827;
    --secondary: #374151;
    --secondary-foreground: #f9fafb;
    --muted: #374151;
    --muted-foreground: #9ca3af;
    --accent: #374151;
    --accent-foreground: #f9fafb;
    --border: #374151;
    --input: #374151;
    --input-background: #1f2937;
}

