/* ============================================
   FLOTLY — Fleet Management UI
   Aesthetic: Modern SaaS — Light, lumineux, clean
   Font: Outfit (display) + DM Sans (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Core palette */
    --fl-primary: #3b82f6;
    --fl-primary-hover: #2563eb;
    --fl-primary-light: #eff6ff;
    --fl-primary-ring: 0 0 0 3px rgba(59, 130, 246, 0.15);

    --fl-success: #10b981;
    --fl-success-light: #ecfdf5;
    --fl-success-text: #065f46;

    --fl-warning: #f59e0b;
    --fl-warning-light: #fffbeb;
    --fl-warning-text: #92400e;

    --fl-danger: #ef4444;
    --fl-danger-light: #fef2f2;
    --fl-danger-text: #991b1b;

    --fl-info: #0ea5e9;
    --fl-info-light: #f0f9ff;
    --fl-info-text: #0c4a6e;

    --fl-purple: #8b5cf6;
    --fl-purple-light: #f5f3ff;
    --fl-purple-text: #5b21b6;

    --fl-surface: #f8fafc;
    --fl-white: #ffffff;
    --fl-border: #e2e8f0;
    --fl-border-light: #f1f5f9;
    --fl-text: #0f172a;
    --fl-text-secondary: #475569;
    --fl-text-muted: #94a3b8;

    /* Sidebar */
    --sidebar-width: 256px;
    --sidebar-bg: #ffffff;
    --sidebar-border: #e2e8f0;
    --sidebar-text: #475569;
    --sidebar-text-active: #3b82f6;
    --sidebar-hover: #f1f5f9;
    --sidebar-active-bg: #eff6ff;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'DM Sans', 'Outfit', sans-serif;
    background: var(--fl-surface);
    color: var(--fl-text);
    margin: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 0.9375rem;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

/* === SIDEBAR (Light) === */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    z-index: 1050;
    transition: transform 0.3s var(--ease-out);
    overflow: hidden;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 20px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    background: var(--fl-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--fl-text);
    letter-spacing: -0.03em;
}

.sidebar-nav {
    flex: 1;
    padding: 8px 12px;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: var(--sidebar-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.15s var(--ease-out);
    margin-bottom: 1px;
    white-space: nowrap;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.7;
}

.sidebar-link:hover {
    background: var(--sidebar-hover);
    color: var(--fl-text);
}
.sidebar-link:hover i { opacity: 1; }

.sidebar-link.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-text-active);
    font-weight: 600;
}
.sidebar-link.active i {
    color: var(--sidebar-text-active);
    opacity: 1;
}

.sidebar-divider {
    height: 1px;
    background: var(--fl-border-light);
    margin: 10px 12px;
}

.sidebar-section-title {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--fl-text-muted);
    padding: 12px 12px 4px;
    font-weight: 700;
}

.sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--fl-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--fl-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.user-info { min-width: 0; }

.user-name {
    color: var(--fl-text);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    color: var(--fl-text-muted);
    font-size: 0.66rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-logout {
    background: none;
    border: none;
    color: var(--fl-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    font-size: 1rem;
}
.sidebar-logout:hover {
    background: var(--fl-danger-light);
    color: var(--fl-danger);
}

/* === MAIN AREA === */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s var(--ease-out);
}

/* === TOPBAR === */
.topbar {
    height: 52px;
    background: var(--fl-white);
    border-bottom: 1px solid var(--fl-border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--fl-text-secondary);
}

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-badge {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--fl-text-secondary);
    background: var(--fl-surface);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--fl-border);
}
.topbar-badge i {
    margin-right: 4px;
    color: var(--fl-primary);
}

/* === MAIN CONTENT === */
.main-content {
    padding: 24px;
    max-width: 1400px;
}

/* === ALERTS === */
.alert-flotly {
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 4px solid;
    animation: slideDown 0.3s var(--ease-out);
}
.alert-flotly.alert-success { background: var(--fl-success-light); color: var(--fl-success-text); border-left-color: var(--fl-success); }
.alert-flotly.alert-danger { background: var(--fl-danger-light); color: var(--fl-danger-text); border-left-color: var(--fl-danger); }
.alert-flotly.alert-warning { background: var(--fl-warning-light); color: var(--fl-warning-text); border-left-color: var(--fl-warning); }
.alert-flotly.alert-info { background: var(--fl-info-light); color: var(--fl-info-text); border-left-color: var(--fl-info); }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === PAGE HEADER === */
.page-header { margin-bottom: 24px; }

