/* ========================================
   BARRE DE RECHERCHE MULTI-MOTS-CLÉS
   ======================================== */

.search-keywords-container {
    background: var(--bg-elevated, #ffffff);
    border: 2px solid var(--border-subtle, rgba(148, 163, 184, 0.12));
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
}

.search-keywords-container:focus-within {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.search-keywords-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.search-keywords-input-wrapper i {
    color: #667eea;
    font-size: 1rem;
}

.search-keywords-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-primary, #0f172a);
    outline: none;
    padding: 4px 0;
}

.search-keywords-input::placeholder {
    color: var(--text-tertiary, #94a3b8);
    font-style: italic;
}

.search-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    min-height: 0;
}

.search-keywords-list:empty {
    margin-top: 0;
    display: none;
}

.search-keyword-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: chipPop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes chipPop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.search-keyword-chip button {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    padding: 0;
}

.search-keyword-chip button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .search-keywords-container {
        padding: 8px 12px;
        margin-bottom: 16px;
        border-radius: 10px;
    }
    
    .search-keywords-input-wrapper {
        gap: 8px;
    }
    
    .search-keywords-input-wrapper i {
        font-size: 0.9rem;
    }
    
    .search-keywords-input {
        font-size: 0.9rem;
        padding: 3px 0;
    }
    
    .search-keyword-chip {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}
