/* Dashboard Sidebar for Public Pages
 * Stili per sidebar dashboard su pagine pubbliche (solo mobile)
 */

/* Mobile Sidebar Styles */
@media (max-width: 991.98px) {
    .dashboard-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1045;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        /* Override dashboard styles if needed */
        height: 100vh !important;
        max-width: 85vw;
        display: block !important; /* Ensure it's not hidden by desktop logic */
    }
    
    .dashboard-sidebar.show {
        transform: translateX(0);
    }
    
    .dashboard-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    
    .dashboard-sidebar-overlay.show {
        display: block;
        opacity: 1;
    }
}

/* Hide on Desktop Public Pages (since we have public navbar) */
@media (min-width: 992px) {
    .dashboard-sidebar,
    .dashboard-sidebar-overlay {
        display: none !important;
    }
}

