/* Estilos para el reproductor de audio */
.footer-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.footer-player.active {
    transform: translateY(0);
}

.player-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.player-left {
    display: flex;
    align-items: center;
}

.play-button {
    background: none;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ff4500;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
    color: white;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.play-button .play-icon {
    display: block;
}

.play-button .pause-icon {
    display: none;
}

.play-button.playing .play-icon {
    display: none;
}

.play-button.playing .pause-icon {
    display: block;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-status {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.now-playing {
    margin: 0;
}

.now-playing-text {
    font-size: 12px;
    opacity: 0.8;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff4500;
    margin-right: 5px;
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.now-playing {
    font-size: 0.9rem;
    color: #ccc;
}

.player-right {
    display: flex;
    align-items: center;
}

.volume-control {
    display: flex;
    align-items: center;
}

.volume-control i {
    margin-right: 10px;
    color: #ccc;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: #555;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4500;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4500;
    cursor: pointer;
    border: none;
}

/* Animaciones para los estados del reproductor */
.status-indicator.connecting {
    animation: blink 1s infinite;
}

.status-indicator.live {
    background-color: #ff4500;
}

.status-indicator.offline {
    background-color: #999;
}

@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .player-container {
        flex-direction: row; /* Mantener la dirección horizontal */
        padding: 10px;
        justify-content: space-between; /* Distribuir elementos */
    }
    
    .player-left {
        margin-bottom: 0; /* Eliminar margen inferior */
        display: flex;
        align-items: center;
    }
    
    .player-right {
        width: auto; /* Ancho automático en lugar de 100% */
    }
    
    .volume-control {
        width: auto; /* Ancho automático */
        justify-content: flex-end; /* Alinear a la derecha */
    }
    
    .volume-slider {
        width: 60px; /* Ancho más pequeño para móviles */
    }
    
    /* Ajustar tamaños de texto para móviles */
    .status-text {
        font-size: 10px;
    }
    
    .now-playing-text {
        font-size: 12px;
    }
}
