/* Tag filter styling */
.tag-filter-container {
    gap: 0.5rem;
}

.tag-filter-item {
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.tag-filter-item:hover {
    transform: translateY(-2px);
}

.tag-filter-item .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    transition: all 0.2s ease-in-out;
}

.tag-filter-item:hover .badge {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tag-filter-item.active .badge {
    font-weight: 600;
}

/* Checkbox styling for tag selection */
.tag-checkbox {
    cursor: pointer;
}

.tag-checkbox:checked + label .badge {
    background-color: #0d6efd !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

label[for^="tag-"] {
    cursor: pointer;
}

label[for^="tag-"] .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    transition: all 0.2s ease-in-out;
}

#tag-selection-container {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

/* Filter operation styling */
.btn-check:checked + .btn-outline-primary {
    font-weight: bold;
}

/* Resume card styling enhancement for filtered items */
.resume-card.filtered {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Animation for tag filtering */
@keyframes highlightCard {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.resume-card.filtered {
    animation: highlightCard 0.5s ease-in-out;
}

/* Alert enhancement for filter status */
.alert-info .badge {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}