:root {
--bg-color: #121212;
--card-bg: #1e1e1e;
--accent-color: #2ac0b7;
--text-main: #ffffff;
--text-muted: #b3b3b3;
}

body {
 margin: 0;
 padding: 0;
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
 background-color: var(--bg-color);
 color: var(--text-main);
 display: flex;
 justify-content: center;
 align-items: center;
 min-height: 100vh;
}

.audiobook-player {
 background-color: var(--card-bg);
 padding: 24px;
 border-radius: 12px;
 box-shadow: 0 8px 24px rgba(0,0,0,0.5);
 width: 100%;
 max-width: 380px;
 box-sizing: border-box;
}

.player-header {
 text-align: center;
 margin-bottom: 20px;
}

#chapter-title {
  margin: 0 0 4px 0;
  font-size: 1.4rem;
}

.book-title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--accent-color);
}

.dropdown-container {
  width: 100%;
  margin-bottom: 20px;
}

.speaker_icon {
  font-size:2em;
}

.speaker_icon span {
  font-size:1rem;
}

select {
  padding: 10px;
  background-color: #282828;
  color: var(--text-main);
  border: 1px solid #3e3e3e;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: var(--accent-color);
}

.progress-area {
  margin-bottom: 20px;
}

.time-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #404040;
  height: 6px;
  border-radius: 3px;
  outline: none;
  margin-bottom: 8px;
}

.time-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
}

.time-displays {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.controls-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.1s;
}

.btn:hover {
  color: var(--accent-color);
}

.btn:active {
  transform: scale(0.95);
}

.btn-main {
  font-size: 2.5rem;
}
.rate_request{
  color: var(--accent-color);
}
.rate_request a{
  color: var(--text-main);
}