/* styles.css - Theme Variables & Reset */
:root {
    /* Light Theme (Default) */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    --bg-body: #f1f5f9;
    --surface: #ffffff;
    --surface-hover: #f8fafc;

    --sidebar-bg: #0f172a;
    --sidebar-text: #e2e8f0;
    --sidebar-text-muted: #94a3b8;

    --text-main: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #64748b;

    --border-color: #e2e8f0;
    --input-bg: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);

    --radius: 8px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
    --bg-body: #0f172a;
    --surface: #1e293b;
    --surface-hover: #334155;

    --sidebar-bg: #020617;
    --border-color: #334155;

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --input-bg: #0f172a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    font-size: 15px;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}