
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  background: transparent;
  cursor: pointer;
  outline: none;
}

.slider::-webkit-slider-track {
  width: 100%;
  height: 12px;
  background: rgba(240, 185, 248, 0.3);
  border-radius: 9999px;
  position: relative;
}

.slider::-moz-range-track {
  width: 100%;
  height: 12px;
  background: rgba(240, 185, 248, 0.3);
  border-radius: 9999px;
  position: relative;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: white;
  border: 3px solid #F0B9F8;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 2;
  margin-top: -6px;
  box-shadow: 0 2px 6px rgba(240, 185, 248, 0.4);
  transition: all 0.15s ease;
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: white;
  border: 3px solid #F0B9F8;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(240, 185, 248, 0.4);
  transition: all 0.15s ease;
}

.slider:hover::-webkit-slider-thumb {
  border-color: #522A70;
  box-shadow: 0 4px 8px rgba(82, 42, 112, 0.2);
}

.slider:hover::-moz-range-thumb {
  border-color: #522A70;
  box-shadow: 0 4px 8px rgba(82, 42, 112, 0.2);
}

.slider::-webkit-slider-runnable-track {
  background: linear-gradient(to right,
    #F0B9F8 0%,
    #F0B9F8 var(--progress, 50%),
    rgba(240, 185, 248, 0.3) var(--progress, 50%),
    rgba(240, 185, 248, 0.3) 100%);
  height: 12px;
  border-radius: 9999px;
}

.slider::-moz-range-progress {
  background: #F0B9F8;
  height: 12px;
  border-radius: 9999px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}
