/* Ocultar el audio nativo */
.wpag-hidden-audio { display:none; }

/* Contenedor general */
.wpag-audio-gallery {
  margin: 20px 0;
  font-family: sans-serif;
}
.wpag-default-image-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.wpag-default-image {
  max-width: 520px;
  width: 100%;
  border-radius: 12px;
}
.wpag-audio-title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 16px;
  text-align: center;
}
.wpag-audio-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Player moderno */
.wpag-player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4faf8;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Botón Play/Pause */
.wpag-playpause {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #3fa6e0;
  mask: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="5,3 19,12 5,21"/></svg>') center/60% no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="5,3 19,12 5,21"/></svg>') center/60% no-repeat;
  cursor: pointer;
}
.wpag-player.playing .wpag-playpause {
  mask: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="6" y="4" width="4" height="16"/><rect x="14" y="4" width="4" height="16"/></svg>') center/50% no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="6" y="4" width="4" height="16"/><rect x="14" y="4" width="4" height="16"/></svg>') center/50% no-repeat;
}

/* Barra de progreso */
.wpag-progress-wrap { flex: 1; }
.wpag-progress {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
  cursor: pointer;
}
.wpag-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3fa6e0;
  cursor: pointer;
  margin-top: -5px;
}
.wpag-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3fa6e0;
  cursor: pointer;
}

/* Tiempo */
.wpag-time {
  font-size: 14px;
  color: #333;
  min-width: 40px;
  text-align: right;
}
