/* ==== Style par défaut ==== */
.soeduc-audio-player {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  color: #333;
  margin: 10px 0;
}

.soeduc-audio-player audio {
  display: none;
}

.soeduc-audio-player .sap-btn.play-pause {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #0074D9;
}
.soeduc-audio-player .sap-btn.play-pause:hover {
  color: #0053A0;
}

.soeduc-audio-player .sap-seek-wrapper {
  flex: 1;
}
.soeduc-audio-player .sap-seek {
  width: 100%;
  cursor: pointer;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  outline: none;
}
.soeduc-audio-player .sap-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #0074D9;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.soeduc-audio-player .sap-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #0074D9;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.soeduc-audio-player .sap-time {
  font-size: 0.9rem;
  color: #666;
  min-width: 40px;
  text-align: right;
}

/* ==== Style Spotify-like ==== */
.soeduc-audio-player.style-spotify {
  background: #121212;
  padding: 10px;
  border-radius: 8px;
  color: #fff;
}

.soeduc-audio-player.style-spotify .sap-btn.play-pause {
  background: #1DB954; /* vert Spotify */
  background: #e81689; /* rose SoEduc */
  
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
.soeduc-audio-player.style-spotify .sap-btn.play-pause:hover {
  background: #1ed760;
  background: rgba(232, 22, 137, 0.835); /* rose SoEduc */
}

.soeduc-audio-player.style-spotify .sap-seek {
  background: #333;
}
.soeduc-audio-player.style-spotify .sap-seek::-webkit-slider-thumb {
  background: #1DB954;
  background: #e81689; /* rose SoEduc */
}
.soeduc-audio-player.style-spotify .sap-seek::-moz-range-thumb {
  background: #1DB954;
  background: #e81689; /* rose SoEduc */
}

.soeduc-audio-player.style-spotify .sap-time {
  color: #aaa;
}