:root {
    --sidebar-w: 250px;
    --sidebar-bg: #1e293b;
    --sidebar-text: #94a3b8;
    --sidebar-hover: #334155;
    --accent: #3b82f6;
}

body {
    background: #f1f5f9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Sidebar ─────────────────────────────── */

#sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    transition: transform .3s ease;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.sidebar-section {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    padding: 1.25rem 1.25rem .4rem;
}

#sidebar .nav-link {
    color: var(--sidebar-text);
    padding: .65rem 1.15rem;
    border-radius: .5rem;
    margin: .1rem .75rem;
    transition: all .15s;
    font-size: .9rem;
}

#sidebar .nav-link:hover {
    background: var(--sidebar-hover);
    color: #fff;
}

#sidebar .nav-link.active {
    background: var(--accent);
    color: #fff;
}

#sidebar .nav-link i {
    width: 1.4rem;
    text-align: center;
    margin-right: .5rem;
}

.sidebar-user {
    padding: 1rem 1.25rem;
    border-top: 1px solid #334155;
    color: var(--sidebar-text);
    font-size: .85rem;
    position: sticky;
    bottom: 0;
    width: 100%;
    background: var(--sidebar-bg);
    margin-top: auto;
}

.sidebar-user strong {
    color: #e2e8f0;
}

/* ── Admin view banner ────────────────────── */

.admin-view-banner {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    padding: .5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .875rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.admin-view-banner i {
    font-size: 1rem;
}

.admin-view-banner .garage-name {
    font-weight: 700;
    font-size: 1rem;
}

/* ── Main Content ────────────────────────── */

.main-content {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
}

.top-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: .75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
}

/* ── Cards ───────────────────────────────── */

.stat-card {
    border: none;
    border-radius: .875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    transition: transform .15s;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .card-body {
    padding: .875rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-value {
    font-size: clamp(1.05rem, 4.2vw, 1.35rem);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    white-space: nowrap;
}

.stat-card .card-body > .d-flex {
    gap: 0.6rem;
}

.stat-card .card-body > .d-flex > div:not(.stat-icon) {
    min-width: 0;
    flex: 1;
}

.stat-label {
    font-size: clamp(0.72rem, 3vw, 0.82rem);
    color: #64748b;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
}

/* ── Admin Cockpit Cards ─────────────────── */

.garage-card {
    border: none;
    border-radius: .875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    transition: all .2s;
    overflow: hidden;
}

.garage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.garage-card .card-header-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #818cf8);
}

.garage-kpi {
    font-size: .8rem;
    color: #64748b;
}

.garage-kpi .value {
    font-weight: 700;
    color: #1e293b;
    font-size: .95rem;
}

/* ── Quick Actions ───────────────────────── */

.quick-action {
    padding: 1.25rem;
    border-radius: .875rem;
    text-align: center;
    text-decoration: none;
    display: block;
    color: #fff;
    transition: all .2s;
    font-weight: 600;
}

.quick-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    color: #fff;
}

.quick-action i {
    font-size: 1.75rem;
    display: block;
    margin-bottom: .4rem;
}

/* ── Tables ──────────────────────────────── */

.table-card {
    border: none;
    border-radius: .875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.badge-entry {
    background: #dcfce7;
    color: #166534;
    font-weight: 500;
}

.badge-exit {
    background: #fee2e2;
    color: #991b1b;
    font-weight: 500;
}

/* ── Location badges ─────────────────────── */

.badge-garage {
    background: #dbeafe;
    color: #1e40af;
    font-size: .72rem;
    font-weight: 600;
    padding: .2rem .5rem;
    border-radius: .4rem;
    white-space: nowrap;
}

.badge-box {
    background: #fef3c7;
    color: #92400e;
    font-size: .72rem;
    font-weight: 600;
    padding: .2rem .5rem;
    border-radius: .4rem;
    white-space: nowrap;
}

/* ── Notes display ───────────────────────── */

.note-cell {
    max-width: 200px;
}

.note-text {
    font-size: .78rem;
    color: #64748b;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: help;
}

.note-text.full {
    display: block;
    -webkit-line-clamp: unset;
}

.note-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .35rem;
    padding: .15rem .45rem;
    cursor: help;
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.note-badge i {
    flex-shrink: 0;
    color: #94a3b8;
}

/* ── Forms ────────────────────────────────── */

.form-card {
    border: none;
    border-radius: .875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    max-width: 600px;
}

/* ── Overlay (mobile) ────────────────────── */

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1999;
}

