:root {
  --ifx-font-family: "Source Sans 3", 'Arial, sans-serif';
}

:host {
  display: block;
}

.left-icon,
.right-icon,
.left-text,
.right-text,
.percentage-display {
  font-size: 0.875rem;
  color: #575352;
  margin-left: 8px;
}
.left-icon.disabled,
.right-icon.disabled,
.left-text.disabled,
.right-text.disabled,
.percentage-display.disabled {
  color: #BFBBBB;
}

.left-icon,
.left-text {
  margin-right: 8px;
}

.right-icon,
.right-text,
.percentage-display {
  margin-left: 8px;
}

.ifx-slider {
  display: flex;
  align-items: center;
  padding: 2px 16px;
  border-radius: 9999px;
}
.ifx-slider input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #0A8276 0%, #0A8276 var(--value-percent, 0%), #EEEDED var(--value-percent, 0%), #EEEDED 100%);
  outline: none;
  cursor: pointer;
  transition: 0.2s;
}
.ifx-slider input[type=range]:focus-visible {
  outline: 2px solid #0A8276;
  outline-offset: 4px;
}
.ifx-slider input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0A8276;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}
.ifx-slider input[type=range]:not(:disabled)::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #0A8276;
  border-radius: 50%;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.ifx-slider input[type=range]:not(:disabled)::-webkit-slider-thumb:hover {
  background: #08665C;
}
.ifx-slider input[type=range]:not(:disabled)::-webkit-slider-thumb:active {
  background: #06534B;
}
.ifx-slider input[type=range]:disabled {
  background: #BFBBBB;
  cursor: default;
}
.ifx-slider input[type=range]:disabled::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #BFBBBB;
  border-radius: 50%;
  cursor: default;
}
.ifx-slider .range-slider__wrapper {
  position: relative;
  width: 100%;
  height: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 2px;
  background: linear-gradient(to right, #EEEDED 0%, #EEEDED var(--min-value-percent, 100%), #0A8276 var(--min-value-percent, 100%), #0A8276 var(--max-value-percent, 100%), #EEEDED var(--max-value-percent, 100%), #EEEDED 100%);
}
.ifx-slider .range-slider__wrapper:has(input[type=range]:disabled) {
  background: #BFBBBB;
}
.ifx-slider .range-slider__wrapper input[type=range] {
  position: absolute;
  pointer-events: none;
  background: none;
}
.ifx-slider .range-slider__wrapper input[type=range]:focus-visible {
  outline: 2px solid #0A8276;
  outline-offset: 4px;
}
.ifx-slider .range-slider__wrapper input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}
.ifx-slider .range-slider__wrapper input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  border: none;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}
.ifx-slider .range-slider__wrapper input[type=range]::-ms-thumb {
  -webkit-appearance: none;
  border: none;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}
.ifx-slider .range-slider__wrapper input[type=range]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  border: none;
  background: none;
  width: 100%;
}
.ifx-slider .range-slider__wrapper input[type=range]::-moz-range-track {
  -webkit-appearance: none;
  border: none;
  background: none;
  width: 100%;
}