/* Gallery Tab Styles - Library Style */
.dept-nav-tabs {
    background: white;
    border-bottom: 1px solid rgba(233, 236, 239, 0.3);
    padding: 0;
    margin-bottom: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.dept-nav-tabs .nav-link {
    color: #666;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

.dept-nav-tabs .nav-link i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.dept-nav-tabs .nav-link:hover {
    color: #C8102E;
    background: rgba(200, 16, 46, 0.03);
    border-bottom-color: rgba(200, 16, 46, 0.6);
}

.dept-nav-tabs .nav-link:hover i {
    opacity: 1;
}

.dept-nav-tabs .nav-link.active {
    color: #C8102E;
    background: rgba(200, 16, 46, 0.05);
    border-bottom-color: #C8102E;
    font-weight: 600;
}

.dept-nav-tabs .nav-link.active i {
    opacity: 1;
}

@media (max-width: 768px) {
    .dept-nav-tabs .nav-link {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
    }
}
