/* SoloTasks Design System */

:root {
    /* Primary - Teal */
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #14B8A6;
    --primary-subtle: rgba(13, 148, 136, 0.1);

    /* Accent - Coral */
    --accent: #F97316;
    --accent-dark: #EA580C;
    --accent-light: #FB923C;
    --accent-subtle: rgba(249, 115, 22, 0.1);

    /* Neutrals */
    --dark: #1a1f2e;
    --darker: #0f1219;
    --muted: #64748b;
    --border: #e2e8f0;

    /* Light Mode */
    --background: #f8fafc;
    --background-alt: #ffffff;
    --foreground: #1a1f2e;
    --surface: #ffffff;
    --surface-hover: #f1f5f9;
    --card-bg: #f3f5f7;

    /* Semantic */
    --success: #10B981;
    --success-subtle: rgba(16, 185, 129, 0.1);
    --warning: #F59E0B;
    --warning-subtle: rgba(245, 158, 11, 0.1);
    --error: #EF4444;
    --error-subtle: rgba(239, 68, 68, 0.1);
    --info: #3B82F6;
    --info-subtle: rgba(59, 130, 246, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --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);

    /* Typography */
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Sizes */
    --header-height: 60px;
    --sidebar-width: 280px;
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

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

/* Dark Mode */
[data-theme="dark"] {
    --background: #0f1219;
    --background-alt: #1a1f2e;
    --foreground: #f1f5f9;
    --surface: #1a1f2e;
    --surface-hover: #252b3b;
    --border: #334155;
    --muted: #94a3b8;
    --card-bg: #141922;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
