#wp-radio-player {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 90px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.radio-header {
    background: #000;
    color: white;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 28px;
    flex-shrink: 0;
}

.live-badge {
    display: flex; /* Cambiado de 'none' a 'flex' para mostrarlo siempre */
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 12px;
    color: white;
}

/* Estado EN VIVO (is_live: true) */
.live-badge.is-live {
    background: rgba(255, 0, 0, 0.2);
}

.live-badge.is-live .live-dot {
    background: #ff0000;
    animation: pulse 1.5s infinite;
}

/* Estado NO EN VIVO (is_live: false) */
.live-badge.not-live {
    background: rgba(0, 0, 0, 0.7);
}

.live-badge.not-live .live-dot {
    background: #defc5c;
    animation: none;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.volume-control {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}

.volume-control svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.radio-content {
    display: flex;
    padding: 8px 12px;
    align-items: center;
    height: 62px;
    gap: 12px;
}

.radio-cover {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.radio-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.radio-controls {
    margin-right: 8px;
}

.play-pause {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.play-pause svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.radio-info {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.song-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.song-artist {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.volume-slider-container {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 150px;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    border-radius: 6px;
    z-index: 10000;
}

.volume-slider-container:before {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.9);
}

.volume-slider {
    width: 100%;
    margin: 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    #wp-radio-player {
        width: 95%;
        height: 80px;
    }
    
    .radio-content {
        height: 52px;
    }
    
    .radio-cover {
        width: 40px;
        height: 40px;
    }
    
    .play-pause {
        width: 36px;
        height: 36px;
    }
    
    .song-title {
        font-size: 13px;
    }
    
    .song-artist {
        font-size: 11px;
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}