/**
 * Couriar Design System — Premium Modern Theme
 */
:root {
    /* Brand */
    --c-primary: #0f172a;
    --c-primary-soft: #1e293b;
    --c-brand: #2563eb;
    --c-brand-light: #3b82f6;
    --c-brand-glow: rgba(37, 99, 235, 0.35);
    --c-accent: #06b6d4;
    --c-accent-2: #8b5cf6;
    --c-cta: #f97316;
    --c-cta-hover: #ea580c;

    /* Semantic */
    --c-success: #10b981;
    --c-warning: #f59e0b;
    --c-danger: #ef4444;
    --c-info: #0ea5e9;

    /* Surfaces */
    --c-bg: #f1f5f9;
    --c-bg-elevated: #ffffff;
    --c-surface-muted: #f8fafc;
    --c-border: #e2e8f0;
    --c-border-light: #f1f5f9;

    /* Text */
    --c-text: #0f172a;
    --c-text-secondary: #475569;
    --c-text-muted: #94a3b8;
    --c-text-inverse: #f8fafc;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 40px -10px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    --gradient-brand: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #2563eb 100%);
    --gradient-hero: linear-gradient(160deg, #0f172a 0%, #1e3a8a 35%, #2563eb 70%, #06b6d4 100%);
    --gradient-cta: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f59e0b 100%);
    --gradient-sidebar: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --glass: rgba(255, 255, 255, 0.85);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bootstrap overrides */
.btn-primary {
    background: var(--c-brand) !important;
    border-color: var(--c-brand) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.25rem !important;
    box-shadow: 0 4px 14px var(--c-brand-glow);
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--c-brand-light) !important;
    border-color: var(--c-brand-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--c-brand-glow);
}
.btn-outline-primary {
    color: var(--c-brand) !important;
    border-color: var(--c-brand) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
}
.btn-outline-primary:hover {
    background: var(--c-brand) !important;
    color: #fff !important;
}
.form-control, .form-select {
    border-radius: var(--radius-sm) !important;
    border-color: var(--c-border) !important;
    padding: 0.6rem 0.9rem !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--c-brand-light) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
.card {
    border: 1px solid var(--c-border-light) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
}
.alert {
    border-radius: var(--radius-md) !important;
    border: none !important;
}
.badge {
    font-weight: 600 !important;
    padding: 0.4em 0.75em !important;
    border-radius: 6px !important;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--c-text);
    font-weight: 700;
    letter-spacing: -0.02em;
}