.sidebar-overlay.show {
    display: block;
}

/* ── Burger ──────────────────────────────── */

.burger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #1e293b;
    cursor: pointer;
}

/* ── Login ────────────────────────────────── */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

/* ── Profit colors ───────────────────────── */

.text-profit-positive { color: #16a34a; }
.text-profit-negative { color: #dc2626; }

/* ── Misc ────────────────────────────────── */

.stock-info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: .5rem;
    padding: .6rem 1rem;
    font-size: .9rem;
    color: #1e40af;
}

/* ── Charts ──────────────────────────────── */

.chart-card {
    border: none;
    border-radius: .875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    background: #fff;
}

.chart-container {
    position: relative;
    height: 240px;
}

.chart-container-sm {
    position: relative;
    height: 200px;
}

.kpi-bar {
    background: linear-gradient(135deg, #f8fafc, #fff);
    border: 1px solid #e2e8f0;
    border-radius: .875rem;
    padding: 1.25rem;
}

/* ── Filter Dropdowns ───────────────────── */

.card:has(#filter-form) {
    position: relative;
    z-index: 10;
}

#filter-form .dropdown-menu {
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    border: 1px solid #cbd5e1;
}

#filter-form,
.card-body:has(#filter-form),
.card:has(#filter-form) {
    overflow: visible;
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 768px) {
    #sidebar {
        transform: translateX(-100%);
    }

    #sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .burger-btn {
        display: block;
    }


    .chart-container {
        height: 200px;
    }

    .chart-container-sm {
        height: 180px;
    }

    .note-cell {
        max-width: 140px;
    }
}

/* ── Mobile tables (card layout) ─────────── */

