/* Bouton pour afficher le lecteur quand il est masqué */
.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 30, 40, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.music-toggle.visible {
    opacity: 1;
    pointer-events: auto;
}

.music-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-color);
}

.audio-player-container.minimized + .music-toggle {
    opacity: 1; 
    pointer-events: auto;
}
