/* Custom audio player component: play button + seek bar + time display.
   Shared across any page using the [data-audio-card] pattern (case-studies.html, scoring.html, etc.) */

.custom-audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-play-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #c9a876;
  color: #101010;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.audio-play-btn:hover {
  background: #ddbb8a;
  transform: scale(1.05);
}
.audio-play-btn svg {
  display: block;
}
.icon-play {
  transform: translateY(-2.5px);
}

.audio-progress-wrap {
  flex: 1;
  min-width: 0;
}

.audio-progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #3a3a3a;
  outline: none;
  cursor: pointer;
  margin-bottom: 0.4rem;
}
.audio-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #c9a876;
  cursor: pointer;
  border: none;
  transform: translateY(-4.5px)
}
.audio-progress::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #c9a876;
  cursor: pointer;
  border: none;
}
.audio-progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, #c9a876 0%, #c9a876 var(--progress, 0%), #3a3a3a var(--progress, 0%));
}
.audio-progress::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: #3a3a3a;
}
.audio-progress::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: #c9a876;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #999;
}