/* Pro Design System - Slate Theme */
:root {
    /* Palette: Slate (Tailwind-like) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Semantic Colors */
    --bg-app: var(--slate-50);
    --bg-surface: #ffffff;
    --bg-sidebar: var(--slate-900);
    /* Dark Sidebar for contrast */
    --text-primary: var(--slate-900);
    --text-secondary: var(--slate-500);
    --text-on-dark: var(--slate-100);

    --border-subtle: var(--slate-200);
    --border-focus: var(--slate-400);

    --primary: #2563eb;
    /* Royal Blue */
    --primary-hover: #1d4ed8;

    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;

    /* Components */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Base Reset */
body {
    background-color: var(--bg-app);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--slate-100);
    color: var(--text-primary);
}

/* Inputs */
input[type="text"],
input[type="password"],
select,
textarea {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-size: 0.9rem;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Icons */
.lucide {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
}