/* Player flotante */
.wp-audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ff8000; /* Fondo naranja de ancho completo */
    z-index: 9999;
    padding: 0px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center; /* Centra el contenido del main-container */
    align-items: center;
    background-image: none; /* Sin fondo de GIF al inicio */
    background-size: cover;
    background-position: center;
}

/* Clase que activa el GIF */
.wp-audio-player.active-gif {
    background-image: url('../images/equalizer-02-black.gif'); /* GIF de fondo */
    background-size: auto 100%; /* Ajusta el tamaño del GIF al 100% de la altura */
    background-repeat: repeat-x; /* Repite el GIF solo a lo largo del eje horizontal */
    background-position: bottom; /* Pone el GIF en la parte inferior */
}



/* Contenedor principal (centrado) */
.main-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espacio entre los elementos */
    max-width: 1200px; /* Ancho máximo del contenido */
    width: 100%;
    padding: 0 20px; /* Espaciado interno */
}

/* Imagen de los metadatos */
#art {
    margin-right: 15px;
}

#art img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}

/* Botón de Play/Pause */
.play-pause-button {
    background-color: white;
    border: none;
    color: #ff8000;
    font-size: 24px;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.play-pause-button:hover {
    background-color: #ff6600;
    color: white;
}

.play-pause-button i {
    font-size: 20px;
}

/* Control de volumen */
.volume-control {
    display: flex;
    align-items: center;
    margin-right: 20px;
    color: white;
}

.volume-control i {
    font-size: 24px;
    margin-right: 10px;
}

.volume-slider {
    width: 100px;
    height: 5px;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
}

/* Estilos del botón "AL AIRE" */
.al-aire {
    display: flex;
    align-items: center;
    background-color: #e00;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 15px;
}

.al-aire-dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite; /* Efecto pulsante */
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Estilos del nombre de la radio */
.radio-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-right: 20px;
}

/* Botón de Descargar Apps (alineado a la derecha) */
.app-downloads-container {
    margin-left: auto; /* Esto lo empuja a la derecha */
    position: relative;
}

.app-downloads-button {
    background-color: white;
    color: #ff8000;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.app-downloads-button:hover {
    background-color: #ff6600;
    color: white;
}

/* Menú desplegable */
.app-downloads-menu {
    display: none;
    position: absolute;
    bottom: 50px; /* Despliega hacia arriba */
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;
    z-index: 999;
}

.app-downloads-menu.active {
    display: block;
}

.app-downloads-menu a {
    display: block;
    padding: 10px;
    color: #ff8000;
    text-decoration: none;
}

.app-downloads-menu a:hover {
    background-color: #ff8000;
    color: white;
}

.app-downloads-menu i {
    margin-right: 8px;
    font-size: 20px;
}



.wp-audio-player.minimized .main-container {
    display: none;
}

.wp-audio-player .minimized-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    background-color: #000;
    cursor: pointer;
}

.wp-audio-player .main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.minimize-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.minimize-button i {
    color: white;
}