/* Emoji Stillemeleri */
.memnuniyet {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* wrap yerine nowrap - tek satırda */
    gap: 0.3rem;
    padding: 1rem 0.5rem;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    /* Kaydırma çubuğunu tamamen kaldır */
    max-width: 100%;
}

.memnuniyet label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
    flex: 1 1 0; /* Eşit genişlik için */
    min-width: 0;
    text-align: center;
    position: relative; /* Gösterge için position relative ekledik */
}

.memnuniyet label:hover {
    background-color: #f8f9fa;
}

.memnuniyet input[type="radio"] {
    display: none;
}

.memnuniyet .checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.2s;
    position: relative; /* İşaretçiyi konumlandırmak için */
}

.memnuniyet .emoji-icon {
    width: 40px;
    height: 40px;
    opacity: 1;
    transition: all 0.2s;
}

/* Seçili emoji stil */
.memnuniyet input[type="radio"]:checked + .checkmark,
.memnuniyet .checkmark.selected {
    background-color: rgba(66, 133, 244, 0.2); /* Seçili durumda hafif mavi arka plan */
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3); /* Seçili durumda dış çerçeve */
    border-radius: 50%;
}

.memnuniyet input[type="radio"]:checked + .checkmark:after,
.memnuniyet .checkmark.selected:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: #4285f4;
    border-radius: 50%;
}

.memnuniyet input[type="radio"]:checked + .checkmark .emoji-icon,
.memnuniyet .checkmark.selected .emoji-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.1));
}

.memnuniyet label:hover .emoji-icon {
    transform: scale(1.05);
}

.memnuniyet .yazi {
    font-size: 0.95rem;
    color: #495057;
    margin: 0;
    line-height: 1.2;
}

/* Mobil görünüm optimizasyonları */
@media (max-width: 768px) {
    .memnuniyet {
        gap: 0.2rem;
        padding: 0.5rem 0.25rem;
        justify-content: space-between;
    }
    
    .memnuniyet label {
        flex: 1 1 0;
        padding: 0.4rem 0.2rem;
        min-width: 0;
    }
    
    .memnuniyet .checkmark {
        width: 32px;
        height: 32px;
    }
    
    .memnuniyet .emoji-icon {
        width: 26px;
        height: 26px;
    }
    
    .memnuniyet .yazi {
        font-size: 0.65rem;
        line-height: 1;
    }
    
    .memnuniyet input[type="radio"]:checked + .checkmark::after,
    .memnuniyet .checkmark.selected::after {
        bottom: -5px;
        width: 5px;
        height: 5px;
    }
}

/* Sonuçlar sayfası emoji stilleri */
.result-emoji {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #333;
}

.result-emoji-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.emoji-icon-wrapper {
    display: inline-flex;
    align-items: center;
    min-width: 40px;
    max-width: 40px;
    justify-content: center;
}

.emoji-result-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.emoji-result-item:last-child {
    border-bottom: none;
}

.emoji-progress-wrapper {
    flex-grow: 1;
    max-width: 600px;
}

.emoji-name {
    font-size: 0.95rem;
    color: #333;
    min-width: 120px;
    display: inline-block;
}

.emoji-stats {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}

/* Çok küçük ekranlar için (480px ve altı) */
@media (max-width: 480px) {
    .memnuniyet {
        gap: 0.1rem;
        padding: 0.5rem 0.1rem;
    }
    
    .memnuniyet label {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.3rem 0.1rem;
    }
    
    .memnuniyet .checkmark {
        width: 28px;
        height: 28px;
    }
    
    .memnuniyet .emoji-icon {
        width: 22px;
        height: 22px;
    }
    
    .memnuniyet .yazi {
        font-size: 0.55rem;
        line-height: 0.9;
    }
    
    .memnuniyet input[type="radio"]:checked + .checkmark::after,
    .memnuniyet .checkmark.selected::after {
        bottom: -3px;
        width: 4px;
        height: 4px;
    }
}
