/* Pronunciation Module Styling */

/* Audio button states */
.btn-pronunciation:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-pronunciation.loading {
    background-color: rgba(95, 202, 255, 0.05);
    color: rgba(95, 202, 255, 0.6);
    cursor: not-allowed;
}

.btn-pronunciation.playing {
    background-color: rgba(95, 202, 255, 0.3);
    border-color: rgba(95, 202, 255, 0.7);
    box-shadow: 0 0 15px rgba(95, 202, 255, 0.5);
}

/* Pronunciation animation */
@keyframes audioWave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.btn-pronunciation.playing::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(95, 202, 255, 0.2), transparent);
    animation: audioWave 1s infinite ease-in-out;
    border-radius: inherit;
}
