    /* =====================================
   DEPARTMENT SIDEBAR
===================================== */

.department-sidebar {
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 45, 80, 0.08);
    margin-bottom: 25px;
}

/* Blue rounded heading */

.department-sidebar .department-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0c412a;
    color: #ffffff;
    padding: 17px 16px;
    border-radius: 9px 9px 0 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.department-sidebar-heading i {
    font-size: 19px;
    color: #ffffff;
}

/* Remove default list styling */

.department-sidebar .department-menu {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    background: #ffffff;
}

.department-sidebar .department-menu li {
    list-style: none;
    position: relative;
    margin: 3px 0;
    padding: 0;
}

/* Menu links */

.department-sidebar .department-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 12px 16px;
    margin: 0;
    color: #34465a;
    background: #ffffff;
    border-left: 4px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: background 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
}

/* Icons */

.department-sidebar .department-menu li a i {
    width: 19px;
    min-width: 19px;
    text-align: center;
    font-size: 16px;
    color: #0c412a;
    transition: color 0.25s ease;
}

/* Hover state */

.department-sidebar .department-menu li a:hover {
    background: #edf5ff;
    color: #0c412a;
    border-left-color: #0c412a;
}

.department-sidebar .department-menu li a:hover i {
    color: #0c412a;
}

/* Active menu: light blue with dark blue left edge */

.department-sidebar .department-menu li.active > a,
.department-sidebar .department-menu li > a.active {
    background: #e1fef2;
    color: #0c412a;
  border-left-color: #0c412a;
    font-weight: 700;
}

.department-sidebar .department-menu li.active > a i,
.department-sidebar .department-menu li > a.active i {
    color: #06366b;
}

/* Keyboard accessibility */

.department-sidebar .department-menu li a:focus-visible {
    outline: 2px solid #0c412a;
    outline-offset: -2px;
}

/* Mobile adjustments */

@media (max-width: 767px) {
    .department-sidebar {
        margin-bottom: 20px;
    }

    .department-sidebar .department-sidebar-heading {
        padding: 14px 15px;
        font-size: 16px;
    }

    .department-sidebar .department-menu li a {
        padding: 12px 15px;
    }
}