/* =======================
   🎵 Player de Audio 
   ======================= */
#radio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000000;
    padding: 10px 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    height: auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

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

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

/* 🎵 Botón de Play/Pause */
.player-button {
    background: #25D366;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

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

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

/* 🎧 Texto Radio + Canción */
.radio-label {
    background-color: #25D366;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    margin-left: 10px;
}

/* 🔗 Redes sociales */
.player-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

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

.icon-social:hover {
    color: #ff8c00;
}

/* 🔄 Loader */
.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;
        align-items: center;
        gap: 10px;
        padding: 10px;
        text-align: center;
    }

    .player-controls-left {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    #volume-control {
        width: 120px;
    }

    .player-social-icons {
        justify-content: center;
        margin-left: 0;
        gap: 20px;
        margin-top: 5px;
    }

    .radio-label {
        font-size: 13px;
        padding: 5px 10px;
    }
}