body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.topbar {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    height: 40px;
    margin-right: 20px;
}

.topbar h1 {
    font-size: 1.5em;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.container {
    display: flex;
    min-height: 100vh;
    flex-wrap: nowrap;
}

.sidebar {
    min-width: 250px; /* Minimum width to ensure space for content */
    background-color: #f4f4f4;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    flex: 0 0 auto; /* Prevents sidebar from stretching or shrinking */
}

.sidebar .section {
    margin-bottom: 20px;
}

.sidebar .section h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li {
    margin: 10px 0;
}

.sidebar a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: #ddd;
    text-decoration: none;
}

.content {
    flex: 1; /* Allows the content area to take up the remaining space */
    padding: 20px;
    min-width: 0; /* Prevents content from overflowing */
}
