/* Fix Sidebar Height */
body {
    display: flex;
    min-height: 100vh; /* Force body to take full viewport height */
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50; /* Your sidebar color */
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed; /* Makes sidebar stay in place while scrolling */
    top: 0;
    left: 0;
    height: 100%; /* Full height of the screen */
    overflow-y: auto; /* Scrollable if content is too long */
    z-index: 1000;
}

.content {
    margin-left: 250px; /* Push content to the right of sidebar */
    flex: 1;
    padding: 30px;
    width: calc(100% - 250px); /* Ensure content takes remaining width */
    box-sizing: border-box;
    min-height: 100vh; /* Ensure content area is at least full screen height */
}

/* Ensure links in sidebar look good */
.sidebar a {
    color: #b8c7ce;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.sidebar a:hover, .sidebar a.active {
    background-color: #1a252f;
    color: white;
    border-left-color: #3498db; /* Highlight color */
}

.sidebar h2 {
    text-align: center;
    padding: 20px 0;
    background-color: #1a252f;
    margin: 0;
    font-size: 20px;
    border-bottom: 1px solid #34495e;
}