.dropdown-content {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    margin-top: 5px !important;
    /* Ajuste l'espacement */
    z-index: 1000 !important;
    background: #fff;
}

.dropdown-content li {
    border-top: 1px solid #ececec;
}

.dropdown-content li a {
    color: #FFF;
    font-weight: bold;
    font-size: 0.7em;
}

.dropdown-content li a:hover {
    color: #212121;
}

.dropdown-content li.active {
    background-color: #ececec !important;
}

.dropdown-content li.active a {
    color: #212121 !important;
}

.row-_entreprise {
    top: 64px !important;
}

#loader-container2 {
    background: #fff;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0%;
    z-index: 100;
}

#loader-container2 {
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 992px) {
    .row-_entreprise {
        top: 56px !important;
    }
}

/* Gestion du menu principal */
body {
    margin: 0;
}

/* Menu toujours visible sur desktop */
.sidenav {
    height: 100vh;
    background-color: white;
    overflow-x: hidden;
    transition: width 0.3s;
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    /* Replié par défaut */
}

@media (min-width: 993px) {
    .sidenav:hover {
        width: 250px;
    }

    .sidenav:hover .menu-label {
        display: inline;
    }
}

/* Mobile : menu masqué par défaut */
@media (max-width: 992px) {
    .sidenav {
        width: 250px;
        transform: translateX(-100%);
    }
}

.sidenav .material-icons {
    min-width: 40px;
    text-align: center;
}

.menu-label {
    display: none;
    white-space: nowrap;
}

.sidenav .collapsible-header {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.mobile-toggle {
    margin: 10px;
    display: none;
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: inline-block;
    }

    .menu-label {
        display: inline !important;
    }
}