/* Volume Slider */

/* Custom volume slider */
.volume-slider {
  position: relative;
  width: 100px;
  min-width: 100px;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0 12px;

  user-select: none;
}

.volume-track {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
}

.volume-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  width: 100%;
}

.volume-handle {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.volume-handle:hover {
  transform: translate(-50%, -50%) scale(1.2);
  background: var(--primary-color);
}

.volume-handle.active {
  cursor: grabbing;
  background: var(--primary-color);
}

.volume-label {
  font-family: monospace, -apple-system, sans-serif;
  font-size: 12px;
  color: #555;
  text-align: right;
  min-width: 40px;
  width: 40px;
  text-align: center;

  user-select: none;
}
