.range {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr auto;
}

.label-text {
  color: #fff; /* TEMP */
}

.range-wc-container {
  position: relative;
  z-index: 1;
  grid-row: 2 / 3;
  grid-column: 1 / 3;
}

.range-wc {
  width: 100%;
}

.text-input {
  grid-row: 1 / 2;
  grid-column: 2 / 3;

  text-align: right;
  background: transparent;
  color: inherit;
  font: inherit;
  border: none;
  padding: 2px 5px;
  box-sizing: border-box;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--main-theme-color);
  text-underline-position: under;
  width: 54px;
  position: relative;
  left: 5px;

  &:focus {
    background: #fff;
    color: #000;
  }

  /* Remove the number controls */
  -moz-appearance: textfield;

  &::-webkit-outer-spin-button,
  &::-webkit-inner-spin-button {
    -moz-appearance: none;
    -webkit-appearance: none;
    margin: 0;
  }
}
