x-slider {
  display: block;
  position: relative;
  width: 100%;
  box-sizing: content-box;
  user-select: none;
}
x-slider.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
x-slider.disabled input,
x-slider.disabled select,
x-slider.disabled span,
x-slider.disabled label,
x-slider.disabled div,
x-slider.disabled textarea {
  cursor: not-allowed !important;
}
x-slider.required:before {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d0cfd4" opacity="0.75"><path d="M9.365,13.055l-5.367-1.528c-0.545-0.155-0.852-0.732-0.677-1.271l0.545-1.677C4.044,8.027,4.653,7.743,5.19,7.96 l5.31,2.143l-0.345-6.045C10.122,3.483,10.579,3,11.153,3h1.857c0.574,0,1.031,0.483,0.998,1.056l-0.346,6.189l5.142-2.096 c0.539-0.22,1.151,0.066,1.33,0.62l0.548,1.707c0.173,0.54-0.137,1.116-0.683,1.269l-5.486,1.532l3.61,4.596 c0.352,0.448,0.259,1.1-0.205,1.431l-1.503,1.074c-0.47,0.336-1.127,0.205-1.431-0.287l-3.127-5.042l-3.094,4.873 c-0.303,0.477-0.941,0.609-1.408,0.29l-1.484-1.013c-0.479-0.327-0.58-0.991-0.221-1.446L9.365,13.055z" fill="%23d0cfd4"/></svg>');
  background-repeat: no-repeat;
  background-size: 75% 75%;
  background-position: bottom left;
  top: 0;
  right: 0;
  animation: fadeInLeft 0.5s;
}
x-slider.invalid.required:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D63864" opacity="0.75"><path d="M9.365,13.055l-5.367-1.528c-0.545-0.155-0.852-0.732-0.677-1.271l0.545-1.677C4.044,8.027,4.653,7.743,5.19,7.96 l5.31,2.143l-0.345-6.045C10.122,3.483,10.579,3,11.153,3h1.857c0.574,0,1.031,0.483,0.998,1.056l-0.346,6.189l5.142-2.096 c0.539-0.22,1.151,0.066,1.33,0.62l0.548,1.707c0.173,0.54-0.137,1.116-0.683,1.269l-5.486,1.532l3.61,4.596 c0.352,0.448,0.259,1.1-0.205,1.431l-1.503,1.074c-0.47,0.336-1.127,0.205-1.431-0.287l-3.127-5.042l-3.094,4.873 c-0.303,0.477-0.941,0.609-1.408,0.29l-1.484-1.013c-0.479-0.327-0.58-0.991-0.221-1.446L9.365,13.055z" fill="%23D63864"/></svg>') !important;
  animation: fadeInLeft 0.5s;
}
x-slider.invalid {
  border-color: var(--color-danger, #DC3545) !important;
}
x-slider.invalid.focus {
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(var(--color-danger-rgb, 220, 53, 69), 0.3);
}
x-slider.invalid label {
  color: var(--color-danger, #DC3545);
}
x-slider.loading .slider-loading {
  opacity: 1 !important;
  z-index: auto;
  visibility: visible;
}
x-slider .slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  user-select: none;
}
x-slider .slider-header label,
x-slider .slider-header span {
  display: block;
  color: #5A616E;
  line-height: 1em;
  font-weight: normal;
  font-size: 0.75rem;
  margin: 0px;
}
.is-dark-mode x-slider .slider-header label,
.is-dark-mode x-slider .slider-header span {
  color: var(--color-text-light-shaded, #b2b2b2);
}
x-slider .slider-header span {
  font-weight: bold;
}
x-slider .slider-header .slider-loading {
  display: block;
  position: relative;
  width: 1em;
  height: 1em;
  color: inherit;
  box-sizing: content-box;
  animation: cycle 0.8s infinite linear;
  padding: 0px;
  margin: -0.5em 0em;
  opacity: 0;
  z-index: 0;
  transition: all 0.3s;
  transition-timing-function: ease-in;
}
x-slider .slider-header .slider-loading:after {
  content: " ";
  display: block;
  width: 2em;
  height: 2em;
  box-sizing: border-box;
  transform-origin: 0em 0em;
  transform: translateZ(0) scale(0.5);
  backface-visibility: hidden;
  border-radius: 50%;
  border: 0.3em solid currentColor;
  border-left-color: transparent;
}
x-slider .slider-value-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.125rem;
  user-select: none;
}
x-slider .slider-value-container .slider-value {
  position: absolute;
  top: 0;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-text, #4A4A4A);
  border-radius: 2px;
}
.is-dark-mode x-slider .slider-value-container .slider-value {
  color: var(--color-text-light-shaded, #b2b2b2);
}
x-slider .slider-value-container .slider-value > div {
  animation: bulge 0.3s ease-out;
}
x-slider .slider-value-container .slider-label {
  opacity: 0.85;
  transition: opacity 0.1s ease;
  font-size: 0.75rem;
}
x-slider .slider-value-container .slider-label.hidden {
  opacity: 0;
}
x-slider .slider-background,
x-slider .slider-progress,
x-slider .slider-tick-container {
  position: absolute;
  bottom: 5px;
  left: 0;
  height: 12px;
  pointer-events: none;
  border-radius: 4px;
  z-index: 0;
}
x-slider .slider-background {
  width: 100%;
  background-color: var(--color-border-tinted, #d9d8db);
}
.is-dark-mode x-slider .slider-background {
  background-color: var(--color-dark-tint, #414141);
}
x-slider .slider-progress {
  background-color: var(--color-primary-tinted, #7b9ef6);
}
.is-dark-mode x-slider .slider-progress {
  background-color: var(--color-primary, #4275F2);
}
x-slider .slider-tick-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}
x-slider .slider-tick-container .slider-tick {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-white, #FFFFFF);
}
x-slider input[type=range] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  background: transparent;
  outline: none;
  margin: 5px 0;
}
x-slider input[type=range]:focus {
  outline: none;
}
x-slider input[type=range]::-moz-focus-outer {
  border: 0;
}
x-slider input[type=range]::-webkit-slider-thumb {
  border: none;
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--color-primary, #4275F2);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -4px;
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3);
}
x-slider input[type=range]:hover::-webkit-slider-thumb, x-slider input[type=range]:focus::-webkit-slider-thumb {
  transform: scale(1.2);
}
x-slider input[type=range]::-moz-range-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--color-primary, #4275F2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3);
}
x-slider input[type=range]:hover::-moz-range-thumb, x-slider input[type=range]:focus::-moz-range-thumb {
  transform: scale(1.2);
}
x-slider input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: none;
  border-radius: 4px;
}
x-slider input[type=range]::-moz-range-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: none;
  border-radius: 4px;
}
x-slider input[type=range]:focus::-webkit-slider-runnable-track {
  background: none;
}
x-slider input[type=range]:active::-webkit-slider-runnable-track {
  background: none;
}

@keyframes bulge {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}