/* Text To Speech Styles */

/* Waveform Animation */
.waveform-bar {
    animation: wave 1.2s ease-in-out infinite;
    transform-origin: bottom;
}

@keyframes wave {

    0%,
    100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

/* Custom Range Slider for Speed */
input[type=range] {
    -webkit-appearance: none;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #fbbf24;
    /* Amber-400 */
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #4b5563;
    border-radius: 2px;
}

input[type=range]:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
}

/* Custom Scrollbar for Dropdowns if needed */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #1f2937;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Audio Player Container */
.audio-player-container {
    background: linear-gradient(to right, rgba(17, 24, 39, 0.8), rgba(0, 0, 0, 0.6));
    border: 1px solid rgba(251, 191, 36, 0.2);
    /* Amber tint */
}