
        :root {
            --sidebar-width: 250px;
            --primary-color: #0d6efd;
            --sidebar-bg: #f8f9fa;
            --sidebar-hover: #e9ecef;
            --bottom-nav-height: 60px;
        }
        
        body {
     
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        /* ===== SIDEBAR STYLES ===== */
        .sidebar {
            width: var(--sidebar-width);
            background: var(--sidebar-bg);
            border-right: 1px solid #dee2e6;
            height: 100vh;
            position: fixed;
            top: 0;
            transition: all 0.3s ease;
            z-index: 1000;
            overflow-y: scroll;
            padding-bottom: 5rem;
            scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
        }
        .sidebar::-webkit-scrollbar {
    display: none;
}
        
        .sidebar-brand {
            padding: 1.5rem 1rem;
            font-weight: bold;
            border-bottom: 1px solid #dee2e6;
            text-align: center;
            font-size: 1.2rem;
            color: var(--primary-color);
        }
        
        .sidebar-nav {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .sidebar-item {
            margin: 0;
        }
        
        .sidebar-link {
            display: flex;
            align-items: center;
            padding: 0.8rem 1rem;
            color: #495057;
            text-decoration: none;
            transition: all 0.2s;
            border-left: 3px solid transparent;
        }
        
        .sidebar-link:hover, .sidebar-link.active {
            background: var(--sidebar-hover);
            color: var(--primary-color);
            border-left-color: var(--primary-color);
        }
        
        .sidebar-icon {
            width: 1.5rem;
            margin-right: 0.75rem;
            text-align: center;
        }
        
        .sidebar-dropdown {
            list-style: none;
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .sidebar-dropdown.show {
            max-height: 500px;
        }
        
        .sidebar-dropdown .sidebar-link {
            padding-left: 2.5rem;
        }
        
        /* ===== MAIN CONTENT ===== */
        .main-content {
            flex: 1;
            margin-left: var(--sidebar-width);
            transition: margin-left 0.3s ease;
            padding-bottom: var(--bottom-nav-height);
        }
        
        /* ===== BOTTOM NAV FOR MOBILE ===== */
        .bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: var(--bottom-nav-height);
            background: white;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }
        
        .bottom-nav-list {
            display: flex;
            justify-content: space-around;
            list-style: none;
            padding: 0;
            margin: 0;
            height: 100%;
        }
        
        .bottom-nav-item {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .bottom-nav-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #6c757d;
            font-size: 0.7rem;
            width: 100%;
            height: 100%;
        }
        
        .bottom-nav-link.active {
            color: var(--primary-color);
        }
        
        .bottom-nav-icon {
            font-size: 1.2rem;
            margin-bottom: 0.2rem;
        }
        
        /* ===== TOGGLE BUTTON ===== */
        .sidebar-toggle {
            display: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            color: gray;
            border: none;
        }
        
        /* ===== RESPONSIVE STYLES ===== */
        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(-100%);
                box-shadow: none;
                            top: 0;

            }
            
            .sidebar.show {
                transform: translateX(0);
                box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            }
            
            .main-content {
                margin-left: 0;
            }
            
            .bottom-nav {
                display: block;
            }
            
            .sidebar-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }
        
        /* User dropdown adjustments */
        .user-dropdown {
            margin-top: auto;
            border-top: 1px solid #dee2e6;
        }
    
