@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 30%, #0f1a0f 50%, #1a1a1a 70%, #0a0a0a 100%);
    font-family: "Poppins-Regular", Helvetica;
    font-size: 14px;
    font-weight: 400;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.device {
    position: relative;
    width: 100vw;
    max-height: fit-content;
    max-height: 100vh;
    max-height: 100dvh;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12);
    color: #b3b3b3;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
}

aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    /* or whatever width you prefer */
    height: 100vh;
    /* to make it take full height of the viewport */
    overflow-y: auto;
    /* to allow scrolling if the content exceeds the viewport height */
    background-color: #fff;
    /* or any background color you want */
    z-index: 1000;
    /* to ensure it appears above other elements */
}

.title-strip,
.inner-strip {
    position: relative;
    margin-left: 260px;
    /* Assuming the aside is 250px wide + 10px for separation */
    /* Add other necessary styles */
}

@media (max-width: 500px) {

    .title-strip,
    .inner-strip {
        width: 100%;
        display: block;
        /* Ensures it occupies full width */
        text-align: center;
        /* Center-aligns content inside the strip */
    }

    .title-strip,
    .inner-strip {
        padding: 0;
        margin: 0;
    }

}



.device aside {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    width: 225px;
    min-height: 500vh;
    padding: 0 6px;
    padding-top: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    border-right: 1px solid #2d4a2d;
}

.device.device::-webkit-scrollbar {
    width: 12px;
}

.device.device::-webkit-scrollbar-track {
    background: #121212;
    border-radius: 5px;
}

.device.device::-webkit-scrollbar-thumb {
    background-color: #14e95e;
    border-radius: 20px;
    border: 2px solid #121212;
}

/* Subtle fade effect at bottom to indicate more content */
.device aside::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 225px;
    height: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show fade effect when scrolled */
.device aside:hover::after {
    opacity: 1;
}

.device aside .logo {
    width: 100%;
    margin-bottom: 18px;
    padding-left: 24px;
}

.device aside .logo img {
    width: 130px;
}

