body {
  /* background-color: lightgreen; */

  /* Smoothly transition the background color */
  transition: background-color .5s;
}

.player {
  display: flex;
  justify-content: space-between;
}

.details {
  display: flex;
  justify-content: start;
  /* align-items: center; */
  align-items: start;
}

.track-art {
  margin-right: 10px;
  margin-left: 10px;
  height: 50px;
  width: 75px;


  background-image: url("https://images.pexels.com/photos/262034/pexels-photo-262034.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 15%;
}


.now-playing {
  font-size: 1rem;
}

.track-name {
  font-size: 15px;
}

.track-artist {
  font-size: 1.5rem;
}

.buttons {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
}

.playbutton {
  align-items: center;
  padding: 1%;
}

.playpause-track,
.prev-track,
.next-track {
  opacity: 0.8;
  /* Smoothly transition the opacity */
  transition: opacity .2s;
}

.playpause-track:hover,
.prev-track:hover,
.next-track:hover {
  opacity: 1.0;
}

.slider_container {
  /* width: 75%; */
  /* max-width: 400px; */
  display: flex;
  justify-content: end;
  align-items: center;
}

/* Modify the appearance of the slider */
.seek_slider,
.volume_slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  background: white;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

/* Modify the appearance of the slider thumb */
.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
}

.seek_slider:hover,
.volume_slider:hover {
  opacity: 1.0;
}

.seek_slider {
  width: 60%;
}

.volume_slider {
  width: 30%;
}

.current-time,
.total-duration {
  padding: 10px;
}

i.fa-volume-down,
i.fa-volume-up {
  padding: 10px;
}

i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward {
  cursor: pointer;
}


.highlight {
  font-weight: 700;
  color: black !important;
  content: "&#xf04b;";
}
 .dropdown-item.speed.active,
    .dropdown-item.speed.active:hover {
        background-color: rgb(108 117 125) !important;
        color: white !important;
    }

    .dropdown-item.speed:not(.active):hover {
        background-color: #babebe !important;
        color: black !important;
    }

    /* ------------ MOBILE FIX (max-width: 576px) ------------ */
@media (max-width: 576px) {

    .audio-player {
        height: auto !important;
        padding: 8px 0;
    }

    .player {
        flex-direction: column;
        gap: 10px;
    }

    /* Track image + Name – stack vertically */
    .details {
        flex-direction: row;
        align-items: center !important; 
    }

    .track-art {
        height: 40px !important;
        width: 40px !important;
        margin-right: 8px;
    }

    /* Buttons center full width */
    .buttons {
        justify-content: center !important;
        gap: 10px;
        padding: 5px 0;
    }

    /* Volume section reduce width */
    .volume_slider {
        width: 60% !important;
    }

    /* Speed + menu icons */
    #repeatBtn,
    .dropup,
    .audio-options,
    .bi-three-dots-vertical {
        font-size: 14px !important;
    }

    /* Time + Seek slider in one row */
    .seek_slider {
        width: 100% !important;
    }

    .current-time,
    .total-duration {
        font-size: 12px !important;
        padding: 0 5px !important;
    }

    /* Force columns to stack nicely */
    /* .col-6, .col-12, .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    } */
}
