/* Agrega estilos para el modo sticky */
.reproductor {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    transition: top 0.3s;
}

.reproductor-sticky {
    position: fixed;
    top: 92%!IMportant;
    width: 100%;
    background-color: #000;
    z-index: 9999999999999999999999999;
    transition: top 0.3s;
     bottom: 0%; 
    left: 0;
    display: flex;
    justify-content: space-evenly;
    padding-top: 12px;
    align-items: center;
    padding-bottom: 2px;
    margin-top: 0px;
}

.reproductor.sticky {
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-cancion {
    text-align: center;
    display: none;
}


.reproductor {
    width: 300px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.controles {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

.boton {
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
   background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 3px;
}

.barra-progreso {
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
}

.progreso {
    height: 100%;
    background-color: #2ecc71;
    width: 50%; /* Puedes ajustar esto con JavaScript */
}

.info-cancion {
    text-align: center;
}

.info-cancion p {
    margin: 0;
    font-weight: bold;
}

img#boton-play-pause {
    width: 40px;
}

img.volim {
    width: 24px;
    height: 24px;
}

/* Add these styles to customize the volume control */

#boton-volumen {
    width: 100%;
    height: 0px;
    -webkit-appearance: none;
    background: #ddd0;
    border-radius: 5px;
    outline: none;
    margin: 0px 0;
}

#boton-volumen::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

#boton-volumen::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}

#boton-volumen::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}
.vol {
    display: flex;
    align-items: center;
    justify-content: center;
}

img.volim {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}


select.radio-select {
    background: #00ffff00;
    color: white;
    margin-left: 0px;
    border: none;
    padding-right: 5px;
}

option {
    background: black;
}

img.mundo {
    width: 24px;
}

.emisoraEle {
    display: flex;
    justify-content: center;
    align-items: center;
}



img.envi {
    width: 87px;
    height: 32px;
    display: flex;
}

#contenedor-onda {
    width: 50px; /* ajusta el ancho según tus necesidades */
    height: 50px; /* ajusta la altura según tus necesidades */
    background-color: #00f; /* ajusta el color según tus necesidades */
    border-radius: 50%; /* para un contenedor circular, ajusta según tus necesidades */
    transition: transform 0.1s ease-in-out; /* agrega una transición para suavizar el cambio de escala */
}


@media only screen and (max-width: 643px) and (min-width: 220px) {
.reproductor-sticky {
    position: fixed;
    top: 82%!important;
    width: 100%;
    background-color: #000;
    z-index: 9999999999999999999999999;
    transition: top 0.3s;
    bottom: 0%;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    align-items: center;
    margin-top: 0px;
    gap: 8px;
}

/* FILA 1: Controles centrados + En Vivo al lado */
.reproductor-sticky .fila-controles-envivo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: 1;
    margin-bottom: 5px;
    position: relative;
}

.reproductor-sticky .controles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.reproductor-sticky .controles .boton {
    padding: 8px 12px;
    font-size: 18px;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reproductor-sticky img#boton-play-pause {
    width: 35px;
    height: 35px;
}

/* En Vivo al lado derecho de los controles */
.reproductor-sticky .enVivo {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* FILA 2: Emisora más grande - CENTRADA */
.reproductor-sticky .emisoraEle {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.reproductor-sticky .emisoraEle img.mundo {
    width: 24px;
    height: 24px;
}

.reproductor-sticky .radio-select {
    flex: 1;
    max-width: 280px;
    min-width: 200px;
    font-size: 14px;
    padding: 8px 12px;
    height: 40px;
    border-radius: 6px;
    background-color: #333;
    color: white;
    border: 1px solid #555;
}

/* FILA 3: Control de volumen - CENTRADO */
.reproductor-sticky .vol {
    order: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.reproductor-sticky .vol img.volim {
    width: 22px;
    height: 22px;
}

.reproductor-sticky #boton-volumen {
    width: 180px;
    height: 6px;
}

/* Ocultar elementos no necesarios en móvil */
.reproductor-sticky .escuchando {
    display: none;
}

/* Ocultar el contenedor de fila en móvil ya que no lo usamos */
.reproductor-sticky .fila-envivo-emisora {
    display: none;
}
}

/* Asegurar que en desktop NO se use la estructura de fila móvil */
@media only screen and (min-width: 644px) {
.fila-envivo-emisora {
    display: contents; /* Hace que los hijos se comporten como si no hubiera contenedor */
}

.fila-controles-envivo {
    display: contents; /* No afectar desktop */
}

.enVivo {
    /* Mantener estilos originales de desktop */
    position: static;
}

.emisoraEle {
    /* Mantener estilos originales de desktop */
}
}

textarea#emisoras {
    width: 100%;
}

#boton-volumen {
    width: 100%;
    height: 0px;
    -webkit-appearance: none;
    background: #ddd0!important;
    border-radius: 5px;
    outline: none;
    margin: 0px 0;
}

select#select-emisoras:hover {
    cursor: pointer;
}
select#select-emisoras {
    outline: none!important;
}

button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover .button:hover, .ast-custom-button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:hover, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:focus, body .wp-block-file .wp-block-file__button:hover, body .wp-block-file .wp-block-file__button:focus, .woocommerce-js a.button:hover, .woocommerce button.button:hover, .woocommerce .woocommerce-message a.button:hover, .woocommerce #respond input#submit:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce input.button.alt:hover, .woocommerce input.button:hover, .woocommerce button.button.alt.disabled:hover, .wc-block-grid__products .wc-block-grid__product .wp-block-button__link:hover, [CLASS*="wc-block"] button:hover, .woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons .button:not(.checkout):not(.ast-continue-shopping):hover, .woocommerce-js .astra-cart-drawer .astra-cart-drawer-content .woocommerce-mini-cart__buttons a.checkout:hover, .woocommerce button.button.alt.disabled.wc-variation-selection-needed:hover {
    color: #ffffff;
    background-color: #000000;
    border-color: var(--ast-global-color-1);
    transition: background-color 0.3s ease;
}

.static {
    position: static!important;
    float: left;
}