.device aside .general-options,
.device aside .playlist-options,
.device aside .playlists {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.device aside .playlist-options {
    margin-top: 15px;
}

.device aside .playlist-options span {
    padding: 8px 0;
    padding-left: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.device aside .playlists {
    border-top: 1px solid #f0f0f028;
    margin-top: 5px;
    padding-top: 5px;
}

.device .option {
    cursor: pointer;
    width: 100%;
    padding: 8px 0;
    padding-left: 24px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    color: #646464;
    border-radius: 4px;
    margin: 2px 8px;
}

.device .option i {
    width: 40px;
    font-size: 20px;
}

.device .option.active {
    background: linear-gradient(90deg, #1a2d1a 0%, #2d3a2d 100%);
    border-radius: 4px;
    color: #4a9d4a;
    text-shadow: 0px 0px 8px rgba(74, 157, 74, 0.2);
    box-shadow: 0 0 6px rgba(74, 157, 74, 0.15);
}

.device .option:hover {
    color: #4a9d4a;
    background: linear-gradient(90deg, #1a2d1a 0%, #2d3a2d 100%);
    text-shadow: 0px 0px 8px rgba(74, 157, 74, 0.2);
    transform: translateX(3px);
}

.device .container {
    top: 0;
    flex: 1;
    padding: 10px 25px;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
}

.device .container header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    height: 4vh;
}

.device .container header .head-btns i {
    visibility: hidden;
    cursor: pointer;
    font-size: 1.1rem;
    background-color: #000;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
}

.device .container header .profile {
    width: 130px;
    background-color: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 18px;
    font-family: "Poppins-Regular", Helvetica;
}

.device .container header .profile img {
    width: 28px;
    border-radius: 50%;
}

.device .container header .profile i {
    padding-bottom: 2px;
}

.device .container .collection-strip {
    width: 100%;
    margin-top: 10px;
}

.device .container .collection-strip .title-strip {
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    padding-right: 30px;
    position: relative;
}

.device .container .collection-strip .title-strip button {
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0px 0px 15px rgba(2, 2, 2, 0.2);
    letter-spacing: 1px;
    font-weight: 700;
}

.device .container .collection-strip .title-strip button:hover {
    text-decoration: underline;
}

.device .container .collection-strip .title-strip h3 {
    color: #fff;
    font-size: 1.4rem;
    text-shadow: 0px 0px 15px rgba(2, 2, 2, 0.2);
}

.device .container .collection-strip .inner-strip {
    display: flex;
    flex-wrap: wrap;
}

.device .container .collection-strip .inner-strip .box-item {
    position: relative;
    cursor: pointer;
    margin-top: 18px;
    width: 180px;
    height: 250px;
    margin-left: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #1a2d1a 30%, #0f1a0f 60%, #1a1a1a 100%);
    border-radius: 8px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #2d4a2d;
    transition: all 0.3s ease;
}

@media (min-width: 700px) {
    .device .container .collection-strip .inner-strip .box-item {
        background: linear-gradient(135deg, #1a1a1a 0%, #1a2d1a 30%, #0f1a0f 60%, #1a1a1a 100%);
        /* Set the background color to subtle green-black gradient for PC version */
    }
}

.device .container .collection-strip .inner-strip .box-item .box-item__image {
    position: relative;
    width: 140px;
    height: 140px;
}

.device .container .collection-strip .inner-strip .box-item .box-item__image img {
    width: 140px;
}

.device .container .collection-strip .inner-strip .box-item h4 {
    font-size: 1rem;
}

.device .container .collection-strip .inner-strip .box-item p {
    font-size: 12px;
}

.device .container .collection-strip .inner-strip .box-item:hover {
    background: linear-gradient(135deg, #2d3a2d 0%, #1a2d1a 50%, #2d3a2d 100%);
    border: 1px solid #4a9d4a;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(74, 157, 74, 0.15);
}

.song-control {
    width: 100vw;
    max-height: 100vh;
    max-width: 100vw;
    padding: 25px 0;
    color: #fff;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0f1a0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #2d4a2d;
}

.song-control .song-control__inner {
    width: 470px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Volume Control Styles */
.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.volume-icon {
    color: #4a9d4a;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.volume-icon:hover {
    color: #5aad5a;
    text-shadow: 0px 0px 6px rgba(74, 157, 74, 0.3);
}

.volume-slider-container {
    position: relative;
    width: 120px;
    height: 4px;
    background-color: #646464;
    border-radius: 50px;
    cursor: pointer;
    transition: height 0.2s ease;
}

.volume-slider-container:hover {
    height: 6px;
}

.volume-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #4a9d4a;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(74, 157, 74, 0.3);
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #5aad5a;
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(74, 157, 74, 0.4);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #4a9d4a;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 6px rgba(74, 157, 74, 0.3);
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    background: #5aad5a;
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(74, 157, 74, 0.4);
}

.volume-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #4a9d4a 0%, #5aad5a 100%);
    border-radius: 50px;
    transition: width 0.1s ease-out;
    will-change: width;
    width: 70%;
    box-shadow: 0 0 6px rgba(74, 157, 74, 0.2);
    pointer-events: none;
}

.volume-percentage {
    color: #4a9d4a;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* Mobile Volume Control Styles */
.mob-volume-control {
    position: absolute;
    top: 18px;
    right: 35%;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.mob-volume-icon {
    color: #4a9d4a;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mob-volume-icon:hover {
    color: #5aad5a;
    text-shadow: 0px 0px 6px rgba(74, 157, 74, 0.3);
}

.mob-volume-slider-container {
    position: relative;
    width: 60px;
    height: 3px;
    background-color: #646464;
    border-radius: 50px;
    cursor: pointer;
    transition: height 0.2s ease;
}

.mob-volume-slider-container:hover {
    height: 5px;
}

.mob-volume-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}

.mob-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: #4a9d4a;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(74, 157, 74, 0.3);
    transition: all 0.2s ease;
}

.mob-volume-slider::-webkit-slider-thumb:hover {
    background: #5aad5a;
    transform: scale(1.1);
    box-shadow: 0 0 6px rgba(74, 157, 74, 0.4);
}

.mob-volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #4a9d4a;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 4px rgba(74, 157, 74, 0.3);
    transition: all 0.2s ease;
}

.mob-volume-slider::-moz-range-thumb:hover {
    background: #5aad5a;
    transform: scale(1.1);
    box-shadow: 0 0 6px rgba(74, 157, 74, 0.4);
}

.mob-volume-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #4a9d4a 0%, #5aad5a 100%);
    border-radius: 50px;
    transition: width 0.1s ease-out;
    will-change: width;
    width: 70%;
    box-shadow: 0 0 4px rgba(74, 157, 74, 0.2);
    pointer-events: none;
}

.song-control .song-control__inner .song-control__buttons {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.song-control .song-control__inner .song-control__buttons i {
    cursor: pointer;
    font-size: 1rem;
    margin: 0 10px;
    transition: color 0.2s ease-out;
}

.song-control .song-control__inner .song-control__buttons i:nth-child(3) {
    font-size: 1.5rem;
}

.song-control .song-control__inner .song-control__buttons i:hover {
    color: #4a9d4a;
    text-shadow: 0px 0px 6px rgba(74, 157, 74, 0.3);
}

.song-control .song-control__inner .song-control__timeline {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
}

.song-control .song-control__inner .song-control__timeline .timeline {
    position: relative;
    width: 400px;
    height: 4px;
    background-color: #646464;
    border-radius: 50px;
    cursor: pointer;
    transition: height 0.2s ease;
}

.song-control .song-control__inner .song-control__timeline .timeline:hover {
    height: 6px;
}

.song-control .song-control__inner .song-control__timeline .timeline .timeline-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 310px;
    height: 4px;
    background: linear-gradient(90deg, #4a9d4a 0%, #5aad5a 100%);
    border-radius: 50px;
    transition: width 0.1s ease-out;
    will-change: width;
    box-shadow: 0 0 6px rgba(74, 157, 74, 0.2);
}


.hidden {
    display: none;
}

.song-control__buttons i {
    width: 24px;
    /* Adjust this value as needed */
    height: 24px;
    /* Adjust this value as needed */
    line-height: 24px;
    /* This ensures the icon is vertically centered */
    text-align: center;
    /* This ensures the icon is horizontally centered */
}

.song-control__timeline {
    display: flex;
    align-items: center;
    width: 100%;
}

.timeline {
    flex: 1;
    height: 4px;
    background-color: #ccc;
    margin: 0 10px;
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.timeline:hover {
    height: 6px;
}

.timeline-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #333;
    /* Color for the filled portion */
    transition: width 0.1s ease-out;
    will-change: width;
}

.search-bar {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    /* Adjust as needed */
    height: 20%;
    /* Adjust as needed */
    border-radius: 30px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f1a0f 100%);
    display: flex;
    align-items: center;
    padding-left: 15px;
    border: 1px solid #2d4a2d;
}

.search-bar input {
    width: 70%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    background: transparent;
    border: none;
    color: #fff;
    width: 70%;
    padding: 8px 0;
    outline: none;
    font-size: 16px;
    font-family: "Poppins-Regular", Helvetica;
}

/* To hide the search bar initially */
.hidden {
    display: none;
}

.box {
    width: 200px;
    height: 37px;
}

.box .group {
    position: fixed;
    width: 202px;
    height: 37px;
    top: 0;
    left: 0;
}

.box .overlap-group {
    position: relative;
    width: 200px;
    height: 37px;
    border-radius: 30px;
}

.box .search-wrapper {
    position: absolute;
    width: 200px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgb(27.97, 26.51, 26.51) 0.01%, rgb(55.24, 52.94, 52.94) 100%);
    height: 37px;
    top: 0;
    left: 0;
}

.box .search {
    position: absolute;
    width: 18px;
    height: 15px;
    top: 11px;
    left: 41px;
}

.box .text-wrapper {
    position: absolute;
    width: 58px;
    top: 7px;
    left: 79px;
    font-family: "Poppins-Regular", Helvetica;
    font-weight: 400;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
}

.search-bar-home {
    position: relative;
    width: 300px;
    /* Adjust as needed */
    height: 37px;
    /* Adjust as needed */
    border-radius: 30px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f1a0f 100%);
    display: flex;
    align-items: center;
    padding-left: 10px;
    border: 1px solid #2d4a2d;
}

