body {
    overflow-x: hidden;
    background: #f8f9fa;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    min-height: 100vh;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #343a40;
    color: #fff;
    transition: all 0.3s;
    min-height: 100vh;
}

#sidebar.active {
    margin-left: -250px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-column: column;
    background: #f8f9fa;
    transition: all 0.3s;
}


#sidebar .sidebar-header {
    padding: 20px;
    background: #212529;
}

#sidebar ul p {
    color: #07adcf;
    padding: 10px;
}

#sidebar ul li a {
    padding: 15px 20px;
    display: block;
    color: #adb5bd;
    text-decoration: none;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #495057;
}

@media (max-width: 768px) {
    #sidebar { margin-left: -250px; }
    #sidebar.active { margin-left: 0; }
}

#sidebar ul li.active > a {
    color: #fff;
    background: rgba(120, 138, 80, 0.92); /* Subtle highlight */
    border-left: 4px solid #0d6efd;      /* Blue vertical line */
    font-weight: 600;
    border-left: 15px solid;
}

#sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Ensure icons are spaced nicely */
#sidebar ul li a i {
    width: 20px;
}

/* The Bell Container/Icon */
.nav-link .fa-bell {
    display: inline-block; /* Required for transforms to work */
    transition: all 0.3s ease;
}
