

.details, 
.bottom-controls {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}



.now-playing {
 
  
    display: block; /* Override initial "display: none" when active */
    text-align: center;

    color: var(--player-text);
    background: var(--player-muted);
   
}

.track-name {
  font-size: 15px;
  padding-left: 10px;
}

.track-artist {
  margin-top: 5px;
  font-size: 1.5rem;
}

.buttons
{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.active {
  color: black;
}

.repeat-track,
.random-track,
.playpause-track,
.prev-track,
.next-track {
  padding: 10px;
  opacity: 0.8;
  transition: opacity .2s;
}

.repeat-track:hover,
.random-track:hover,
.playpause-track:hover,
.prev-track:hover,
.next-track:hover {
  opacity: 1.0;
}

.slider_container {
  display: flex;
  
  align-items:center ;
}


/* Volume Container and Slider */
.volume-container {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-toggle {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px;
    color: var(--black-light-color);
}

.volume-slider-container {
    position: absolute;
    bottom: 100%; /* Position above the button */
    right: -40px; /* Align to the right of the button */
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    display: none; /* Initially hidden */
    z-index: 2; /* Ensure it's above other elements */
    border-radius: 5px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow */
}

.volume-slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 4px; /* Match progress bar height */
    background: var(--player-accent); /* Match progress bar color */
    border-radius: 2px; /* Match progress bar radius */
    width: 100px; /* Adjust width as needed */
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border: 3px solid var(--player-accent); /* Match progress bar color */
    cursor: grab;
    border-radius: 100%;
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: white;
    border: 3px solid var(--player-accent); /* Match progress bar color */
    cursor: grab;
    border-radius: 100%;
}
.current-time,
.total-duration {
  /*padding: 10px;*/
}

i.fa-volume-down,
i.fa-volume-up {
  padding: 10px;
	color: var(--black-light-color);
}

i,
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward,
p {
  cursor: pointer;
	color:var(--black-light-color);
}

.randomActive {
  color: black;
}



@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}



.stroke:nth-child(1) {
  animation-delay: 0s;
}

.stroke:nth-child(2) {
  animation-delay: 0.3s;
}

.stroke:nth-child(3) {
  animation-delay: 0.6s;
}

.stroke:nth-child(4) {
  animation-delay: 0.9s;
}

.stroke:nth-child(5) {
  animation-delay: 0.6s;
}

.stroke:nth-child(6) {
  animation-delay: 0.3s;
}

.stroke:nth-child(7) {
  animation-delay: 0s;
}

.trackSelected{
	color: red;
}


#volumeShow{
/*display: none;*/
}

/* Modern Gradient Background */


/* Track List Styling */


.data-list {
    display: block;
    padding: 8px;
    margin: 5px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.data-list:hover {
   background: color-mix(in srgb, var(--player-accent) 10%, transparent);gba(255, 255, 255, 0.1);
}

.data-list.active {
    background: color-mix(in srgb, var(--player-accent) 20%, transparent);
    position: relative;
}

/* Progress Bar Styling */


.playpause-track:hover i,
.prev-track:hover,
.next-track:hover {
    color: var(--player-accent);
}


.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    margin-top: 5px;
	font-size: 14px;
	margin-right: 10px;
	margin-left: 10px;
	 color: color-mix(in srgb, var(--player-accent) 60%, #ffffff);
  
}

.progress-bar {
    height: 4px;
    background: #4CAF50;
    border-radius: 2px;
    transition: width 0.1s linear;
    width: 0%;
	background: var(--player-accent);
}

.slider_container {
    position: relative;
   /* background: rgba(255, 255, 255, 0.1);*/
    border-radius: 2px;
    cursor: pointer;
   /* padding: 8px 0;*/
}



/* Controls Styling */


.playpause-track i {
    transition: transform 0.3s ease;
}

.playpause-track:hover i {
    transform: scale(1.1);
}

.track-name {
    order: 3;
    text-align: center;
    color: var(--text-color);
}

.data-list,
    .time-display,
    .track-name {
       /* color: var(--player-accent);*/
    }
    
    .buttons i {
       
		color: var(--black-light-color);
    }

/* Card Styling */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
}

.card img {
    width: 100%;
   
    object-fit: cover;
}

/* Now Playing Section */
.now-playing {
  
}

.track-name {
    color: var(--player-text);
    font-weight: 600;
    margin-left: 5px;
}