@media (max-width: 768px) {
    .table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive tr,
    .table-responsive td {
        display: block;
    }

    .table-responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-responsive tr {
        border: 1px solid #e2e8f0;
        margin-bottom: .75rem;
        border-radius: .75rem;
        background: #fff;
        padding: .6rem .75rem;
        box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
    }

    .table-responsive td {
        border: none !important;
        background: none !important;
        width: auto !important;
        display: inline-flex !important;
        align-items: center;
    }

    /* Identité — ligne 1 */
    .table-responsive td[data-label="Taille"],
    .table-responsive td[data-label="Marque"],
    .table-responsive td[data-label="Saison"],
    .table-responsive td[data-label="Type"],
    .table-responsive td[data-label="Pneu"] {
        order: 1;
        font-size: 1rem;
    }

    .table-responsive td[data-label="Taille"] { font-weight: 700; color: #1e293b; }
    .table-responsive td[data-label="Marque"] { color: #64748b; font-size: .9rem; }
    .table-responsive td[data-label="Saison"],
    .table-responsive td[data-label="Type"] { font-size: .85rem; }

    /* Auteur — aligné à droite sur ligne 1 */
    .table-responsive td[data-label="Par"] {
        order: 2;
        margin-left: auto;
        font-size: .78rem;
        color: #94a3b8;
    }

    /* Séparateur entre ligne 1 et ligne 2 */
    .table-responsive tr::after {
        content: "";
        order: 3;
        flex: 1 0 100%;
        height: 1px;
        background: #f1f5f9;
        margin: .4rem 0 .5rem 0;
    }

    /* Stats — ligne 2 */
    .table-responsive td[data-label="Pneus"],
    .table-responsive td[data-label="Prix achat"],
    .table-responsive td[data-label="Valeur stock"],
    .table-responsive td[data-label="Qte"],
    .table-responsive td[data-label="Prix"],
    .table-responsive td[data-label="Total"],
    .table-responsive td[data-label="Date"],
    .table-responsive td[data-label="Lieu"] {
        order: 4;
        margin-right: .4rem;
        margin-top: .2rem;
        white-space: nowrap;
        font-size: .75rem;
        color: #475569;
        background: #f8fafc !important;
        padding: .15rem .4rem !important;
        border-radius: .3rem;
        border: 1px solid #f1f5f9 !important;
    }

    /* Notes — ligne 2 aussi */
    .table-responsive td[data-label="Notes"] {
        order: 5;
        flex: 1 0 100%;
        margin-top: .2rem;
        font-size: .75rem;
        color: #64748b;
        font-style: italic;
        background: none !important;
        border: none !important;
        padding: 0 !important;
    }

    /* Actions — toujours à droite */
    .table-responsive td[data-label="Actions"],
    .table-responsive .text-end {
        order: 10;
        flex: 1 !important;
        display: flex !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
        margin-top: .25rem;
        background: none !important;
        border: none !important;
    }

    /* Seulement si la cellule porte une étiquette : sinon, il ne resterait
       qu'un « : » orphelin devant la valeur. */
    .table-responsive td[data-label]:before {
        content: attr(data-label) " : ";
        font-weight: 600;
        margin-right: .4rem;
        color: #94a3b8;
        font-size: .72rem;
    }

    /* Suppression des labels redondants */
    .table-responsive td[data-label="Taille"]:before,
    .table-responsive td[data-label="Marque"]:before,
    .table-responsive td[data-label="Saison"]:before,
    .table-responsive td[data-label="Type"]:before,
    .table-responsive td[data-label="Pneu"]:before,
    .table-responsive td[data-label="Notes"]:before,
    .table-responsive td[data-label="Actions"]:before {
        display: none;
    }

    .table-responsive tfoot {
        display: none;
    }
}


/* La classe text-muted de Bootstrap est prévue pour un fond clair : sur la
   barre latérale sombre, le contraste tombe sous le seuil de lisibilité. */
.sidebar-user .text-muted,
#sidebar .text-muted {
    color: #94a3b8 !important;
}


/* ══════════════════════════════════════════════════════════════
   THÈME SOMBRE

   Bootstrap 5.3 bascule seul ses composants via data-bs-theme="dark"
   (posé par theme.js). Ce bloc ne fait que deux choses :
   1. caler les variables Bootstrap sur la gamme slate de GestiPneu,
      au lieu du gris neutre par défaut de Bootstrap ;
   2. surcharger les couleurs propres à l'application, écrites en dur
      pour le thème clair.

   Les règles du thème clair, plus haut, ne sont pas modifiées.
   ══════════════════════════════════════════════════════════════ */

[data-bs-theme="dark"] {
    --fond:       #0B1220;
    --surface:    #131D30;
    --surface-2:  #1A2539;
    --bordure:    #26324A;
    --texte:      #E2E8F0;
    --texte-2:    #94A3B8;

    --sidebar-bg:    #0A0F1C;
    --sidebar-hover: #1E293B;

    --bs-body-bg: var(--fond);
    --bs-body-bg-rgb: 11, 18, 32;
    --bs-body-color: var(--texte);
    --bs-body-color-rgb: 226, 232, 240;
    --bs-emphasis-color: #F8FAFC;
    --bs-secondary-color: var(--texte-2);
    --bs-secondary-bg: var(--surface-2);
    --bs-tertiary-bg: var(--surface);
    --bs-border-color: var(--bordure);
    --bs-border-color-translucent: rgba(148, 163, 184, .16);
    --bs-link-color: #60A5FA;
    --bs-link-hover-color: #93C5FD;
    --bs-link-color-rgb: 96, 165, 250;
    color-scheme: dark;
}

[data-bs-theme="dark"] body { background: var(--fond); }

/* ── Barre latérale : se détache du fond de page ── */
[data-bs-theme="dark"] #sidebar { border-right: 1px solid var(--bordure); }
[data-bs-theme="dark"] .sidebar-brand,
[data-bs-theme="dark"] .sidebar-user { border-color: var(--bordure); }

/* ── Barre du haut ── */
[data-bs-theme="dark"] .top-bar {
    background: rgba(11, 18, 32, .85);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--bordure);
}
[data-bs-theme="dark"] .page-title,
[data-bs-theme="dark"] .burger-btn { color: var(--texte); }

