@charset "utf-8";
/* Your styles here */

/* ✅ Ensure Sidebar is Fixed and Properly Sized */
#main-sidebar {
    width: 250px; /* Keep this consistent */
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Enable scrolling */
    background: #222; /* Keep it dark */
    z-index: 1000; /* Ensure it's above other elements */
}

/* ✅ Fix Sidebar Link Overflow */
#main-sidebar .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-sidebar .nav-list li {
    width: 100%;
}

#main-sidebar .nav-list li a {
    display: block;
    width: 100%;
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Show "..." if text overflows */
    padding: 10px 15px;
    color: white;
    text-decoration: none;
}

/* ✅ Active Sidebar Item */
#main-sidebar .nav-list li.active a {
    background: #007bff;
    color: white;
    border-left: 4px solid #0056b3;
}

/* ✅ Fix Overlapping Main Content */
#main-content {
    margin-left: 250px; /* Match sidebar width */
    padding: 20px;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
