/* Contenedor Principal */
.ma-player {
  max-width: 520px;
  margin: 20px auto;
  background: #111827;
  color: #fff;
  padding: 20px;
  border-radius: 18px;
  font-family: Arial, sans-serif;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Caja de Portada */
.ma-cover-box {
  text-align: center;
  width: 100%;
 /* max-height: 280px;*/
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 15px;
}

.ma-cover {
  width: 100%;
  height: auto;
  display: block;
}

.ma-audio { display: none; }

/* Controles (Botones) */
.ma-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 15px 0;
}

.ma-controls button {
  border: 0 !important;
  background: #2563eb !important;
  color: white !important;
  padding: 12px;
  border-radius: 50% !important;
  cursor: pointer;
  transition: .25s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

.ma-controls button.ma-play {
  width: 55px;
  height: 55px;
  background: #3b82f6 !important;
}

.ma-controls button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ma-controls button:hover {
  background: #1d4ed8 !important;
  transform: scale(1.05);
}

/* Bloques de Barras */
.ma-progress-box, .ma-volume-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  font-size: 13px;
}

/* =======================================================
   ESTILOS ESPECÍFICOS PARA DISPARAR LAS BARRAS EN BLOGGER 
   ======================================================= */
.ma-progress, .ma-volume {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px; /* Grosor de la barra de fondo */
  background: #374151 !important; /* Color gris de fondo */
  border-radius: 999px;
  outline: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

/* Punto de deslizamiento (Chrome, Safari, Edge, Opera) */
.ma-progress::-webkit-slider-thumb, .ma-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #3b82f6 !important; /* Color azul del punto */
  border-radius: 50%;
  transition: transform 0.1s ease;
}

.ma-progress::-webkit-slider-thumb:hover, .ma-volume::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Punto de deslizamiento (Firefox) */
.ma-progress::-moz-range-thumb, .ma-volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #3b82f6 !important;
  border: none;
  border-radius: 50%;
  transition: transform 0.1s ease;
}

.ma-progress::-moz-range-thumb:hover, .ma-volume::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Línea de fondo alternativa para Firefox */
.ma-progress::-moz-range-track, .ma-volume::-moz-range-track {
  background: #374151 !important;
  height: 6px;
  border-radius: 999px;
}
/* ======================================================= */

/* Lista de reproducción */
.ma-playlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.ma-playlist a {
  display: block;
  text-decoration: none !important;
  color: #fff !important;
  padding: 12px;
  background: #1e293b;
  border-radius: 10px;
  cursor: pointer;
  transition: .25s;
}

.ma-playlist a:hover {
  background: #26364f;
  transform: translateX(4px);
}

.ma-playlist a.active {
  background: #2563eb !important;
  font-weight: bold;
}
