/* START Main Player Styles */
html.dark-mode #bmp-now-playing,
html.light-mode #bmp-now-playing {
    position: fixed;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 99996;
    font-family: Arial, sans-serif;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

html.dark-mode #bmp-now-playing {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 12px 20px;
    border-top: 2px solid #2d7c2d;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.3);
}

html.light-mode #bmp-now-playing {
    background: #f3f4f6;
    color: #1f2937;
    padding: 12px 20px;
    border-top: 2px solid #2d7c2d;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
}

html.dark-mode .bmp-player-content,
html.light-mode .bmp-player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

html.dark-mode .bmp-player-info,
html.light-mode .bmp-player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

html.dark-mode .bmp-player-art,
html.light-mode .bmp-player-art {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 4px;
    overflow: hidden;
}

html.dark-mode .bmp-player-art img,
html.light-mode .bmp-player-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.dark-mode .bmp-player-details,
html.light-mode .bmp-player-details {
    flex: 1;
    min-width: 0;
}

html.dark-mode .bmp-track-title,
html.light-mode .bmp-track-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.dark-mode .bmp-track-title {
    color: #e0e0e0;
}

html.light-mode .bmp-track-title {
    color: #1f2937;
}

html.dark-mode #bmp-now-playing-progress-container {
    height: 6px;
    background: #333;
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

html.light-mode #bmp-now-playing-progress-container {
    height: 6px;
    background: #e5e7eb;
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

html.dark-mode #bmp-now-playing-progress,
html.light-mode #bmp-now-playing-progress {
    height: 100%;
    background: #2d7c2d;
    width: 0%;
    transition: width 0.1s ease;
}

html.dark-mode #bmp-time-display {
    font-size: 12px;
    opacity: 0.7;
    font-family: monospace;
    color: #b0b0b0;
}

html.light-mode #bmp-time-display {
    font-size: 12px;
    opacity: 0.9;
    font-family: monospace;
    color: #4b5563;
}

html.dark-mode .bmp-player-controls,
html.light-mode .bmp-player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

html.dark-mode .bmp-control-btn,
html.light-mode .bmp-control-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

html.dark-mode .bmp-control-btn {
    color: #e0e0e0;
}

html.light-mode .bmp-control-btn {
    color: #1f2937;
}

html.dark-mode .bmp-control-btn:hover {
    background: #333;
}

html.light-mode .bmp-control-btn:hover {
    background: #e5e7eb;
}

html.dark-mode .bmp-control-btn .dashicons,
html.light-mode .bmp-control-btn .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

html.dark-mode #bmp-play-pause-button,
html.light-mode #bmp-play-pause-button {
    width: 44px;
    height: 44px;
}

html.dark-mode #bmp-play-pause-button .dashicons,
html.light-mode #bmp-play-pause-button .dashicons {
    width: 32px !important;
    height: 32px !important;
    font-size: 32px !important;
}

html.dark-mode .bmp-close-btn,
html.light-mode .bmp-close-btn {
    opacity: 0.6;
}

html.dark-mode .bmp-close-btn:hover,
html.light-mode .bmp-close-btn:hover {
    opacity: 1;
}

html.dark-mode .bmp-progress-container,
html.light-mode .bmp-progress-container {
    height: 4px;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    margin-top: 8px;
}

html.dark-mode .bmp-progress-container {
    background: #333;
}

html.light-mode .bmp-progress-container {
    background: #e5e7eb;
}

html.dark-mode .bmp-progress-bar,
html.light-mode .bmp-progress-bar {
    height: 100%;
    background: #2d7c2d;
    width: 0%;
    transition: width 0.1s ease;
}


/* END Main Player Styles */

/* START Highlight Styles */
html.dark-mode .bmp-audio-playing,
html.dark-mode .kol-product-card.bmp-audio-playing {
    background-color: #1a4d2e !important;
    border-color: #2d7c2d !important;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5) !important;
}

html.light-mode .bmp-audio-playing,
html.light-mode .kol-product-card.bmp-audio-playing {
    background-color: #ccf0d0 !important;
    border-color: #2d7c2d !important;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3) !important;
}

html.dark-mode .bmp-audio-playing .track-title,
html.dark-mode .bmp-audio-playing h2,
html.dark-mode .bmp-audio-playing h3,
html.dark-mode .bmp-audio-playing h4,
html.dark-mode .kol-product-card.bmp-audio-playing .track-title,
html.dark-mode .kol-product-card.bmp-audio-playing h2,
html.dark-mode .kol-product-card.bmp-audio-playing h3,
html.dark-mode .kol-product-card.bmp-audio-playing h4 {
    color: #ffeb3b !important;
}