/* ── Cartes ── */
[data-bs-theme="dark"] .card {
    --bs-card-bg: var(--surface);
    --bs-card-border-color: var(--bordure);
    --bs-card-cap-bg: var(--surface);
}
[data-bs-theme="dark"] .stat-card,
[data-bs-theme="dark"] .garage-card,
[data-bs-theme="dark"] .table-card,
[data-bs-theme="dark"] .form-card,
[data-bs-theme="dark"] .chart-card {
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--bordure);
}
[data-bs-theme="dark"] .garage-card:hover { box-shadow: 0 0 0 1px #3B82F6, 0 10px 30px rgba(0, 0, 0, .4); }
[data-bs-theme="dark"] .stat-value,
[data-bs-theme="dark"] .garage-kpi .value { color: var(--texte); }
[data-bs-theme="dark"] .stat-label,
[data-bs-theme="dark"] .garage-kpi { color: var(--texte-2); }

[data-bs-theme="dark"] .kpi-bar {
    background: linear-gradient(135deg, var(--surface-2), var(--surface));
    border-color: var(--bordure);
}

/* ── Classes Bootstrap figées sur un fond clair ── */
[data-bs-theme="dark"] .bg-white { background-color: var(--surface) !important; }
/* Les étiquettes de dimension combinent bg-white et text-dark : elles
   basculent ensemble. Un « text-dark » sur fond jaune (bg-warning) reste,
   lui, sombre : c'est ce qui le rend lisible. */
[data-bs-theme="dark"] .bg-white.text-dark { color: var(--texte) !important; }
[data-bs-theme="dark"] .table-light {
    --bs-table-color: var(--texte-2);
    --bs-table-bg: var(--surface-2);
    --bs-table-border-color: var(--bordure);
    --bs-table-striped-bg: var(--surface-2);
    --bs-table-hover-bg: var(--surface-2);
    --bs-table-hover-color: var(--texte);
    color: var(--texte-2);
    border-color: var(--bordure);
}
[data-bs-theme="dark"] .table { --bs-table-bg: transparent; }
[data-bs-theme="dark"] .table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: rgba(59, 130, 246, .07);
}

