/* Estilos para el select personalizado */
.select-personalizado-container {
    position: relative;
    width: 100%;
    font-family: "Inter", sans-serif;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-personalizado {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1a202c;
    outline: none;
}

.select-personalizado:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.select-personalizado:hover {
    border-color: #cbd5e0;
}

/* Estilizar el dropdown */
.select-personalizado option {
    padding: 10px;
    background-color: white;
    color: #1a202c;
}

/* Limitar la altura del dropdown */
select.select-personalizado {
    max-height: var(--max-height, 200px);
}

/* Flecha personalizada */
.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
}

/* Estilos para Firefox */
@-moz-document url-prefix() {
    .select-personalizado {
        text-indent: 0.01px;
        text-overflow: '';
        padding-right: 30px;
    }
}

/* Estilos para Chrome/Safari */
.select-personalizado::-ms-expand {
    display: none;
}

/* Estilos para el hover de las opciones (solo funciona en algunos navegadores) */
.select-personalizado option:hover,
.select-personalizado option:focus,
.select-personalizado option:active,
.select-personalizado option:checked {
    background-color: #f7fafc;
    color: #4f46e5;
}

@keyframes audio-wave {
    0% {
        height: 6px;
        transform: translateY(0px);
        background: #ff8e3a;
    }

    25% {
        height: 20px;
        transform: translateY(-5px);
        background: #ed509e;
    }

    50% {
        height: 6px;
        transform: translateY(0px);
        background: #9c73f8;
    }

    100% {
        height: 6px;
        transform: translateY(0px);
        background: #0fccce;
    }
}

.sound-wave {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    height: 1rem;
}

.sound-wave div {
    height: 2.5rem;
    display: block;
    width: 0.2rem;
    border-radius: 0.2rem;
    background: orange;
    animation: audio-wave 3s infinite ease-in-out;
}

.sound-wave div:nth-child(2) {
    left: 10px;
    animation-delay: 0.2s;
}

.sound-wave div:nth-child(3) {
    left: 20px;
    animation-delay: 0.3s;
}

.sound-wave div:nth-child(4) {
    left: 30px;
    animation-delay: 0.4s;
}

.sound-wave div:nth-child(5) {
    left: 40px;
    animation-delay: 0.5s;
}

.sound-wave div:nth-child(6) {
    left: 50px;
    animation-delay: 0.6s;
}

.sound-wave div:nth-child(7) {
    left: 60px;
    animation-delay: 0.7s;
}

.sound-wave div:nth-child(8) {
    left: 70px;
    animation-delay: 0.8s;
}

.sound-wave div:nth-child(9) {
    left: 80px;
    animation-delay: 0.9s;
}

.sound-wave div:nth-child(10) {
    left: 90px;
    animation-delay: 1s;
}