.music-player {
    direction: ltr;
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 20%;
    border-radius: 15px;
    background: linear-gradient(45deg, black, #370068);
    border-top: 1px solid #000000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px 15px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

#seek-bar-container {
    width: 100%;
}

#seek-bar {
    height: 4px;
    background: #5d00b31f;
    cursor: pointer;
    width: 100%;
    position: relative;
}

#progress {
    height: 100%;
    background: #5d00b35c; /* Change this to your desired color */
    width: 0; /* Start with a width of 0 */
}

.controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 5px;
}

.controls button {
    background: #5d00b31f;
    color: #fff;
    border: none;
    padding: 5px 30px;
    border-radius: 25px;
    margin-right: 5px;
}

.controls button:hover {
    background: #5d00b35c; /* Darker shade for hover effect */
}

.playlist {
    display: none; /* Hide playlist by default */
}

.playlist ul {
    list-style: none;
    padding: 10px;
    margin: 15px 0px;
    background: #5d00b31f;
    border-radius: 25px;
}

.playlist li {
    padding: 1px 10px;
    cursor: pointer;
    border-radius: 25px;
    color: #bd80f5;
}

.playlist li.active {
    background: #5d00b35c;
    color: #fff;
}
.playlist li:hover {
    background: #5d00b31c;
}

@media (max-width: 600px) {
    .music-player {
        direction: ltr;
        position: fixed;
        width: 40%;
        border-radius: 15px;
        border-top: 1px solid #000000;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        padding: 5px 15px;
        display: flex;
        flex-direction: column;
        z-index: 1000;
    }
    .controls button {
        background: #5d00b31f;
        color: #fff;
        border: none;
        padding: 0px 5px;
        border-radius: 25px;
        margin-right: 5px;
        text-align: center;
    }
    .controls {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-top: 5px;
        font-size: 12px;
    }
    .controls button:hover {
        background: none;
    }
}
