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

.mainWrapperLightTheme {
  width: 90%;
  .rangeWrapper {
    position: relative;
    margin-top: 30px;
  }
  .range {
    -webkit-appearance: none; /* For Chrome */
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: $bgRangeLineLightSmall;
    outline: none;
    margin: 0px;
    z-index: 20;
  }
  .fillerSlider {
    background-color: $orangePrimary;
    position: absolute;
    height: 2px;
    border-radius: 2px;
    top: 11.5px;
  }
  .range::-webkit-slider-thumb {
    -webkit-appearance: none; /* For Chrome */
    appearance: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    cursor: pointer;
    background-image: url("../../assets/icons/rangeInputLight.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 9px 9px;
    position: relative;
    z-index: 4;
  }
  .rangeLabelsPlaceholders {
    display: flex;
    flex: 1;
    justify-content: space-between;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    position: absolute;
    z-index: 2;
    margin-top: 10px;
    span {
      background-color: $bgRangeLineLightSmall;
      height: 5px;
      width: 5px;
      border-radius: 50%;
    }
  }

  .sliderValueWrapper {
    position: absolute;
    top: -25px;
    background-color: $orangePrimary;
    width: 25px;
    height: 15px;
    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: 8px;
      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: 90%;
  .rangeWrapper {
    position: relative;
    margin-top: 30px;
  }
  .range {
    -webkit-appearance: none; /* For Chrome */
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: $bgRangeLineLightSmallDark;
    outline: none;
    margin: 0px;
    z-index: 20;
  }
  .fillerSlider {
    background-color: $yellow;
    position: absolute;
    height: 2px;
    border-radius: 2px;
    top: 11.5px;
  }
  .range::-webkit-slider-thumb {
    -webkit-appearance: none; /* For Chrome */
    appearance: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    cursor: pointer;
    background-image: url("../../assets/icons/rangeInputDark.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 9px 9px;
    position: relative;
    z-index: 4;
  }
  .rangeLabelsPlaceholders {
    display: flex;
    flex: 1;
    justify-content: space-between;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    position: absolute;
    z-index: 2;
    margin-top: 10px;
    span {
      background-color: $bgRangeLineLightSmallDark;
      height: 5px;
      width: 5px;
      border-radius: 50%;
    }
  }
  .sliderValueWrapper {
    position: absolute;
    top: -25px;
    background-color: $yellow;
    width: 25px;
    height: 15px;
    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: 8px;
      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;
    }
  }
}
