/* ===== RESPONSIVE STYLES ===== */

/* Tablet */
@media (max-width: 992px) {
    .top-bar .container-fluid {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .top-bar .site-brand {
        order: 1;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        order: 2;
    }
    
    .top-bar .user-section {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
    
    .top-bar .action-buttons {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }
    
    .app-wrapper {
        flex-direction: column;
        padding: 0 15px;
        gap: 15px;
    }
    
    .sidebar-menu {
        width: 280px;
        position: fixed;
        right: -300px;
        top: 120px;
        bottom: 0;
        z-index: 1050;
        border-radius: 16px 0 0 16px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        height: calc(100vh - 140px);
        overflow-y: auto;
        max-height: calc(100vh - 140px);
    }
    
    .sidebar-menu.mobile-open {
        right: 0;
    }

    #sidebarToggleBtn {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .top-bar .user-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .top-bar .action-buttons {
        justify-content: center;
        margin-bottom: 5px;
    }
    
    .sidebar-menu {
        width: 85%;
        right: -85%;
    }
}

/* Desktop only (for sidebar toggle) */
@media (min-width: 993px) {
    #sidebarToggleBtn {
        display: inline-flex !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}