.calculator {
  margin: 80px 0 0 0;
  background: linear-gradient(180deg, #313131 0%, #002d3e 100%);
}

.calculator__wrapper {
  position: relative;
  padding: 80px 50px;
}

.calculator__title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 60px;
  line-height: 60px;
  text-align: center;
  margin-bottom: 10px;
}
.calculator__subtitle {
  font-size: 20px;
  line-height: 20px;
  text-align: center;
}

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

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

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

.control__name {
  color: #c3c3c3;
  font-family: "Manrope";
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 40px;
}

.irs--flat .irs-line {
  height: 8px !important;
  border-radius: 10px;
  background: #d1d1d1;
  opacity: 0.25 !important;
}

.irs--flat .irs-bar {
  height: 8px !important;
  background: #336a7e !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: #336a7e !important;
  border: 2px solid #fff !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;
  border-radius: 20px;
}

.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single {
  top: -24px !important;
  padding: 0 !important;
  color: #fff !important;
  text-align: center;
  font-family: "Manrope" !important;
  font-size: 36px !important;
  font-weight: 500;
  background: transparent !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;
  margin-bottom: 40px;
}

.control__range span {
  color: #fff;
  text-align: center;
  font-family: "Manrope";
  font-size: 24px;
  font-weight: 500;
}

.output {
  align-self: flex-end;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 8.2px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(13.050000190734863px);
  padding: 30px 50px;
  max-width: 620px;
  margin-bottom: 50px;
  width: 100%;
}

.output__title {
  font-weight: 400;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
}

.output__earn {
  white-space: nowrap;
  font-weight: 700;
  font-size: 64px;
  line-height: 64px;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}

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

.output__subtitle {
  font-size: 18px;
  line-height: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.output__value {
  text-align: center;
  font-family: "Manrope";
  font-weight: 700;
  font-size: 36px;
  line-height: 36px;
  color: #336a7e;
}

.controls-currencies {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 100px;
}

.controls-currencies select {
  position: relative;
  max-width: 380px;
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  background: #6e6e6e;
  color: #fff;
  font-family: "Inter";
  font-size: 32px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}

.select-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.select-arrows img:last-of-type {
  transform: rotate(180deg);
  margin-top: 10px;
}

@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) {
  .calculator__wrapper {
    padding: 30px 0 0;
  }

  .calculator {
    margin: 50px 0;
  }

  .control__range span:last-child {
    margin-right: 0;
  }

  .output {
    align-self: unset;
  }

  .controls-currencies {
    gap: 12px;
  }

  .controls-currencies select {
    max-width: 180px;
    font-size: 20px;
  }
}

@media (max-width: 1023px) {
  .calculator__inner {
    flex-direction: column;
  }
  .output {
    margin-bottom: 30px;
    max-width: 80%;
  }
  .output__inner {
    max-width: 413px;
    margin: 0 auto;
  }
  .output__subtitle.revenue {
    text-align: right;
  }
  .controls {
    max-width: calc(100% - 60px);
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .calculator {
    margin: 30px 0;
  }
  .calculator__title {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 10px;
  }
  .calculator__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .calculator__wrapper {
    padding: 28px 0 0;
  }
  .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;
  }

  .controls-currencies select {
    font-size: 12px;
  }

  .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;
  }
  .controls-currencies {
    margin-bottom: 30px;
  }
}
