
    /* Améliorations UX pour les filtres - Style harmonisé */
.filter-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    position: relative;
    margin-bottom: 1.5rem;
}

/* Section labels harmonisées */
.filter-section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.filter-section-label i {
    color: #17a2b8;
    font-size: 12px;
}

/* Barre de recherche harmonisée */
.search-container {
    margin-bottom: 18px;
}

.form-control {
    border-radius: 25px !important;
    padding: 10px 16px 10px 40px !important;
    border: 1px solid #dee2e6;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-control:focus {
    border-color: #17a2b8 !important;
    box-shadow: 0 0 0 2px rgba(23, 162, 184, 0.15) !important;
    transform: none;
}

.search-icon-input {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
    pointer-events: none;
    font-size: 14px;
}

.btn-primary {
    border-radius: 25px !important;
    padding: 10px 20px !important;
    background: #17a2b8 !important;
    border: 1px solid #17a2b8 !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease !important;
}

.btn-primary:hover {
    background: #138496 !important;
    border-color: #117a8b !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3) !important;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-primary.loading .btn-text {
    opacity: 0;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Tags des filtres actifs */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    min-height: 32px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    animation: slideInTag 0.3s ease-out;
}

.filter-tag .remove-tag {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.2s ease;
    margin-left: 4px;
}

.filter-tag .remove-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes slideInTag {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Amélioration des boutons alphabétiques */
.alphabet-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
}

.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.alphabet-filter a {
    min-width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.alphabet-filter a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.alphabet-filter a:hover::before {
    left: 100%;
}

.alphabet-filter a:hover {
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-dark.active,
.btn-primary.active {
    background: linear-gradient(45deg, #667eea, #764ba2) !important;
    border-color: transparent !important;
    color: white !important;
}

/* Stats et informations */
.filter-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.results-number {
    background: #10b981;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Bouton reset amélioré */
.reset-btn {
    margin-top: 0 !important;
}

.btn-outline-secondary {
    border-radius: 25px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border-width: 2px !important;
}

.btn-outline-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2);
}

/* Clear all button */
.clear-all-btn {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 2px solid #fecaca !important;
    border-radius: 25px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.clear-all-btn:hover {
    background: #fecaca !important;
    border-color: #f87171 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

/* Responsive améliorations */
@media (max-width: 768px) {
    .filter-container {
        padding: 16px;
    }

    .alphabet-filter a {
        min-width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .filter-stats {
        flex-direction: column;
        align-items: stretch;
    }

    .d-flex.gap-2 {
        gap: 0.5rem !important;
    }
}

/* Animation d'entrée */
.filter-container {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Amélioration du feedback visuel */
.genre-count-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 100;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
