.calculator-section .under-title-text {
  margin-bottom: 32px;
}
@media screen and (min-width: 1440px) {
  .calculator-section .under-title-text {
    margin-bottom: 64px;
  }
}
@media screen and (min-width: 1440px) {
  .calculator-section .under-title-text {
    margin-bottom: 64px;
  }
}
.calculator-section__container {
  position: relative;
  padding-bottom: 24px;
}
.calculator-section__title {
  margin-bottom: 8px;
}
.calculator-section__reg-form-wrap {
  width: 100%;
  max-width: 490px;
  margin: 20px 0 20px auto;
  padding: 0;
}

@media (max-width: 1440px) {
  .calculator-section__reg-form-wrap {
    order: -1;
  }
}

.form-button {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
  text-align: left;
}

@media screen and (min-width: 1440px) {
  .calculator-section__reg-form-wrap {
    max-width: 490px;
  }
}
.calculator-section__bg-crypto-box {
  position: absolute;
}
.calculator-section__bg-crypto-box:nth-child(1) {
  left: 5px;
  top: 115px;
  width: 90px;
  height: 90px;
  transform: rotate(-19.367deg);
}
@media screen and (min-width: 1440px) {
  .calculator-section__bg-crypto-box:nth-child(1) {
    left: 350px;
    top: 190px;
    width: 90px;
    height: 90px;
  }
}
.calculator-section__bg-crypto-box:nth-child(2) {
  left: 330px;
  top: 400px;
  width: 70px;
  height: 70px;
  transform: rotate(22deg);
}
@media screen and (min-width: 1440px) {
  .calculator-section__bg-crypto-box:nth-child(2) {
    left: 1243px;
    top: 880px;
    width: 130px;
    height: 130px;
    transform: rotate(11.248deg);
  }
}
.calculator-section__bg-crypto-box:nth-child(3) {
  left: -10px;
  top: 718px;
  width: 60px;
  height: 60px;
  transform: rotate(-28.55deg);
}
@media screen and (min-width: 1440px) {
  .calculator-section__bg-crypto-box:nth-child(3) {
    left: 790px;
    top: 300px;
    width: 100px;
    height: 100px;
    transform: rotate(-23.267deg);
  }
}
.calculator-section__bg-crypto-box:nth-child(4) {
  left: 290px;
  top: 1200px;
  width: 120px;
  height: 120px;
  transform: rotate(23.756deg);
}
@media screen and (min-width: 1440px) {
  .calculator-section__bg-crypto-box:nth-child(4) {
    left: 60px;
    top: 780px;
    width: 160px;
    height: 160px;
    transform: rotate(-27.29deg);
  }
}
@media screen and (max-width: 1439px) {
  .calculator-section {
    overflow: hidden;
    padding-bottom: 42px;
  }
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 1440px) {
  .form-container__card {
    flex-basis: 653px;
    padding: 32px;
  }
}
@media screen and (min-width: 1440px) {
  .form-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.calculator__wrapper {
  position: relative;
  color: #fff;
  padding: 20px;
  border-radius: 30px;
  border: 1px solid #6d03c5;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.calculator__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

/* ======================= */
.calculator__output {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 15px 32px;
  border-radius: 20px;
  border-radius: 70px;
  border: 1px solid #fff;
  background: rgba(122, 122, 122, 0.2);
  box-shadow: 0 4px 15px 0 rgba(255, 255, 255, 0.5),
    0 4px 60px 0 rgba(255, 255, 255, 0.25);
}
.calculator__output-title {
  font-size: 32px;
  text-align: center;
}
.calculator__output-earn {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}
@media screen and (min-width: 1440px) {
  .calculator__output-earn {
    font-size: 32px;
  }
}

.calculator__output-profit {
  display: flex;
  justify-content: space-between;
}

.calculator__profit-item-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
@media screen and (min-width: 1440px) {
  .calculator__profit-item-title {
    font-size: 18px;
  }
}

.calculator__profit-item-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.calculator__control-item-title {
  margin-bottom: 16px;
  color: #fff;
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

.calculator__control-item-range-value {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 20px;
  border-radius: 40px;
  border: 1px solid #fff;
  background: rgba(122, 122, 122, 0.2);
  box-shadow: 0 4px 60px 0 rgba(255, 255, 255, 0.25),
    0 4px 15px 0 rgba(255, 255, 255, 0.5);
}

/* ========================= */
.calculator__invest-controls {
  width: 100%;
}

.calculator__invest-controls-item:first-child {
  margin-bottom: 32px;
}

/* ========================= */
.calculator__control-range {
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-20px);
}

.calculator__control-range .calculator__range-value {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

@media screen and (min-width: 1440px) {
  .calculator__control-range.investment .calculator__range-value:nth-child(1) {
    margin-left: 5px;
  }
}

.calculator__control-range.investment .calculator__range-value:nth-child(2) {
  margin-left: 22.79px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.investment .calculator__range-value:nth-child(2) {
    margin-left: 76px;
  }
}

.calculator__control-range.investment .calculator__range-value:nth-child(3) {
  margin-left: 42px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.investment .calculator__range-value:nth-child(3) {
    margin-left: 111px;
  }
}

.calculator__control-range.investment .calculator__range-value:nth-child(4) {
  margin-left: 42px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.investment .calculator__range-value:nth-child(4) {
    margin-left: 109px;
  }
}

.calculator__control-range.investment .calculator__range-value:nth-child(5) {
  margin-left: 56px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.investment .calculator__range-value:nth-child(5) {
    margin-left: 139px;
  }
}

.calculator__control-range.period .calculator__range-value:nth-child(1) {
  margin-left: 6px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.period .calculator__range-value:nth-child(1) {
    margin-left: 13px;
  }
}

.calculator__control-range.period .calculator__range-value:nth-child(2) {
  margin-left: 42px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.period .calculator__range-value:nth-child(2) {
    margin-left: 90px;
  }
}

.calculator__control-range.period .calculator__range-value:nth-child(3) {
  margin-left: 53px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.period .calculator__range-value:nth-child(3) {
    margin-left: 118px;
  }
}

.calculator__control-range.period .calculator__range-value:nth-child(4) {
  margin-left: 52px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.period .calculator__range-value:nth-child(4) {
    margin-left: 122px;
  }
}

.calculator__control-range.period .calculator__range-value:nth-child(5) {
  margin-left: 60px;
}
@media screen and (min-width: 1440px) {
  .calculator__control-range.period .calculator__range-value:nth-child(5) {
    margin-left: 146px;
  }
}

/* ========================= */
.calculator__scale-box {
  display: flex;
  padding: 0 8.17px;
  justify-content: space-between;
  gap: 16.33px;
  transform: translateY(-11px);
}
@media screen and (min-width: 1440px) {
  .calculator__scale-box {
    gap: 32px;
  }
}
@media screen and (min-width: 1440px) {
  .calculator__scale-box {
    gap: 32px;
  }
}
@media screen and (min-width: 1440px) {
  .calculator__scale-box {
    padding: 0 16px;
  }
}

.calculator__scale-mark {
  display: block;
  width: 1px;
  height: 8px;
  background: #d9d9d9;
}
@media screen and (min-width: 1440px) {
  .calculator__scale-mark {
    width: 2px;
  }
}

.calculator__scale-mark:nth-child(2n) {
  height: 13px;
}

/* ======== Lib components ======== */
.irs--flat .irs-line {
  height: 4px !important;
  border-radius: 4px;
  background: #d9d9d9 !important;
}

.irs--flat .irs-bar {
  height: 4px !important;
  border-radius: 4px 0px 0px 4px;
  background: linear-gradient(90deg, #b35832 0%, #6d03c5 100%);
}

.irs--flat .irs-min,
.irs--flat .irs-max {
  display: none !important;
}

.irs--flat .irs-handle {
  cursor: pointer !important;
  top: 15px !important;
  width: 24px !important;
  height: 24px !important;
  background: rgba(126, 126, 126, 0.4) !important;
  box-shadow: 1px 1px 5px 0px rgba(255, 255, 255, 0.45) inset,
    -1px -1px 5px 0px rgba(255, 255, 255, 0.45) inset !important;
  backdrop-filter: blur(400px);
  border-radius: 50% !important;
  background-image: url("/img/blur-sphere.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}
@media screen and (min-width: 1440px) {
  .irs--flat .irs-handle {
    top: 10px !important;
    width: 36px !important;
    height: 36px !important;
  }
}

.irs--flat .irs-handle i {
  display: none !important;
}

.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single {
  top: -24px !important;
  color: #101010;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  background-color: unset !important;
  padding: 0 !important;
}

.irs--flat .irs-single {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.irs--flat .irs-from:before,
.irs--flat .irs-to:before,
.irs--flat .irs-single:before {
  display: none !important;
}

.irs-single {
  display: none !important;
}
