/* Custom audio player styles - light theme for all browsers */

#audio-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border: 1px solid #e5e7eb;
  font-family: system-ui, -apple-system, sans-serif;
}

#audio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

#audio-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #0d9488;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#audio-toggle:hover {
  background: #0f766e;
}

#audio-seek {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #e5e7eb;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

#audio-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #0d9488;
  border-radius: 50%;
  cursor: pointer;
}

#audio-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #0d9488;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

#audio-time {
  font-size: 12px;
  color: #6b7280;
  min-width: 80px;
  text-align: center;
}

#audio-rate {
  padding: 4px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  font-size: 12px;
  color: #374151;
  cursor: pointer;
  min-width: 60px;
}

#audio-rate:focus {
  outline: none;
  border-color: #0d9488;
}

/* Dark mode override - keep audio player light */
@media (prefers-color-scheme: dark) {
  #audio-box {
    background: #ffffff;
    border-color: #e5e7eb;
  }
  
  #audio-time {
    color: #6b7280;
  }
  
  #audio-rate {
    background: white;
    color: #374151;
    border-color: #d1d5db;
  }
}
