@import "../../styles/colors.scss";
@import "../../styles/fonts.scss";

.mainWrapperLightTheme {
  width: 80%;
  .label {
    font-family: Poppins;
    font-size: 14px;
    line-height: 28px;
    padding-bottom: 30px;
    margin: 0;
  }
  .rangeWrapper {
    position: relative;
  }
  .range {
    -webkit-appearance: none; /* For Chrome */
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: $bgRangeLineLight;
    outline: none;
    margin: 0px;
    z-index: 20;
  }
  .fillerSlider {
    background-color: $orangePrimary;
    position: absolute;
    height: 2px;
    border-radius: 2px;
    top: 15px;
  }
  .range::-webkit-slider-thumb {
    -webkit-appearance: none; /* For Chrome */
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    cursor: pointer;
    background-image: url("../../assets/icons/rangeInputLight.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px 12px;
    position: relative;
    z-index: 4;
  }
  .rangeLabels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-left: 3px;
    padding-right: 2px;
    span {
      font-family: Poppins;
      font-weight: 300;
      font-size: 10px;
      line-height: 28px;
      color: $blackPrimary;
    }
  }
  .rangeLabelsPlaceholders {
    display: flex;
    flex: 1;
    justify-content: space-between;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    position: absolute;
    z-index: 2;
    margin-top: 12px;
    span {
      background-color: $bgRangeLineLight;
      height: 8px;
      width: 8px;
      border-radius: 4px;
    }
  }

  .sliderValueWrapper {
    position: absolute;
    top: -30px;
    background-color: $orangePrimary;
    width: 30px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    span {
      padding: 0;
      margin: 0;
      font-family: Poppins;
      font-weight: 400;
      font-size: 14px;
      line-height: 21px;
      color: $white;
      z-index: 10;
    }
    .sliderValueArrow {
      position: absolute;
      width: 10px;
      height: 10px;
      background-color: $orangePrimary;
      bottom: -2px;
      transform: rotate(45deg);
      z-index: 5;
    }
  }
}

.mainWrapperDarkTheme {
  width: 80%;
  .label {
    font-family: Poppins;
    font-size: 14px;
    line-height: 28px;
    padding-bottom: 30px;
    margin: 0;
  }
  .rangeWrapper {
    position: relative;
  }
  .range {
    -webkit-appearance: none; /* For Chrome */
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: $bgRangeLineDark;
    outline: none;
    margin: 0px;
    z-index: 20;
  }
  .fillerSlider {
    background-color: $yellow;
    position: absolute;
    height: 2px;
    border-radius: 2px;
    top: 15px;
  }
  .range::-webkit-slider-thumb {
    -webkit-appearance: none; /* For Chrome */
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    background-image: url("../../assets/icons/rangeInputDark.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px 12px;
    position: relative;
    z-index: 4;
  }

  .rangeLabels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-left: 3px;
    padding-right: 2px;
    span {
      font-family: Poppins;
      font-weight: 300;
      font-size: 10px;
      line-height: 28px;
      color: $greySecondary;
    }
  }
  .rangeLabelsPlaceholders {
    display: flex;
    flex: 1;
    justify-content: space-between;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    position: absolute;
    z-index: 2;
    margin-top: 12px;
    span {
      background-color: $bgRangeLineDark;
      height: 8px;
      width: 8px;
      border-radius: 4px;
    }
  }
  .sliderValueWrapper {
    position: absolute;
    top: -30px;
    background-color: $yellow;
    width: 30px;
    height: 18px;
    bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    span {
      padding: 0;
      margin: 0;
      font-family: Poppins;
      font-weight: 400;
      font-size: 14px;
      line-height: 21px;
      color: $blackPrimary;
      z-index: 10;
    }
    .sliderValueArrow {
      position: absolute;
      width: 10px;
      height: 10px;
      background-color: $yellow;
      bottom: -2px;
      transform: rotate(45deg);
      z-index: 5;
    }
  }
}
