
/* Custom Range Slider */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

/* Webkit (Chrome, Safari, Edge) */
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(0, 28, 6, 0.2);
  border-radius: 2px;
  transition: background 0.2s ease;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: var(--coral);
  cursor: pointer;
  margin-top: -4px; /* Track height (4px) / 2 - Thumb height (12px) / 2 */
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.1s ease;
}

input[type=range]:hover::-webkit-slider-thumb {
  transform: scale(1.1);
}

/* Firefox */
input[type=range]::-moz-range-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(0, 28, 6, 0.2);
  border-radius: 2px;
}

input[type=range]::-moz-range-thumb {
  height: 12px;
  width: 12px;
  border: none;
  border-radius: 50%;
  background: var(--coral);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* IE/Edge */
input[type=range]::-ms-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: rgba(0, 28, 6, 0.2);
  border-radius: 2px;
}

input[type=range]::-ms-fill-upper {
  background: rgba(0, 28, 6, 0.2);
  border-radius: 2px;
}

input[type=range]::-ms-thumb {
  margin-top: 1px;
  height: 12px;
  width: 12px;
  border: none;
  border-radius: 50%;
  background: var(--coral);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