.page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fl-text);
    margin: 0;
}
.page-header h1 i {
    color: var(--fl-primary);
    margin-right: 8px;
    font-size: 1.3rem;
}

/* === CARDS === */
.card {
    border: 1px solid var(--fl-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    background: var(--fl-white);
    overflow: hidden;
}
.card-header {
    background: var(--fl-white) !important;
    border-bottom: 1px solid var(--fl-border);
    padding: 14px 20px;
}
.card-header h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}
.card-body { padding: 20px; }

/* === STAT CARDS === */
.card-stat {
    border: 1px solid var(--fl-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    background: var(--fl-white);
    transition: all 0.2s var(--ease-out);
    overflow: hidden;
}
.card-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--fl-primary);
}
.card-stat .card-body { padding: 18px 20px; }
.card-stat .stat-icon {
    font-size: 1.8rem;
    opacity: 0.12;
}
.card-stat .stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}
.card-stat .stat-label {
    font-size: 0.7rem;
    color: var(--fl-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin-top: 4px;
}

/* === TABLES === */
.table { margin: 0; font-size: 0.84rem; }
.table th {
    background: var(--fl-surface);
    color: var(--fl-text-muted);
    font-weight: 600;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--fl-border);
    white-space: nowrap;
}
.table td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--fl-border-light);
    color: var(--fl-text);
}
.table tbody tr { transition: background 0.1s; }
.table-hover tbody tr:hover { background: var(--fl-primary-light); }
.table-borderless td, .table-borderless th { border: none; padding: 8px 12px; }