.search-bar-home input[type="text"] {
    background: transparent;
    margin-left: 2vw;
    border: none;
    color: #fff;
    width: 100%;
    padding: 10px 0;
    outline: none;
    font-size: 16px;
    font-family: "Poppins-Regular", Helvetica;
}

.search-bar-home,
.search-bar input[type="text"]::placeholder {
    color: #ccc;
}

.song-control__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.song-control__details {
    display: flex;
    align-items: center;
    margin-right: 5vw;
    margin-right: 5dvw;
    margin-left: 225px;
}

.song-control__details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Adjust the gap between the image and text */
}

.download-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.download-btn:hover {
    background-color: rgba(74, 157, 74, 0.15);
    color: #4a9d4a;
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(74, 157, 74, 0.2);
}

.mob-download-btn {
    position: absolute;
    width: 35px;
    height: 35px;
    top: 20px;
    right: 35%;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mob-download-btn:hover {
    background-color: rgba(74, 157, 74, 0.15);
    color: #4a9d4a;
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(74, 157, 74, 0.2);
}

.song-info {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Adjust the gap between the image and text */
}

.song-info img {
    border-radius: 50%;
    /* To make the image round */
    margin-right: 10px;
}


.song-control__details {
    overflow: hidden;
    white-space: nowrap;
    width: 60px;
    /* You can adjust this width as per your design */
}

.song-control__details span {
    display: inline-block;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


.control-panel {
    display: flex;
    align-items: center;
    /* Center align items vertically */
    height: 50px;
    /* Adjust as necessary */
    overflow: hidden;
    /* Hide overflow */
    position: relative;
    /* For positioning the song name */
    justify-content: space-between;
    /* Space between items */
}

.album-image {
    align-items: center;
    position: absolute;
    /* Fixed position */
    left: 50%;
    /* Align to center */
    transform: translateX(-50%);
    /* Adjust to truly center align */
}

@media (max-width: 800px) {
    .song-control .song-control__inner {
        width: 370px;
    }

    .song-control .song-control__inner .song-control__timeline .timeline {
        width: 300px;
    }

    .song-control .song-control__inner .song-control__timeline .timeline .timeline-fill {
        width: 260px;
    }
}


@media (max-width: 500px) {

    .search-bar-home {
        width: auto;
    }

    .device aside {
        display: none;
    }

    .device .container {
        top: 0;
    }

    .device .container header .head-btns i {
        visibility: visible;
    }

    .device .container .collection-strip .inner-strip {
        align-items: center;
        justify-content: center;
    }

    .device .song-control .song-control__close {
        display: none;
    }
}

/* Adjustments for mobile view */

@media (max-width: 500px) {

    body {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 30%, #0f1a0f 50%, #1a1a1a 70%, #0a0a0a 100%);
        /* Subtle green-black gradient background */
    }

    .song-control__details {
        margin-left: 0px;
    }



    /* Adjust inner-strip */
    .device .container .collection-strip .inner-strip {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
        /* To evenly distribute items */
        align-items: center;
        padding: 10;
        margin-left: 10%;
    }

    /* Adjust box-item for mobile view */
    .device .container .collection-strip .inner-strip .box-item {
        flex: 1 0 calc(70% - 10px);
        /* Add some margin between items */
        max-width: calc(70% - 10px);
        /* Two items per row. Adjust margins */
        align-items: center;

        margin-bottom: 10px;
    }

    /* Ensure song-control buttons are accessible */
    .song-control {
        z-index: 1000;
        /* A high value to ensure it's above other elements */
    }

    /* Adjustments for song control */
    .song-control .song-control__buttons {
        padding: 5px 0;
    }
}

/* Resetting body styles for mobile view */
@media (max-width: 500px) {
    body {
        margin: 0;
    }

    /* Adjust .device to occupy whole screen */
    .device {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        margin: 0;
    }

}

/* Adjustments for audio control panel in mobile view */
@media (max-width: 500px) {
    .song-control {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        /* This ensures it spans the entire width */
        padding: 15px 0;
        background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0f1a0f 100%);
        /* Adjust as needed */
        border-radius: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 10;
        /* Ensure it stays above other content */
    }

}

@media (max-width: 500px) {

    /* Remove body styles for mobile view */
    body {
        margin: 0;
    }

    .device .container header {
        padding-top: 0;
        margin-top: 0;
        top: 0;
        /* This will make the height adjust based on content */
    }

}

/* Default styling for desktop view */
.desktop-bars {
    display: block;
}

.mobile-logo {
    display: none;
}

/* Media query for mobile view */
@media (max-width: 500px) {

    /* Adjust the breakpoint as needed */
    .desktop-bars {
        display: none;
    }

    .mobile-logo {
        display: block;
        width: 80px;
        /* Adjust size as needed */
        height: auto;
    }
}

.play-button {
    position: absolute;
    bottom: 5px;
    /* Positioned 5px from the bottom */
    right: 5px;
    /* Positioned 5px from the right */
    width: 60px;
    /* Set width */
    height: 60px;
    /* Set height */
    display: none;
    z-index: 10;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    /* Optional: Change cursor on hover */
}

.item-download-btn {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: none;
    z-index: 10;
    align-items: center;
    justify-content: center;
}

.item-download-btn:hover {
    background: rgba(74, 157, 74, 0.6);
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(74, 157, 74, 0.3);
}

.item-download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile timeline styling */
.mob-timeline {
    position: absolute;
    width: 90%;
    height: 2px;
    background-color: #646464;
    border-radius: 50px;
    top: 50px;
    left: 5%;
    overflow: hidden;
    cursor: pointer;
    transition: height 0.2s ease;
}

.mob-timeline:hover {
    height: 4px;
}

.mobtimeline-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #4a9d4a 0%, #5aad5a 100%);
    border-radius: 50px;
    transition: width 0.1s ease-out;
    will-change: width;
    width: 0%;
    box-shadow: 0 0 6px rgba(74, 157, 74, 0.2);
}

