   .wrapper {
            display: flex;
            width: 100%;
            align-items: stretch;
        }
        
        .sidebar {
            width: 250px;
            min-height: 100vh;
            background-color: #343a40;
            color: white;
            transition: all 0.3s;
            position: fixed;
            z-index: 999;
            height: 100%;
            overflow-y:auto;
        }
        
        .sidebar.collapsed {
            margin-left: -250px;
        }
        
        .sidebar .nav-link {
            color: white !important; /* Force white color for all nav links */
            padding: 3px 10px;
        }
        
        .sidebar .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .sidebar .sub-menu {
            padding-left: 20px;
            display: none; /* Hide submenus by default */
        }
        
        .sidebar .sub-menu .nav-link {
            padding-left: 15px;
            font-size: 0.9rem;
        }
        
        .content {
            width: calc(100% - 250px);
            min-height: 100vh;
            margin-left: 250px;
            transition: all 0.3s;
        }
        
        .content.expanded {
            width: 100%;
            margin-left: 0;
        }
        
        @media (max-width: 768px) {
            .sidebar {
                margin-left: -250px;
            }
            
            .sidebar.active {
                margin-left: 0;
            }
            
            .content {
                width: 100%;
                margin-left: 0;
            }
            
            .overlay {
                display: none;
                position: fixed;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.7);
                z-index: 998;
                opacity: 0;
                transition: all 0.5s ease-in-out;
            }
            
            .overlay.active {
                display: block;
                opacity: 1;
            }
        }
        
        /* Make sure text is visible in mobile view */
        .sidebar .d-none.d-sm-inline {
            color: white !important;
        }