/* === BADGES === */
.badge {
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.2px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

/* Status badges */
.badge-disponible { background: var(--fl-success-light); color: var(--fl-success-text); }
.badge-en_mission { background: var(--fl-info-light); color: var(--fl-info-text); }
.badge-maintenance { background: var(--fl-warning-light); color: var(--fl-warning-text); }
.badge-hors_service { background: var(--fl-danger-light); color: var(--fl-danger-text); }
.badge-en_attente { background: var(--fl-warning-light); color: var(--fl-warning-text); }
.badge-validee { background: var(--fl-success-light); color: var(--fl-success-text); }
.badge-refusee { background: var(--fl-danger-light); color: var(--fl-danger-text); }
.badge-annulee { background: #f1f5f9; color: #64748b; }
.badge-terminee { background: var(--fl-purple-light); color: var(--fl-purple-text); }
.badge-planifiee { background: var(--fl-info-light); color: var(--fl-info-text); }
.badge-en_cours { background: var(--fl-warning-light); color: var(--fl-warning-text); }

/* Role badges */
.badge.bg-dark { background: #1e293b !important; }
.badge.bg-danger { background: var(--fl-danger) !important; }
.badge.bg-warning { background: var(--fl-warning) !important; color: white !important; }
.badge.bg-info { background: var(--fl-info) !important; color: white !important; }
.badge.bg-primary { background: var(--fl-primary) !important; }
.badge.bg-success { background: var(--fl-success) !important; }
.badge.bg-secondary { background: #64748b !important; }

/* === BUTTONS === */
.btn {
    font-weight: 600;
    font-size: 0.84rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s var(--ease-out);
    padding: 7px 16px;
}
.btn:active { transform: scale(0.98); }

.btn-sncf {
    background: var(--fl-primary);
    color: white;
    border: none;
}
.btn-sncf:hover {
    background: var(--fl-primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary { border-color: var(--fl-primary); color: var(--fl-primary); }
.btn-outline-primary:hover { background: var(--fl-primary); border-color: var(--fl-primary); color: white; }

.btn-outline-secondary { border-color: var(--fl-border); color: var(--fl-text-secondary); }
.btn-outline-secondary:hover { background: var(--fl-surface); border-color: var(--fl-border); color: var(--fl-text); }

.btn-outline-warning { border-color: var(--fl-warning); color: var(--fl-warning-text); }
.btn-outline-warning:hover { background: var(--fl-warning); border-color: var(--fl-warning); color: white; }

.btn-outline-danger { border-color: var(--fl-danger); color: var(--fl-danger); }
.btn-outline-danger:hover { background: var(--fl-danger); border-color: var(--fl-danger); color: white; }

.btn-success { background: var(--fl-success); border-color: var(--fl-success); color: white; }
.btn-success:hover { background: #059669; border-color: #059669; color: white; }

.btn-danger { background: var(--fl-danger); border-color: var(--fl-danger); color: white; }
.btn-danger:hover { background: #dc2626; border-color: #dc2626; color: white; }

/* === FILTERS BAR === */
.filters-bar {
    background: var(--fl-white);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    margin-bottom: 20px;
    border: 1px solid var(--fl-border);
    box-shadow: var(--shadow-xs);
}

/* === FORMS === */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--fl-border);
    font-size: 0.875rem;
    transition: all 0.15s;
    color: var(--fl-text);
}
.form-control:focus, .form-select:focus {
    border-color: var(--fl-primary);
    box-shadow: var(--fl-primary-ring);
}
.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fl-text);
    margin-bottom: 4px;
}

/* Quick select */
.badge-select {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 28px 4px 10px;
    border-radius: var(--radius-full);
    cursor: pointer;
    max-width: 140px;
    border: 1px solid var(--fl-border);
    background: var(--fl-surface);
}
.badge-select:focus {
    border-color: var(--fl-primary);
    box-shadow: var(--fl-primary-ring);
}

/* === LOGIN === */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
}
.login-container::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.login-card {
    background: var(--fl-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.5s var(--ease-out);
    border: 1px solid var(--fl-border);
}

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

/* === PAGINATION === */
.pagination { gap: 4px; }
.page-link {
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--fl-border);
    color: var(--fl-text);
}
.page-item.active .page-link {
    background: var(--fl-primary);
    border-color: var(--fl-primary);
}

/* === MODAL === */
.modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--fl-border);
    box-shadow: var(--shadow-xl);
}
.modal-header {
    border-bottom: 1px solid var(--fl-border-light);
    padding: 18px 24px;
}
.modal-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
.modal-body { padding: 24px; }
.modal-footer {
    border-top: 1px solid var(--fl-border-light);
    padding: 14px 24px;
}

/* === DROPDOWN === */
.dropdown-menu {
    border-radius: var(--radius-md);
    border: 1px solid var(--fl-border);
    box-shadow: var(--shadow-lg);
    padding: 4px;
    font-size: 0.84rem;
}
.dropdown-item {
    border-radius: var(--radius-xs);
    padding: 8px 12px;
    font-weight: 500;
}
.dropdown-item:hover { background: var(--fl-surface); }

/* === UTILITY === */
.text-mono { font-family: 'JetBrains Mono', monospace; }
.badge-xs { font-size: 0.62rem !important; padding: 2px 6px; }

/* === WIZARD === */
.wizard-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; gap: 2px; }
.wizard-step { display: flex; align-items: center; gap: 8px; }
.wizard-step-num {
    width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem;
    background: var(--fl-border); color: var(--fl-text-muted); transition: all 0.3s var(--ease-out);
    flex-shrink: 0;
}
.wizard-step.active .wizard-step-num { background: var(--fl-primary); color: white; }
.wizard-step.done .wizard-step-num { background: var(--fl-success); color: white; }
.wizard-step-label { font-size: 0.78rem; font-weight: 600; color: var(--fl-text-muted); }
.wizard-step.active .wizard-step-label { color: var(--fl-text); }
.wizard-step.done .wizard-step-label { color: var(--fl-success-text); }
.wizard-line { width: 48px; height: 2px; background: var(--fl-border); margin: 0 4px; flex-shrink: 0; }
.wizard-line.done { background: var(--fl-success); }

.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeIn 0.25s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.step-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 20px; }
.section-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: var(--fl-text-muted); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--fl-border-light); }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--fl-border-light); }