.box-item {
    position: relative;
    z-index: 1;
}

/*mobile player */

/* Adjustments for the mobile player */

.play {
    background-color: rgb(0, 0, 0);
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.play .div {
    background-color: rgba(255, 255, 255, 1);
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0f1a0f 100%);
    overflow-x: hidden;
    width: 100%;
    height: 75px;
    position: relative;
    border-top: 1px solid #2d4a2d;
}

.play .song-img {
    position: absolute;
    width: 45px;
    height: 45px;
    top: 15px;
    left: 21px;
    background-color: #d9d9d9;
    border-radius: 5px;
}

.play .group {
    position: absolute;
    width: 150px;
    height: 31px;
    top: 25px;
    left: 25%;
}

.play .text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Poppins-Regular", Helvetica;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}


.play .play-button-circled {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 3px;
    right: 5%;
    background-image: url('./img/play-button-circled.png');
    /* Path to your play button image */
    background-size: 100% 100%;
}

.play .pause-circled {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 3px;
    right: 5%;
    background-image: url('./img/pause.png');
    /* Path to your pause button image */
    background-size: 100% 100%;
}

.play .shuffle {
    position: absolute;
    width: 35px;
    height: 35px;
    top: 18px;
    right: 23%;
    background-image: url('./img/shuffle.png');
    /* Path to your shuffle image */
    background-size: 100% 100%;
}

.play .rectangle {
    width: 90%;
    height: 1px;
    background-color: #d9d9d9;
    border-radius: 19px;
}

/* Default styles for the song-control */
.song-control {
    display: none;
    /* Hide the song-control by default */
}

.play {
    display: none;
    /* Hide the mobile player by default */
}

/* Media query to target screens smaller than 768px (typical tablet and mobile sizes) */
@media (max-width: 700px) {
    .song-control {
        display: none;
        /* Hide the song-control on smaller screens */
    }

    .play {
        display: block;
        /* Show the mobile player on smaller screens */
    }
}

/* Media query to target screens larger than 768px (typical PC sizes) */
@media (min-width: 700px) {
    .song-control {
        display: flex;
        /* Show the song-control on larger screens (PCs) */
    }

    .play {
        display: none;
        /* Hide the mobile player on larger screens */
    }
}
