.scale-slider-container {
  --thumb-border-color: var(--wp--preset--color--coolief-blue);
  display: flex;
  flex-direction: column;
}

.scale-slider-container__hint-text {
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  color: var(--wp--preset--color--coolief-blue);
  margin-bottom: 48px;
}

.scale-slider-container__input-container {
  width: 100%;
  margin-bottom: 4px;
  position: relative;
}

.scale-slider-container__input {
  width: 100%;
  appearance: none;
  background-color: transparent;
  position: relative;
}

.scale-slider-container__input-marker {
  position: absolute;
  border-radius: 4px;
  height: 18px;
  width: 4px;
  background: #1e1e1e;
  top: 4px;
  border: 0;
  appearance: none;
  padding: 0;
}

.scale-slider-container__input::-webkit-slider-runnable-track {
  appearance: none;
  border-radius: 10px;
  background: #fd7e51;
  background: linear-gradient(to right, var(--wp--preset--color--coolief-blue), #fd7e51);
  height: 6px;
}

.scale-slider-container__input::-moz-range-track {
  appearance: none;
  border-radius: 10px;
  background: #fd7e51;
  background: linear-gradient(to right, var(--wp--preset--color--coolief-blue), #fd7e51);
  height: 6px;
}

.scale-slider-container__input::-moz-range-thumb {
  appearance: none;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  position: relative;
  bottom: 12px;
  background-color: white;
  border-width: 3px;
  border-style: solid;
  border-color: var(--thumb-border-color);
  cursor: -webkit-grab;
  transition: border-color 0.5s ease;
}
.scale-slider-container__input::-webkit-slider-thumb {
  appearance: none;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  position: relative;
  bottom: 12px;
  background-color: white;
  border-width: 3px;
  border-style: solid;
  border-color: var(--thumb-border-color);
  cursor: -webkit-grab;
  transition: border-color 0.5s ease;
}

.scale-slider-container__buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.scale-slider-container__button {
  flex: 1;
  text-align: center;
  appearance: none;
  background-color: transparent;
  border: 0;
}

.scale-slider-container__button > * {
  pointer-events: none;
}

.scale-slider-container__label-value {
  font-weight: bold;
}

.scale-slider-container__label-value,
.scale-slider-container__label-description {
  display: block;
}

.scale-slider-container__cards--first-render .scale-slider-item:not(:first-child) {
  display: none;
}

@media (max-width: 781px) {
  .scale-slider-item {
    display: flex !important;
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .scale-slider-item__title {
    text-align: center;
  }

  .scale-slider-item:last-child {
    margin-bottom: 0;
  }

  .scale-slider-item__image-container {
    width: 100%;
  }

  .scale-slider-container__input-container,
  .scale-slider-container__buttons,
  .scale-slider-container__hint-text {
    display: none;
  }
}
