/* =======================
   🎵 Player de Audio 
   ======================= */

#radio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0066b3;
    padding: 15px 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    height: 100px;
}

/* Contenedor del Player */
.player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    height: 100%;
    box-sizing: border-box;
}

/* 🎵 Controles Izquierda: Play y Volumen */
.player-controls-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 🎵 Botón de Play/Pause */
.player-button {
    background: #25D366 !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    cursor: pointer !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    margin-top: 30px !important; /* 🔽 Aquí el ajuste clave */
}

/* Cambia a verde si está en pausa */
.player-button.pause {
    background: #25D366;
}

/* 🎚 Volumen */
#volume-control {
    width: 100px;
}

.volume-icon {
    color: white;
    font-size: 20px;
}



.player-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-social {
    color: white;
    font-size: 22px;
    transition: 0.3s;
    text-decoration: none;
}

.icon-social:hover {
    color: #ff8c00; /* o el color que prefieras al hacer hover */
}

.player-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 4px solid #fff;
    border-top: 4px solid #ff8c00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* =======================
   📱 Responsive 
   ======================= */
@media (max-width: 768px) {
    .player-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        height: auto;
    }

    .player-controls-left {
        justify-content: center;
    }

    .whatsapp-button {
        padding: 8px 14px;
        font-size: 14px;
    }

    #volume-control {
        width: 80px;
    }
}