/**
 * @file
 * Styles for audio playlist player on report listing pages.
 */

/* Hide audio play button when no audio is available */
.report-audio-play-btn-a.no-summary {
  display: none !important;
}

/* Title line (single row, center area) */


/* Time = subtle, sits to the right of the title line */
.audio-time-display {
  margin-left: 12px;
  font-size: 12px;
  color: #8a8a8a;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

/* Progress bar under the title line */

.audio-progress-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 9px;
  /* Dynamic gradient background to show "played so far" in teal color */
  background: linear-gradient(to right, #1db584 0%, #1db584 var(--progress-percentage, 0%), #2a2a2a var(--progress-percentage, 0%), #2a2a2a 100%);
  border-radius: 9999px;
  outline: none;
}

/* WebKit thumb: very subtle so it looks like a flat bar */
.audio-progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 0;
  margin-top: -2px;
}
.audio-progress-bar:active::-webkit-slider-thumb { opacity: 1; }

/* Firefox */
.audio-progress-bar::-moz-range-track {
  height: 6px;
  /* Dynamic gradient background to show "played so far" in teal color */
  background: linear-gradient(to right, #1db584 0%, #1db584 var(--progress-percentage, 0%), #2a2a2a var(--progress-percentage, 0%), #2a2a2a 100%);
  border: 0;
  border-radius: 9999px;
}
.audio-progress-bar::-moz-range-thumb {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e5e5e5; border: 0; opacity: 0.6;
}

/* Volume on the right, vertically centered */

.audio-volume-bar {
  width: 72px;
  -webkit-appearance: none;
  appearance: none;
  height: 9px;
  background: #2a2a2a;
  border-radius: 9999px;
  outline: none;
}
.audio-volume-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: #e5e5e5; border: 0; margin-top: -2px; opacity: 0.6;
}
.audio-volume-bar::-moz-range-track { height: 6px; background: #2a2a2a; border: 0; border-radius: 9999px; }
.audio-volume-bar::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #e5e5e5; border: 0; opacity: 0.6; }

