:root {
    /* Light theme */
    --primary-color: #007AFF;
    --primary-hover: #0056CC;
    --background-light: #FAFAFA;
    --surface-light: #FFFFFF;
    --surface-elevated: #FFFFFF;
    --text-primary-light: #1C1C1E;
    --text-secondary-light: #8E8E93;
    --text-tertiary-light: #C7C7CC;
    --border-light: #E5E5EA;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-elevated: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Semantic colors */
    --success-color: #34C759;
    --warning-color: #FF9500;
    --error-color: #FF3B30;
    --info-color: #5AC8FA;
    
    /* Spacing system */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.25s ease-out;
    --transition-slow: 0.35s ease-out;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #0A84FF;
        --primary-hover: #409CFF;
        --background-light: #000000;
        --surface-light: #1C1C1E;
        --surface-elevated: #2C2C2E;
        --text-primary-light: #FFFFFF;
        --text-secondary-light: #8E8E93;
        --text-tertiary-light: #48484A;
        --border-light: #38383A;
        --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-elevated: 0 4px 20px rgba(0, 0, 0, 0.4);
        --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
        
        --success-color: #30D158;
        --warning-color: #FF9F0A;
        --error-color: #FF453A;
        --info-color: #64D2FF;
    }
}

/* Back to Overview Button */
.back-to-overview {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary-light);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-light);
}

.back-to-overview:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}