/* Profil edit — 1 champ par ligne sous 992px */
@media (max-width: 991.98px) {
    .card-body .row > [class*="col-"]:not(.col-12) {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Dashboard cards : boutons d'action à la ligne sous 992px */
@media (max-width: 991.98px) {
    .dash-item-actions {
        flex: 0 0 100%;
        display: flex;
        justify-content: flex-end;
        gap: .25rem;
        margin-top: .25rem;
    }
}

/* Sidebar : volet caché sous 992px (hamburger actif) */
@media (max-width: 991.98px) {
    .sidebar {
        width: 100% !important;
        height: 100vh !important;
        overflow-y: auto !important;
        transform: translateX(-100%) !important;
    }
    .sidebar.sidebar-open {
        transform: translateX(0) !important;
    }
    .main-content {
        margin-left: 0 !important;
    }
}
