.audioPlayerBar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: #171717;
    color: #fff;
    padding: 15px;
    z-index: 1000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.audioPlayerBar__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.controls button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.timeline__bar {
    width: 100%;
    height: 4px;
    background: #444;
    position: relative;
    cursor: pointer;
}

.timeline__barProgress {
    height: 100%;
    background: #fbfbf8;
    width: 0%;
}

.timeline__text {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 5px;
}

/* The inner progress bar should NOT catch the click */
.timeline__barProgress, .volume__sliderProgress {
    pointer-events: none; 
    transition: width 0.1s linear; /* Smooth movement */
}

/* Add this to your audio-player.css */

.timeline__barProgress, 
.volume__sliderProgress {
    pointer-events: none; /* Allows the click to "pass through" to the parent bar */
}

.volume__sliderProgress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Start with full height as per your HTML style="height: 100%" */
}

.volume__sliderProgress, .timeline__barProgress {
    pointer-events: none; /* Allows the click to pass through to the background track */
}