/* Animación para el ecualizador */
@keyframes equalizer {
    0% { height: 10%; }
    50% { height: 100%; }
    100% { height: 10%; }
}

.eq-bar {
    width: 3px;
    background-color: #dc2626; /* Color rojo (red-600) */
    animation: equalizer 1s ease-in-out infinite;
    height: 10%; /* Estado inicial */
}

/* Retardos para que las barras no se muevan a la vez */
.eq-bar:nth-child(1) { animation-duration: 0.8s; }
.eq-bar:nth-child(2) { animation-duration: 1.1s; }
.eq-bar:nth-child(3) { animation-duration: 0.9s; }
.eq-bar:nth-child(4) { animation-duration: 1.2s; }

/* Estilo para el slider de volumen (personalizado para que sea rojo) */
input[type=range] {
    -webkit-appearance: none;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -4px;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #4b5563; /* Gris oscuro */
    border-radius: 2px;
}
/* Firefox styles */
input[type=range]::-moz-range-thumb {
    height: 12px;
    width: 12px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #4b5563;
    border-radius: 2px;
}