/* ======================================================
   Player Audio - Transparent Background
   ====================================================== */

/* Conteneur général */
.audio-waveform.soundcloud-style {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  padding: 2px 10% 5px 10%;
  border-radius: 6px;
  max-width: 100%;
  background: transparent; /* <-- transparent */
}

/* ======================================================
   Bouton Play
   ====================================================== */
.audio-waveform.soundcloud-style .play {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #000; /* bouton visible */
  color: #fff;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;

  outline: none;
  box-shadow: none;
  transition: background 0.2s ease;
}

.audio-waveform.soundcloud-style .play:hover {
  background: #505050;
}

.audio-waveform.soundcloud-style .play:active {
  background: #fff;
}

/* ======================================================
   Waveform
   ====================================================== */
.audio-waveform.soundcloud-style .wave {
  flex: 1;
  height: 60px;
  max-width: 60%;
  background: transparent; /* <-- transparent */
}

/* ======================================================
   Time display
   ====================================================== */
.audio-waveform.soundcloud-style .time {
  text-align: right;
  color: #FFF;
  font-size: 10px;
}

/* ======================================================
   Volume Slider (vertical)
   ====================================================== */
.audio-waveform .volume {
  width: 90px;
  height: 10px;

  transform: rotate(-90deg);
  transform-origin: center;

  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;

  margin-left: 2px;
  background: transparent; /* <-- transparent */
}

.audio-waveform .volume::-webkit-slider-runnable-track {
  height: 6px;
  background: #444; /* track visible pour slider */
  border-radius: 3px;
}

.audio-waveform .volume::-moz-range-track {
  height: 6px;
  background: #444;
  border-radius: 3px;
}

.audio-waveform .volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: #fff; /* thumb visible */
  border-radius: 50%;
  margin-top: -8px;
}

.audio-waveform .volume::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  border: none;
}

/* ======================================================
   Input volume fallback
   ====================================================== */
input.volume {
  margin: 0px 0 0 0;
  padding: 0;
  background: transparent; /* <-- transparent */
}

/* ======================================================
   z-index helper
   ====================================================== */
.zindex100 {
  z-index: 100;
  position: relative;
}
