.calculator {
	padding-top: 70px;
	padding-bottom: 150px;
}

.calculator__wrapper {
	position: relative;
}

.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;
}

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

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

.control__name {
	color: #000;
	margin-bottom: 30px;
	color: #78470c;
	font-family: "Arial";
	font-size: 18px;
	line-height: 18px;
}

.irs--flat .irs-line {
	height: 8px !important;
	background: linear-gradient(270deg, #f0b45c 0%, #78470c 100%) !important;
	opacity: 0.25 !important;
}

.irs--flat .irs-bar {
	height: 8px !important;
	background: linear-gradient(270deg, #fe863e 0%, #ffd62f 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: linear-gradient(270deg, #fe863e 0%, #ffd62f 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: #ffd83b;
	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: 700 !important;
	color: #78470c;
	font-family: "Arial";
	background: transparent !important;
	font-size: 20px;
	line-height: 28px;
	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: #78470c;
	font-family: "Arial";
	font-size: 16px;
	line-height: 18px;
}

.output {
	max-width: 480px;
	width: 100%;
	border-radius: 16px;
	background: linear-gradient(90deg, #fe863e 0%, #ffd62f 100%);
	border-radius: 20px;
	padding: 50px 30px;
}

.output__title {
	margin-bottom: 10px;
	color: #382520;
	text-align: center;
	font-family: "Arial";
	font-size: 30px;
	line-height: 30px;
}

.output__earn {
	margin-bottom: 40px;
	white-space: nowrap;
	color: #382520;
	text-align: center;
	font-family: "Russo One";
	font-size: 64px;
	line-height: 64px;
}

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

.output__subtitle {
	margin-bottom: 10px;
	color: #382520;
	font-family: "Arial";
	font-size: 18px;
	line-height: 18px;
}

.output__value {
	color: #382520;
	font-family: "Russo One";
	font-size: 36px;
	line-height: 36px;
}

@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;
	}
	.output {
		max-width: 100%;
		margin-bottom: 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;
	}
}
