.audio-player {
  width: 100%;
  max-width: 280px;
  padding: 10px 15px;
  /* On remplace tout background par notre dégradé et on force avec !important */
  background: linear-gradient(180deg, rgb(2 127 194) 0%, rgb(1 101 175) 55%) !important;
  border-radius: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  margin: 10px auto;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}


.audio-player-girl {
  width: 100%;
  max-width: 280px;
  padding: 10px 15px;
  /* On remplace le background par le dégradé avec tes couleurs */
  background: linear-gradient(180deg, #a1228c 0%, #c665b6 55%) !important;
  border-radius: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  margin: 10px auto;
  position: relative;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.5);
}


/* On s’assure qu’il n’y a pas de background-color ailleurs */
.audio-player {
  background-color: transparent !important;
}

.audio-player-girl button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 5;
}

.audio-player button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 5;
}

.time-display {
  min-width: 35px;
  font-size: 13px;
  user-select: none;
  text-align: center;
  flex-shrink: 0;
}

.seek {
  -webkit-appearance: none;
  height: 5px;
  background: #fff;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  flex-grow: 1;
  min-width: 60px;
  max-width: calc(100% - 140px);
}

.seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -4.5px;
}

.seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.volume-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.volume-dropdown {
  position: absolute;
  bottom: 40px;
  right: 50%;
  transform: translateX(50%);
  background: #004a7c;
  border-radius: 10px;
  padding: 0 5px;
  display: none;
  width: 30px;
  height: 120px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.4);
  z-index: 10;
  justify-content: center;
  align-items: center;
}

.volume-dropdown.active {
  display: flex;
}

.volume-dropdown input[type='range'] {
  -webkit-appearance: none;
  width: 120px;
  height: 5px;
  background: transparent;
  cursor: pointer;
  border-radius: 5px;
  outline: none;
  transform: rotate(270deg);
  transform-origin: 50% 50%;
  position: relative;
  z-index: 3;
  margin: 0;
}

.volume-dropdown input[type='range']::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, 0.6);
  width: 5px;
  border-radius: 5px;
}

.volume-dropdown input[type='range']::-moz-range-track {
  background: rgba(255, 255, 255, 0.6);
  width: 5px;
  border-radius: 5px;
}

.volume-dropdown input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  margin-left: -4.5px;
}

.volume-dropdown input[type='range']::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}