html.light-mode .bmp-audio-playing .track-title,
html.light-mode .bmp-audio-playing h2,
html.light-mode .bmp-audio-playing h3,
html.light-mode .bmp-audio-playing h4,
html.light-mode .kol-product-card.bmp-audio-playing .track-title,
html.light-mode .kol-product-card.bmp-audio-playing h2,
html.light-mode .kol-product-card.bmp-audio-playing h3,
html.light-mode .kol-product-card.bmp-audio-playing h4 {
    color: #2d7c2d !important;
}


/* END Highlight Styles */

/* START Player Tab */
html.dark-mode #bmp-player-tab {
    position: fixed;
    right: 0;
    bottom: 20%;
    background: #2d7c2d;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99996;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

html.light-mode #bmp-player-tab {
    position: fixed;
    right: 0;
    bottom: 20%;
    background: #2d7c2d;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99996;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

html.dark-mode #bmp-player-tab.visible,
html.light-mode #bmp-player-tab.visible {
    transform: translateX(0);
}

html.dark-mode #bmp-player-tab:hover,
html.light-mode #bmp-player-tab:hover {
    background: #1f5f1f;
}

html.dark-mode .bmp-equalizer,
html.light-mode .bmp-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
}

html.dark-mode .bmp-equalizer-bar,
html.light-mode .bmp-equalizer-bar {
    width: 3px;
    background: white;
    border-radius: 2px;
    animation: none;
}

html.dark-mode #bmp-player-tab.playing .bmp-equalizer-bar,
html.light-mode #bmp-player-tab.playing .bmp-equalizer-bar {
    animation: bmp-equalizer 0.6s ease-in-out infinite;
}

html.dark-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(1),
html.light-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 0.5s;
}

html.dark-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(2),
html.light-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(2) {
    animation-delay: 0.1s;
    animation-duration: 0.7s;
}

html.dark-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(3),
html.light-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(3) {
    animation-delay: 0.2s;
    animation-duration: 0.6s;
}

html.dark-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(4),
html.light-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(4) {
    animation-delay: 0.15s;
    animation-duration: 0.8s;
}

html.dark-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(5),
html.light-mode #bmp-player-tab.playing .bmp-equalizer-bar:nth-child(5) {
    animation-delay: 0.05s;
    animation-duration: 0.65s;
}

@keyframes bmp-equalizer {
    0% { height: 5px; }
    50% { height: 20px; }
    100% { height: 5px; }
}
/* END Player Tab */

/* START Mobile Responsive */
@media (max-width: 600px) {
    html.dark-mode #bmp-now-playing,
    html.light-mode #bmp-now-playing {
        padding: 8px 12px;
    }
    html.dark-mode .bmp-player-info,
    html.light-mode .bmp-player-info {
        gap: 10px;
    }
    html.dark-mode .bmp-player-art,
    html.light-mode .bmp-player-art {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    html.dark-mode .bmp-track-title,
    html.light-mode .bmp-track-title {
        font-size: 12px;
    }
    html.dark-mode .bmp-time-display,
    html.light-mode .bmp-time-display {
        font-size: 10px;
    }
    html.dark-mode .bmp-control-btn,
    html.light-mode .bmp-control-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    html.dark-mode .bmp-control-btn .dashicons,
    html.light-mode .bmp-control-btn .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    html.dark-mode #bmp-play-pause-button,
    html.light-mode #bmp-play-pause-button {
        width: 38px;
        height: 38px;
    }
    html.dark-mode #bmp-play-pause-button .dashicons,
    html.light-mode #bmp-play-pause-button .dashicons {
        width: 28px !important;
        height: 28px !important;
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    html.dark-mode #bmp-now-playing,
    html.light-mode #bmp-now-playing {
        padding: 6px 10px;
    }
    html.dark-mode .bmp-player-content,
    html.light-mode .bmp-player-content {
        gap: 10px;
    }
    html.dark-mode .bmp-player-info,
    html.light-mode .bmp-player-info {
        gap: 8px;
    }
    html.dark-mode .bmp-player-art,
    html.light-mode .bmp-player-art {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }
    html.dark-mode .bmp-track-title,
    html.light-mode .bmp-track-title {
        font-size: 11px;
    }
    html.dark-mode .bmp-time-display,
    html.light-mode .bmp-time-display {
        font-size: 9px;
    }
    html.dark-mode .bmp-control-btn,
    html.light-mode .bmp-control-btn {
        width: 32px;
        height: 32px;
        padding: 4px;
    }
    html.dark-mode .bmp-control-btn .dashicons,
    html.light-mode .bmp-control-btn .dashicons {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
    html.dark-mode #bmp-play-pause-button,
    html.light-mode #bmp-play-pause-button {
        width: 35px;
        height: 35px;
    }
    html.dark-mode #bmp-play-pause-button .dashicons,
    html.light-mode #bmp-play-pause-button .dashicons {
        width: 26px !important;
        height: 26px !important;
        font-size: 26px !important;
    }
}
/* END Mobile Responsive */
