/* Styles pour le positionnement correct du footer */

/* S'assurer que le footer est en dehors de la structure dashboard-wrapper */
.footer-container {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Styles pour le footer */
footer {
    clear: both;
    position: relative;
    margin-top: 20px;
    width: 100%;
    z-index: 100;
}

/* Ajustements pour les écrans de différentes tailles */
@media (min-width: 768px) {
    footer {
        margin-left: 0;
    }
    
    /* Quand la barre latérale est visible */
    .dashboard-wrapper + .footer-container + footer {
        margin-left: 250px;
        width: calc(100% - 250px);
    }
}

/* Pour les petits écrans où la barre latérale est cachée */
@media (max-width: 767px) {
    footer {
        margin-left: 0;
        width: 100%;
    }
}
