/* CSS Variables - Apple Style Design */

:root {
    /* Colors - Light Mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #e8e8ed;
    --bg-elevated: #ffffff;
    --bg-surface: #ffffff;

    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #a1a1a6;

    --border-color: #d2d2d7;
    --border-color-light: #e5e5ea;

    --accent-color: #007aff;
    --accent-color-hover: #0051d5;
    --accent-color-active: #004bbd;

    --success-color: #34c759;
    --warning-color: #ff9500;
    --error-color: #ff3b30;
    --info-color: #5ac8fa;

    /* Score Colors */
    --score-hot: #34c759;
    --score-warm: #ff9500;
    --score-cold: #5ac8fa;
    --score-disqualified: #8e8e93;

    /* Gradients - Light Mode */
    --accent-gradient: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    --success-gradient: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    --warning-gradient: linear-gradient(135deg, #ff9500 0%, #ff9f0a 100%);
    --error-gradient: linear-gradient(135deg, #ff3b30 0%, #ff453a 100%);
    --info-gradient: linear-gradient(135deg, #5ac8fa 0%, #64d2ff 100%);

    /* Glassmorphism - Light Mode */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);

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

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.04), 0 4px 6px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.04), 0 10px 10px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-md: 15px;
    --font-size-lg: 17px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;

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

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;

    /* Layout */
    --header-height: 52px;
    --container-max-width: 1400px;
    --sidebar-width: 260px;
}

[data-theme="dark"] {
    /* Colors - Dark Mode */
    --bg-primary: #1c1c1e;
    --bg-secondary: #2c2c2e;
    --bg-tertiary: #3a3a3c;
    --bg-elevated: #2c2c2e;
    --bg-surface: #1c1c1e;

    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-tertiary: #636366;

    --border-color: #38383a;
    --border-color-light: #48484a;

    --accent-color: #0a84ff;
    --accent-color-hover: #409cff;
    --accent-color-active: #66b3ff;

    /* Adjusted colors for dark mode */
    --success-color: #32d74b;
    --warning-color: #ff9f0a;
    --error-color: #ff453a;
    --info-color: #64d2ff;

    /* Gradients - Dark Mode */
    --accent-gradient: linear-gradient(135deg, #0a84ff 0%, #5e5ce6 100%);
    --success-gradient: linear-gradient(135deg, #32d74b 0%, #30d158 100%);
    --warning-gradient: linear-gradient(135deg, #ff9f0a 0%, #ffb340 100%);
    --error-gradient: linear-gradient(135deg, #ff453a 0%, #ff6961 100%);
    --info-gradient: linear-gradient(135deg, #64d2ff 0%, #7dd3fc 100%);

    /* Glassmorphism - Dark Mode */
    --glass-bg: rgba(58, 58, 60, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Card gradient for dark mode */
    --card-gradient-dark: linear-gradient(180deg, rgba(58,58,60,0.5) 0%, rgba(44,44,46,0.3) 100%);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2), 0 10px 10px rgba(0, 0, 0, 0.3);
}
