.calculator__wrapper {
  position: relative;
  max-width: 1130px;
  margin: 0 auto;
}

.calculator__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.controls {
  max-width: 515px;
  width: 100%;
}

.control__wrapper:first-child {
  margin-bottom: 30px;
}

.control__name {
  margin-bottom: 30px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.irs--flat .irs-line {
  height: 8px !important;
  background: var(
    --1,
    linear-gradient(90deg, #03bc2e 0%, #006d19 100%)
  ) !important;
  opacity: 0.25 !important;
}

.irs--flat .irs-bar {
  height: 8px !important;
  background: var(
    --1,
    linear-gradient(90deg, #03bc2e 0%, #006d19 100%)
  ) !important;
}

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

.irs--flat .irs-handle {
  cursor: pointer !important;
  top: 18px !important;
  width: 24px !important;
  height: 24px !important;
  background: var(
    --1,
    linear-gradient(90deg, #03bc2e 0%, #006d19 100%)
  ) !important;
  border-radius: 50% !important;
}

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

.irs--flat .irs-handle::after {
  position: absolute;
  content: "";
  top: calc(50% - 6px);
  right: calc(50% - 6px);
  width: 12px;
  height: 12px;
  background: #01230c;
  border-radius: 20px;
}

.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single {
  top: -24px !important;
  font-size: 28px !important;
  line-height: 28px !important;
  font-weight: 400 !important;
  color: #8a8989;
  font-family: "Inter", sans-serif;
  background: transparent !important;
  padding: 0 !important;
}

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

.control__range {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.control__range span {
  color: #8a8989;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 18px;
}

.output {
  max-width: 480px;
  width: 100%;
  border-radius: 16px;
  background: var(--1, linear-gradient(90deg, #03bc2e 0%, #006d19 100%));
  border-radius: 20px;
  padding: 50px 30px;
}

.output__title {
  margin-bottom: 10px;
  color: #010206;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 30px;
  line-height: 30px;
  font-weight: 400;
}

.output__earn {
  margin-bottom: 40px;
  white-space: nowrap;
  color: #010206;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 64px;
  line-height: 64px;
  font-weight: 900;
}

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

.output__subtitle {
  margin-bottom: 10px;
  color: #010206;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 18px;
  font-weight: 400;
}

.output__value {
  color: #010206;
  font-family: "Inter", sans-serif;
  font-size: 36px;
  line-height: 36px;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .calculator__title {
    font-size: 45px;
    line-height: 45px;
  }
  .calculator__subtitle {
    line-height: 26px;
  }
  .irs--flat .irs-from,
  .irs--flat .irs-to,
  .irs--flat .irs-single {
    font-size: 20px !important;
    line-height: 28px !important;
    top: -15px !important;
  }

  .controls {
    max-width: 460px;
  }
}

@media (max-width: 1024px) {
  .control__range span:last-child {
    margin-right: 0;
  }
}

@media (max-width: 1023px) {
  .calculator__inner {
    flex-direction: column;
    gap: 48px;
    max-width: 515px;
    margin: 0 auto;
  }
  .output {
    max-width: 480px;
    margin: 0 auto 30px;
  }
  .output__inner {
    max-width: 413px;
    margin: 0 auto;
  }
  .output__subtitle.revenue {
    text-align: right;
  }
  .controls {
    max-width: calc(100% - 20px);
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .calculator {
    padding-top: 24px;
    padding-bottom: 80px;
  }

  .calculator__title {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 10px;
  }
  .calculator__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .output {
    padding: 30px 22px;
  }
  .output__title {
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 10px;
  }

  .output__earn {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .output__subtitle {
    font-size: 16px;
    line-height: 16px;
  }

  .output__value {
    font-size: 24px;
    line-height: 30px;
  }

  .controls {
    padding-right: 0;
  }

  .control__name {
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 20px;
  }

  .irs--flat .irs-from,
  .irs--flat .irs-to,
  .irs--flat .irs-single {
    line-height: 100% !important;
    top: -10px !important;
  }
  .control__range span {
    font-size: 14px;
    line-height: 14px;
  }
  .control__wrapper:first-child {
    margin-bottom: 20px;
  }
}
