.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  z-index: 9999;
  font-family: sans-serif;
}

@media (max-width: 767px) {
  .audio-player {
    bottom: 60px;
    top: auto;
  }
}

@media screen and (max-height: 670px) {
  .audio-player {
    bottom: 56px;
  }
}

.audio-info {
  flex: 0 0 auto;
  font-size: 14px;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-progress {
  flex: 1;
}

.plyr {
  width: 100% !important;
  background: transparent !important;
  color: white;
}

.plyr audio {
  width: 100%;
}

.plyr--full-ui input[type=range] {
  color: #ffcc00;
}

.plyr__controls {
  color: white !important;
}

.plyr--audio .plyr__controls {
  background: transparent !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
}
/* 
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  z-index: 9999;
  font-family: sans-serif;
} */

/* Contenedor relativo */
.audio-content {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botón cerrar */
.audio-close {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-200%);
  
  background: rgba(30, 60, 120, 0.85);
  border: none;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-close:hover {
  background: rgba(50, 90, 180, 0.95); /* un azul más vivo al hover */
  color: #ffcc00;
}