.department {
    margin-bottom: 30px;
    border-left: 3px solid #007bff;
    padding-left: 15px;
}
.department h3 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #007bff;
}
.employee {
    padding-left: 20px;
    margin-bottom: 10px;
    border-left: 2px solid #6c757d;
}
.employee strong {
    font-weight: bold;
    color: #343a40;
}
.employee .role {
    font-style: italic;
    color: #6c757d;
}

/* Custom Accordion */
.custom-accordion {
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.custom-accordion-item {
    border-bottom: 1px solid #dee2e6;
}

.custom-accordion-item:last-child {
    border-bottom: none;
}

.custom-accordion-header {
    background-color: #f8f9fa;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-accordion-header.active {
    font-weight: bold;
    background-color: #d0e9ff; /* Light blue background for active directorates */
    color: #0056b3;
}

.custom-accordion-header:hover {
    background-color: #e9ecef;
}

.custom-accordion-button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: bold;
    padding: 0;
    position: relative; /* Added for icon positioning */
}

.custom-accordion-button::after {
    content: "\203A"; /* Default ">" symbol */
    font-size: 1.5rem; /* Icon size */
    position: absolute;
    right: 10px;
    top: 5px;
    transition: transform 0.3s ease;
}

.custom-accordion-button.expanded::after {
    content: "\2212"; /* "-" symbol for expanded state */
    transform: rotate(90deg);
}

.custom-accordion-content {
    display: none;
    padding: 10px;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

.custom-accordion-content.show {
    max-height: 500px; /* Adjust according to content length */
    display: block; /* Ensure it becomes visible */
}

/* Custom Card */
.custom-card {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-card-body {
    padding: 10px;
}

.custom-card-text {
    font-size: 0.9rem;
    margin: 0;
}

/* List Group */
.custom-list-group {
    margin-top: 10px;
}

.custom-list-group-item {
    font-size: 0.85rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 5px;
    margin-bottom: 2px;
}

.custom-list-group-item:hover {
    background-color: #e9ecef;
}

a {
    color: #007bff;
    font-size: 0.85rem;
}

a:hover {
    text-decoration: underline;
}
