/* Volume control styles */

.pp-volume-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-volume-slider {
  height: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 1;
  border: none;
  padding: 2px 0; /* Add 5px padding top and bottom for extended clickable area */
  -webkit-appearance: none;
  appearance: none;
}

.pp-volume-slider::-webkit-slider-track {
  background: transparent;
  border-radius: 4px;
  height: 5px;
}

.pp-volume-slider::-webkit-slider-runnable-track {
  background: transparent;
  border-radius: 4px;
  height: 5px;
}

.pp-volume-slider::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  background: #f03;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-top: -5px;
  -webkit-appearance: none;
  appearance: none;
}

.pp-volume-slider::-moz-range-track {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  height: 5px;
  border: none;
}

.pp-volume-slider::-moz-range-progress {
  border-radius: 2px;
  height: 5px;
}

.pp-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-top: -5px;
}

.pp-volume-time-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
}

.pp-time-display {
  color: white;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  margin-left: 2px;
}

/* Volume slider visibility states */
.pp-volume-slider-visible {
  opacity: 1 !important;
  width: 80px !important;
}

.pp-volume-slider-hidden {
  opacity: 0 !important;
  width: 0 !important;
} 