.negative-keywords-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.negative-keywords-section h3 {
    color: #dc3545;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.negative-keywords-list {
    font-family: monospace;
    white-space: pre-wrap;
    padding: 10px;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    max-height: 200px;
    overflow-y: auto;
}

#negativeKeywordsSection {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
}

#negativeKeywordsSection h3 {
    color: #d32f2f;
    margin-bottom: 10px;
}

#negativeKeywordsEditable {
    width: 100%;
    min-height: 100px;
    border: 1px solid #ffcdd2;
    padding: 10px;
    margin-bottom: 10px;
    background-color: white;
    font-family: monospace;
    white-space: pre-wrap;
}

.info-text {
    background-color: #fff9f9;
    border-left: 4px solid #ffcdd2;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 0.9em;
    color: #555;
}

.info-text ul {
    margin: 10px 0;
    padding-left: 20px;
}

.info-text li {
    margin: 5px 0;
    list-style-type: disc;
}

.info-text strong {
    color: #d32f2f;
}

.input-section h3 {
    margin-top: 20px;
    font-size: 1.1em;
    color: #666;
}

.helper-text {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

#initialNegativeKeywords {
    border: 1px solid #ddd;
    border-left: 3px solid #ff4444;
    padding: 8px;
    width: 100%;
    margin-top: 5px;
    font-family: inherit;
    resize: vertical;
}

/* Styles pour l'indicateur de chargement */
.loading-indicator {
    display: none;
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

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

/* Désactiver le bouton pendant le chargement */
.btn-generate:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
