.custom-audio-player {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  max-width: 480px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  margin: 20px 0;
}

.player-header {
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.player-header i {
  color: #007bff;
}

/* Sound Wave Efekti Tasarımı */
.sound-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-left: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Sadece ses çalarken aktif olur */
.custom-audio-player.is-playing .sound-wave {
  opacity: 1;
  visibility: visible;
}

.sound-wave span {
  width: 3px;
  height: 100%;
  background-color: #007bff;
  border-radius: 2px;
  animation: wave 0.8s infinite ease-in-out alternate;
}

.sound-wave span:nth-child(1) { animation-delay: 0.0s; }
.sound-wave span:nth-child(2) { animation-delay: 0.2s; }
.sound-wave span:nth-child(3) { animation-delay: 0.4s; }

@keyframes wave {
  0% { height: 25%; }
  100% { height: 100%; }
}

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

.player-btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease;
  flex-shrink: 0;
}

.player-btn:hover { background: #0056b3; }
.player-btn:active { transform: scale(0.95); }
.player-btn i { font-size: 14px; margin-left: 2px; }

.progress-area {
  flex: 1;
  background: #dee2e6;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.progress-bar {
  background: #007bff;
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.time-display {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
  min-width: 75px;
  text-align: right;
  flex-shrink: 0;
}