.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* White glow drop shadow */
    z-index: 1000;
    color: #fff;
    font-family: Arial, sans-serif;
}

.track-info {
    display: flex;
    align-items: center;
    width: 30%;
}

.track-info img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
    background: transparent;
}

.track-info div {
    display: flex;
    flex-direction: column;
}

.track-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.track-artist {
    font-size: 12px;
    color: #b3b3b3;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.control-btn img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1); /* #ffffff */
    transition: filter 0.2s;
    border: none;
    background: transparent;
}

.control-btn:hover img {
    filter: brightness(0) invert(0.5) sepia(1) saturate(5) hue-rotate(90deg); /* #1db954 */
}

.control-btn.active img {
    filter: brightness(0) invert(0.5) sepia(1) saturate(5) hue-rotate(90deg); /* #1db954 */
}

.control-btn:focus {
    outline: none;
}

.play-pause-btn {
    width: 40px;
    height: 40px;
    will-change: contents;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

.play-pause-btn img {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

.play-pause-btn:focus {
    outline: none;
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress {
    width: 0;
    height: 100%;
    background: #1db954;
    border-radius: 2px;
    position: absolute;
}

.time {
    font-size: 12px;
    color: #b3b3b3;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 30%;
    justify-content: flex-end;
}

.volume-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* #ffffff */
    transition: filter 0.2s;
    border: none;
    background: transparent;
}

.volume-icon:hover img {
    filter: brightness(0) invert(0.5) sepia(1) saturate(5) hue-rotate(90deg); /* #1db954 */
}

.volume-icon:focus {
    outline: none;
}

.volume-slider {
    width: 100px;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.volume-progress {
    width: 100%;
    height: 100%;
    background: #1db954;
    border-radius: 2px;
    position: absolute;
}

@media (max-width: 768px) {
    .music-player {
        flex-direction: column;
        padding: 10px;
    }

    .track-info,
    .player-controls,
    .volume-container {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }

    .track-info img {
        width: 40px;
        height: 40px;
    }

    .controls {
        gap: 20px;
    }

    .control-btn {
        width: 24px;
        height: 24px;
    }

    .play-pause-btn {
        width: 36px;
        height: 36px;
    }

    .volume-icon img {
        width: 20px;
        height: 20px;
    }

    .volume-container {
        justify-content: center;
    }
}