﻿/* * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #222;
  align-items: center;
  justify-content: center;
} */

#audio-player {
  position: relative;
  padding: 20px;
  border-radius: 24px;
  color: #fff;
}
/* Gradient overlay + background */
  #audio-player::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg, rgba(32,32,32,1) 0%, rgba(32,32,32,0.5) 20%, rgba(32,32,32,0.5) 50%, rgba(32,32,32,0.5) 80%, rgba(0,0,0,1) 100%); /* Semi-transparent black overlay */
      z-index: 1;
      border-radius: 24px;
      opacity: .8;
      transition: all .4s ease-in-out;
  }
  #audio-player:hover::before {
      background: linear-gradient(180deg, rgba(32,32,32,1) 0%, rgba(32,32,32,0.5) 20%, rgba(32,32,32,0.5) 50%, rgba(32,32,32,0.5) 80%, rgba(0,0,0,1) 100%);
      opacity: 1;
  }

#audio-player > * {
  position: relative;
  z-index: 2;
}
/* Track title styling */
#track-info h3 {
  text-align: left;
  margin-bottom: 15px;
  color: #fff;
}
/* Control buttons styling */
#controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  gap: 24px;
  height: 250px;
}
  #controls button {
      background: none;
      border: none;
      color: #fff;
      font-size: 45px;
      cursor: pointer;
      outline: none;
      transition: all 0.3s ease;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 8px;
      border-radius: 20px;
      width: 80px;
      height: 60px;
      min-width: 80px;
      min-height: 60px;
  }
      #controls button:hover {
          color: #fff;
          background-color: var(--btn-bg-gray-secondary);
      }
#progress-container button {
  background: none;
  border: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 20px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
}
/* Progress bar styling */
#progress-container {
  margin-top: 10px;
}
#progress {
  width: 100%;
  -webkit-appearance: none;
  background: #555;
  height: 5px;
  border-radius: 5px;
  outline: none;
}
  #progress::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #fff;
      cursor: pointer;
  }
#progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
#time {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: #fff;
}