body {
    font-family: sans-serif;
    margin: 0;
    display: flex;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    height: 100vh;
    padding: 20px;
    flex-shrink: 0; /* Prevent sidebar from shrinking */
}

.logo h2 {
    text-align: center;
    margin-bottom: 30px;
}

.menu {
    list-style: none;
    padding: 0;
}

.menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.menu a:hover {
    background-color: #34495e;
}

.menu-item .sub-menu {
    display: none;
    list-style: none;
    padding-left: 20px;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    min-width: 0; /* The key fix: allows the content to scroll without expanding the container */
}