/* University / units and departments */
.welcome .welcome-image {
    display: none;
}
.welcome .welcome-content {
    display: none;
}
div.welcome {
    padding: 0 !important;
}

/* .directory-header {
    text-align: center;
    margin-bottom: 40px;
}

.directory-header h1 {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.directory-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
} */

.search-section {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

.search-input-inner {
    width: 100%;
    padding: 12px 15px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.search-input-inner:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 45, 88, 0.1);
}

.search-input-inner-container {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.staff-table-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    overflow: hidden;
}

.table-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
}

.table-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3rem;
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
}

.staff-table th {
    background: rgb(213 213 213);
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
}

.staff-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

/* Striped table rows */
.staff-table tbody tr:nth-child(odd) {
    background-color: #fafbfc;
}

.staff-table tbody tr:nth-child(even) {
    background-color: var(--white);
}

.staff-table tbody tr:hover {
    background-color: #f0f7ff;
}

.staff-name {
    font-weight: 600;
    color: var(--dark-text);
}

.staff-position {
    color: var(--light-text);
    font-size: 0.85rem;
}

.staff-phone, .staff-extension {
    color: var(--dark-text);
    font-family: monospace;
}

.staff-office {
    color: var(--light-text);
}

.staff-department {
    font-weight: 500;
    color: var(--primary);
}

.staff-email a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.staff-email a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 60px 40px;
    color: var(--light-text);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #dee2e6;
}

.results-count {
    padding: 5px 0px;
    padding-bottom: 0;
    /* background: #f8f9fa; */
    /* border-bottom: 1px solid #e9ecef; */
    color: var(--light-text);
    font-size: 0.9rem;
}

.table-responsive {
    max-height: 600px;
    overflow-y: auto;
}

.staff-table .vip{
    background-color: rgba(242, 177, 0, 0.1) !important;
}

@media (max-width: 768px) {
    .directory-header h1 {
        font-size: 2rem;
    }
    
    .staff-table {
        display: block;
        overflow-x: auto;
    }
    
    .table-responsive {
        max-height: none;
    }
}

@media (max-width: 576px) {
    .staff-table th, 
    .staff-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    .search-section {
        padding: 20px;
    }
}





/* Styling the scrollbar */
.table-responsive::-webkit-scrollbar {
    width: 8px; /* Adjust the width of the scrollbar */
}

.table-responsive::-webkit-scrollbar-track {
    background-color: var(--primary); /* Color of the track (the area the scrollbar moves in) */
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: var(--accent); /* Color of the scrollbar thumb (the draggable part) */
    border-radius: 10px; /* Optional: to make the thumb rounded */
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: #f3b200ce; /* Darker color when the thumb is hovered */
}