/*##*/
#audio {
  display: none;
}
.ok_audio.audio-player {
  background: #f6f6ff;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

/*.album-thumb {*/
/*    width: 70px;*/
/*    height: 70px;*/
/*    border-radius: 12px;*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 32px;*/
/*    flex-shrink: 0;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.album-thumb.playing::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);*/
/*    animation: pulse 1.5s ease-in-out infinite;*/
/*}*/

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.ok_audio .player-content {
  flex: 1;
  min-width: 0;
}

.ok_audio .track-info {
  margin-bottom: 12px;
}

.ok_audio .track-title {
  font-size: 14px;
  font-weight: 400;
  color: #2d3748;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*.track-artist {*/
/*    font-size: 13px;*/
/*    color: #718096;*/
/*}*/

.ok_audio .player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ok_audio .play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(284deg, #6c60fa -14.14%, #1685f8 112.47%);
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.ok_audio .play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ok_audio .progress-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ok_audio .time {
  font-size: 12px;
  color: #718096;
  min-width: 40px;
  text-align: center;
}

.ok_audio .progress-bar {
  flex: 1;
  height: 5px;
  background: #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.ok_audio .progress {
  height: 100%;
  background: linear-gradient(284deg, #6c60fa -14.14%, #1685f8 112.47%);
  border-radius: 10px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.ok_audio .progress::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border: 2px solid #667eea;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.ok_audio .progress-bar:hover .progress::after {
  opacity: 1;
}

.ok_audio .volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ok_audio .volume-icon {
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s;
}

.ok_audio .volume-icon:hover {
  transform: scale(1.1);
}

.ok_audio .volume-slider {
  width: 80px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.ok_audio .volume-level {
  height: 100%;
  background: linear-gradient(284deg, #6c60fa -14.14%, #1685f8 112.47%);
  border-radius: 10px;
  width: 70%;
}

.ok_audio .play-btn .pause-icon {
  display: none;
}

/*.play-btn.playing .play-icon {*/
/*    display: none;*/
/*}*/

.ok_audio .play-btn.playing .pause-icon-white {
  display: inline;
}

@media (max-width: 640px) {
  .player-controls {
    flex-wrap: wrap;
  }
  .progress-wrapper {
    order: 4;
    flex: 0 0 100%;
  }
  .volume-control {
    margin-left: auto;
  }
}
