/* ========================================
   VOLUME & PLAYBACK CONTROLS
   ======================================== */

.player-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.volume-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.volume-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  transform: scale(1.1);
}

.volume-btn.muted {
  color: var(--error);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: transform var(--transition-fast);
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Playback Modes */
.playback-modes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mode-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 50%;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
  opacity: 0.6;
}

.mode-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  opacity: 0.8;
}

.mode-btn.active,
.mode-btn.repeat-all,
.mode-btn.repeat-one {
  color: var(--accent);
  opacity: 1;
  background: rgba(29, 185, 84, 0.1);
}

.mode-btn.repeat-one::after {
  content: '1';
  position: absolute;
  font-size: 8px;
  font-weight: bold;
  margin-top: 8px;
  margin-left: 8px;
  color: var(--accent);
}

/* Mobile Adjustments */
@media only screen and (max-width: 768px) {
  .player-extras {
    margin-top: 1rem;
    padding-top: 0.75rem;
  }
  
  .volume-slider {
    width: 80px;
  }
  
  .volume-btn,
  .mode-btn {
    width: 36px;
    height: 36px;
  }
}
