/* ============================================================
   audio.css — Ampara
   Reproductor de audio personalizado.

   ✂  Eliminar de styles.css: líneas 946–1003
   ============================================================ */


/* ============================================================
   CONTENEDOR PRINCIPAL
   ============================================================ */

.audio-player-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin: 2rem 0;
}


/* ============================================================
   BARRA DE PROGRESO
   ============================================================ */

.audio-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0;
}

.time-display {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  min-width: 45px;
  text-align: center;
}

.progress-container {
  flex: 1;
  height: 44px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: height 0.2s ease;
}

.progress-container:hover {
  height: 44px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #9333ea, #7c3aed);
  border-radius: 9999px;
  width: 0%;
  transition: width 0.1s linear;
}


/* ============================================================
   DARK MODE
   ============================================================ */

body.dark-mode .time-display {
  color: #9ca3af;
}

body.dark-mode .progress-container {
  background-color: #374151;
}

body.dark-mode .progress-bar {
  background: linear-gradient(90deg, #a855f7, #9333ea);
}
