#bmp-player-button {
    position: fixed;
    z-index: 9999;
    margin: 20px;
}

#bmp-player-button.bmp-button-bottom-left {
    bottom: 0;
    left: 0;
}

#bmp-player-button.bmp-button-bottom-right {
    bottom: 0;
    right: 0;
}

#bmp-toggle-music {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bmp-button-bg-color, #667eea);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    outline: none;
}

#bmp-toggle-music:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#bmp-toggle-music:active {
    transform: scale(0.95);
}

#bmp-toggle-music svg {
    width: 22px;
    height: 22px;
    color: var(--bmp-button-icon-color, #ffffff);
    transition: opacity 0.3s ease;
}

#bmp-toggle-music .bmp-play-icon,
#bmp-toggle-music .bmp-pause-icon {
    position: absolute;
}

#bmp-toggle-music.playing .bmp-play-icon {
    display: none;
}

#bmp-toggle-music.playing .bmp-pause-icon {
    display: block !important;
}

/* Pulse animation when playing */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 var(--bmp-pulse-color, rgba(102, 126, 234, 0.7));
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 10px var(--bmp-pulse-color-end, rgba(102, 126, 234, 0));
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 var(--bmp-pulse-color-end, rgba(102, 126, 234, 0));
    }
}

#bmp-toggle-music.playing {
    animation: pulse 2s infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #bmp-player-button {
        margin: 15px;
    }
    
    #bmp-toggle-music {
        width: 40px;
        height: 40px;
    }
    
    #bmp-toggle-music svg {
        width: 18px;
        height: 18px;
    }
}