/* === AUTOCOMPLETE === */
.autocomplete-wrapper { position: relative; }
.autocomplete-list {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--fl-white);
    border: 1px solid var(--fl-border); border-top: none; border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg); z-index: 1000; max-height: 220px; overflow-y: auto; display: none;
}
.autocomplete-list.show { display: block; }
.autocomplete-item { padding: 10px 14px; cursor: pointer; font-size: 0.85rem; border-bottom: 1px solid var(--fl-border-light); transition: background 0.1s; }
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item:focus { background: var(--fl-primary-light); }
.autocomplete-item .ac-main { font-weight: 600; }
.autocomplete-item .ac-detail { font-size: 0.72rem; color: var(--fl-text-muted); }

/* === VEHICLE CARDS (reservation) === */
.vehicle-card {
    padding: 14px 18px; border: 2px solid var(--fl-border); border-radius: var(--radius-md);
    cursor: pointer; transition: all 0.15s var(--ease-out); margin-bottom: 8px;
    display: flex; align-items: center; justify-content: space-between;
}
.vehicle-card:hover { border-color: var(--fl-primary); background: var(--fl-primary-light); }
.vehicle-card.selected { border-color: var(--fl-primary); background: var(--fl-primary-light); box-shadow: var(--fl-primary-ring); }
.vehicle-card .vc-name { font-weight: 700; font-size: 0.9rem; }
.vehicle-card .vc-meta { font-size: 0.75rem; color: var(--fl-text-muted); margin-top: 2px; }
.vehicle-card .vc-distance { font-size: 0.72rem; font-weight: 600; }
.vehicle-card .vc-far { color: var(--fl-warning-text); }
.vehicle-card .vc-near { color: var(--fl-success-text); }
.no-results { text-align: center; padding: 24px; color: var(--fl-text-muted); font-size: 0.88rem; }

/* === MISSION BLOCKS === */
.mission-block {
    background: var(--fl-surface); border: 1px solid var(--fl-border-light);
    border-radius: var(--radius-md); padding: 16px; margin-bottom: 10px; position: relative;
}
.mission-block .remove-btn {
    position: absolute; top: 8px; right: 10px; background: none; border: none;
    color: var(--fl-danger); cursor: pointer; font-size: 1rem; padding: 4px 6px; border-radius: var(--radius-xs);
}
.mission-block .remove-btn:hover { background: var(--fl-danger-light); }
.distance-info { font-size: 0.78rem; color: var(--fl-text-secondary); margin-top: 6px; }
.distance-info strong { font-family: 'Outfit', sans-serif; }

/* === RECAP === */
.recap-section { margin-bottom: 16px; }
.recap-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; color: var(--fl-text-muted); margin-bottom: 4px; }
.recap-value { font-size: 0.92rem; font-weight: 600; }
.recap-missions .recap-mission { padding: 8px 12px; background: var(--fl-surface); border-radius: var(--radius-sm); margin-bottom: 4px; font-size: 0.84rem; }

/* === EDIT WARNING === */
.edit-warning {
    background: var(--fl-warning-light); color: var(--fl-warning-text);
    padding: 10px 16px; border-radius: var(--radius-md); font-size: 0.84rem;
    margin-bottom: 20px; border: 1px solid var(--fl-warning);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .main-content { padding: 20px; }
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
        box-shadow: var(--shadow-xl);
    }
    .main-wrapper {
        margin-left: 0 !important;
    }
    .main-content { padding: 16px; }
}

@media (max-width: 768px) {
    .page-header h1 { font-size: 1.25rem; }
    .page-header.d-flex { flex-direction: column; align-items: flex-start !important; gap: 12px; }
    .filters-bar .row { gap: 8px; }
    .card-stat .stat-value { font-size: 1.4rem; }
    .topbar { padding: 0 16px; }
    .wizard-steps { gap: 4px; }
    .wizard-step-label { display: none; }
    .wizard-line { width: 24px; }
    .wizard-nav { flex-direction: column; gap: 8px; }
    .wizard-nav .btn { width: 100%; }
    .vehicle-card { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 576px) {
    .main-content { padding: 12px; }
    .table { font-size: 0.78rem; }
    .table th, .table td { padding: 8px 10px; }
    .btn-sm { font-size: 0.75rem; padding: 4px 8px; }
}
