/* Flash animasyonu - Çift yanıp sönme */
@keyframes flash-bg {
    0% { 
        background-color: #ffffff;
        border-color: #e2e8f0;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        transform: scale(1);
    }
    25% {
        background-color: #ffedd5; /* Turuncu */
        border-color: #fdba74;
        box-shadow: 0 0 15px rgba(251, 146, 60, 0.3);
        transform: scale(1.02);
    }
    50% {
        background-color: #ffffff;
        border-color: #e2e8f0;
        transform: scale(1);
    }
    75% {
        background-color: #ffedd5; /* Turuncu tekrar */
        border-color: #fdba74;
        box-shadow: 0 0 15px rgba(251, 146, 60, 0.3);
        transform: scale(1.02);
    }
    100% { 
        background-color: #ffffff; 
        border-color: #e2e8f0;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        transform: scale(1);
    }
}

.sound-mode-description.flash-animation {
    animation: flash-bg 2s ease-out; /* Süre uzatıldı */
}

/* Alofon grubu için animasyon */
.alofon-group.flash-animation {
    animation: flash-bg 2s ease-out;
    border-radius: 8px; /* Köşeleri yuvarla ki border-color değişimi güzel görünsün */
}

.sound-mode-description {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding: 16px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.sound-mode-description:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.sound-mode-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sound-mode-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f1f5f9;
    border-radius: 8px;
    color: #475569;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.sound-mode-icon-wrapper svg {
    width: 18px;
    height: 18px;
}

.sound-mode-description:hover .sound-mode-icon-wrapper {
    background-color: #e0f2fe;
    color: #0284c7;
}

.sound-mode-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.sound-mode-content {
    padding-left: 44px; /* 32px icon + 12px gap */
}

.sound-mode-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Temizleme - Eski stillerin etkisini kaldırmak için */
.sound-mode-description::before,
.sound-mode-description::after {
    display: none;
}

.sound-mode-description:empty {
    display: none;
}

/* Alofon seçim alanı stilleri - SCRIPT.JS içindeki inline stillerin yerine */
.alofon-selection-container {
    margin-top: 0;
    margin-left: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.alofon-group {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #f8fafc;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.alofon-group label {
    font-weight: 600;
    font-size: 0.9em;
    color: #475569;
}

.alofon-select {
    padding: 4px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.7em;
    color: #334155;
    background-color: white;
    outline: none;
    cursor: pointer;
    width: auto; /* İçeriğe göre otomatik genişlik */
    min-width: 80px; /* Çok dar olmaması için minimum genişlik */
}

.alofon-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
