/* CSS Variables and Design Tokens */
:root {
    /* Color Palette - Modern & Professional */
    --primary-900: #0A1929;
    --primary-800: #0D2136;
    --primary-700: #132F4C;
    --primary-600: #1A4064;
    --primary-500: #2E5C8A;
    --primary-400: #4A7BA7;
    --primary-300: #6B9BC9;
    --primary-200: #9DBEE3;
    --primary-100: #C7DDF5;
    --primary-50: #E8F3FF;

    --accent-900: #0A5F6F;
    --accent-800: #0C7A8E;
    --accent-700: #0E95AD;
    --accent-600: #0FB0CC;
    --accent-500: #11CBEB;
    --accent-400: #3DD5EF;
    --accent-300: #69DFF3;
    --accent-200: #95E9F7;
    --accent-100: #C1F3FB;
    --accent-50: #E0F9FD;

    --success-700: #1B5E20;
    --success-600: #2E7D32;
    --success-500: #43A047;
    --success-400: #66BB6A;
    --success-300: #81C784;
    --success-100: #C8E6C9;

    --warning-700: #E65100;
    --warning-600: #EF6C00;
    --warning-500: #FB8C00;
    --warning-400: #FFA726;
    --warning-300: #FFB74D;
    --warning-100: #FFE0B2;

    --danger-700: #C62828;
    --danger-600: #D32F2F;
    --danger-500: #E53935;
    --danger-400: #EF5350;
    --danger-300: #E57373;
    --danger-100: #FFCDD2;

    --neutral-900: #0B1720;
    --neutral-800: #1C2834;
    --neutral-700: #2D3A48;
    --neutral-600: #3E4C5C;
    --neutral-500: #5A6B7D;
    --neutral-400: #7A8A9E;
    --neutral-300: #9AAABF;
    --neutral-200: #BCC9D9;
    --neutral-100: #DEE6F0;
    --neutral-50: #F4F7FB;

    --white: #FFFFFF;
    --black: #000000;

    /* Semantic Colors */
    --bg-primary: var(--neutral-50);
    --bg-secondary: var(--white);
    --bg-tertiary: var(--neutral-100);
    --bg-overlay: rgba(11, 23, 32, 0.6);

    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-600);
    --text-tertiary: var(--neutral-400);
    --text-inverse: var(--white);

    --border-light: var(--neutral-100);
    --border-medium: var(--neutral-200);
    --border-dark: var(--neutral-300);

    /* Spacing Scale */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */

    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-display: 'Outfit', 'Inter', sans-serif;

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

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

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(11, 23, 32, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(11, 23, 32, 0.1), 0 1px 2px -1px rgba(11, 23, 32, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(11, 23, 32, 0.1), 0 2px 4px -2px rgba(11, 23, 32, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(11, 23, 32, 0.1), 0 4px 6px -4px rgba(11, 23, 32, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(11, 23, 32, 0.1), 0 8px 10px -6px rgba(11, 23, 32, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(11, 23, 32, 0.25);

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

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1100;
    --z-fixed: 1200;
    --z-modal-backdrop: 1300;
    --z-modal: 1400;
    --z-popover: 1500;
    --z-tooltip: 1600;

    /* Layout */
    --sidebar-width: 260px;
    --header-height: 70px;
    --content-max-width: 1400px;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-8px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(8px);
    }
}