/* ── Badges de type et de lieu ── */
[data-bs-theme="dark"] .badge-entry  { background: rgba(34, 197, 94, .16);  color: #86EFAC; }
[data-bs-theme="dark"] .badge-exit   { background: rgba(239, 68, 68, .16);  color: #FCA5A5; }
[data-bs-theme="dark"] .badge-garage { background: rgba(59, 130, 246, .18); color: #93C5FD; }
[data-bs-theme="dark"] .badge-box    { background: rgba(245, 158, 11, .16); color: #FCD34D; }
[data-bs-theme="dark"] .note-badge {
    background: var(--surface-2);
    border-color: var(--bordure);
    color: var(--texte-2);
}

/* ── Encadrés ── */
[data-bs-theme="dark"] .stock-info-box {
    background: rgba(59, 130, 246, .12);
    border-color: rgba(59, 130, 246, .35);
    color: #93C5FD;
}
[data-bs-theme="dark"] .text-profit-positive { color: #4ADE80; }
[data-bs-theme="dark"] .text-profit-negative { color: #F87171; }

/* Cases « au garage / au dépôt » du tableau de bord. */
.case-garage { background: #EFF6FF; }
.case-depot  { background: #FFFBEB; }
.case-depot .valeur { color: #92400E; }
[data-bs-theme="dark"] .case-garage { background: rgba(59, 130, 246, .12); }
[data-bs-theme="dark"] .case-depot  { background: rgba(245, 158, 11, .1); }
[data-bs-theme="dark"] .case-depot .valeur { color: #FCD34D; }

/* ── Formulaires et menus ── */
[data-bs-theme="dark"] #filter-form .dropdown-menu { border-color: var(--bordure); }
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .input-group-text {
    background-color: var(--surface-2);
    border-color: var(--bordure);
}
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .25);
}

/* Liste déroulante de recherche de pneu (page Vente). */
[data-bs-theme="dark"] .custom-dropdown-list {
    background: var(--surface);
    border-color: var(--bordure);
}
[data-bs-theme="dark"] .pneu-item { border-bottom-color: var(--bordure); }
[data-bs-theme="dark"] .pneu-item:hover { background: var(--surface-2); }

/* Invitation à installer l'application sur iOS. */
[data-bs-theme="dark"] .ios-pwa-popup {
    background: var(--surface);
    border-color: var(--bordure);
    color: var(--texte);
}
[data-bs-theme="dark"] .ios-pwa-popup p { color: var(--texte-2); }
[data-bs-theme="dark"] .ios-pwa-popup .instructions { border-top-color: var(--bordure); }

/* ── Tableaux transformés en cartes sur mobile ── */
@media (max-width: 768px) {
    [data-bs-theme="dark"] .table-responsive tr {
        background: var(--surface);
        border-color: var(--bordure);
        box-shadow: none;
    }
    [data-bs-theme="dark"] .table-responsive td[data-label="Taille"] { color: var(--texte); }
    [data-bs-theme="dark"] .table-responsive tr::after { background: var(--bordure); }
    [data-bs-theme="dark"] .table-responsive td[data-label="Lieu"] {
        color: var(--texte-2);
        background: var(--surface-2) !important;
        border-color: var(--bordure) !important;
    }
}

/* ══ Sélecteur de thème, dans la barre latérale ══ */
.theme-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    margin-top: .6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}
.theme-switch button {
    border: 0;
    background: transparent;
    color: var(--sidebar-text);
    width: 30px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.theme-switch button:hover { color: #fff; }
.theme-switch button.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, .45);
}
.theme-switch button:focus-visible { outline: 2px solid #93C5FD; outline-offset: 1px; }

/* Boutons à contour sombre (« Détail » des bandeaux d'alerte) : sur fond
   sombre, un contour noir disparaît. Ils passent en contour clair. */
[data-bs-theme="dark"] .btn-outline-dark {
    --bs-btn-color: var(--texte);
    --bs-btn-border-color: rgba(226, 232, 240, .35);
    --bs-btn-hover-color: var(--fond);
    --bs-btn-hover-bg: var(--texte);
    --bs-btn-hover-border-color: var(--texte);
    --bs-btn-active-color: var(--fond);
    --bs-btn-active-bg: var(--texte);
}


/* ══ Marqueur des fonctions réservées à la formule Pro ══ */
.tag-pro {
    display: inline-block;
    margin-left: .35rem;
    padding: .05rem .38rem;
    border-radius: .3rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.5;
    vertical-align: middle;
    color: #fff;
    background: linear-gradient(120deg, #3b82f6, #6366f1);
}
.tag-pro-clair { background: rgba(255, 255, 255, .25); }

.pro-verrou {
    width: 64px; height: 64px; margin: 0 auto; border-radius: 18px;
    display: grid; place-items: center; font-size: 1.8rem; color: #fff;
    background: linear-gradient(120deg, #3b82f6, #6366f1 55%, #22d3ee);
    box-shadow: 0 10px 28px rgba(59, 130, 246, .35);
}

/* Bascule de formule dans la liste des garages (administration). */
.formule-bascule {
    display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
    background: var(--bs-tertiary-bg, #f1f5f9); border: 1px solid var(--bs-border-color, #e2e8f0);
}
.formule-bascule button {
    border: 0; background: transparent; border-radius: 999px;
    padding: .2rem .7rem; font-size: .78rem; font-weight: 600;
    color: var(--bs-secondary-color, #64748b); cursor: pointer;
}
.formule-bascule button:hover:not(:disabled) { color: var(--bs-body-color, #1e293b); }
.formule-bascule button.actif { background: #64748b; color: #fff; cursor: default; }
.formule-bascule button.actif.pro { background: linear-gradient(120deg, #3b82f6, #6366f1); }
.formule-bascule button:disabled { opacity: 1; }
