.rh-tools {
	background-color: #121B2E;
	padding-bottom: 56px;
}

.rh-tools__container {
	padding-block: 36px 0;
}

.rh-tools__title {
	margin: 0 0 6px;
	text-align: center;
}

.rh-tools__subtitle {
	margin: 0 0 28px;
	text-align: center;
}

.rh-tools__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.rh-tools__row + .rh-tools__row {
	margin-top: 20px;
}

.rh-tools-form {
	padding: 34px;
	border-radius: 24px;
	background: rgba(31, 37, 64, 0.88);
	min-height: 340px;
}

.rh-tools-form__title {
	margin: 0 0 8px;
	color: var(--rh-white);
	font-size: 24px;
	font-weight: 700;
}

.rh-tools-form__text {
	color: rgba(255, 255, 255, 0.75);
	margin: 0 0 18px;
}

.rh-tools-form__field + .rh-tools-form__field {
	margin-top: 14px;
}

.rh-tools-form__input {
	max-width: 545px;
	width: 100%;
	max-height: 41px;
	padding: 15px;
	box-sizing: border-box;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.75);
	font-size: 16px;
	line-height: 1.4;
}

.rh-tools-form__label strong {
	color: #d63940;
	font-weight: 700;
}

.rh-tools-form__range {
	width: 100%;
	accent-color: #d63940;
}

.rh-tools-form__ticks {
	display: flex;
	justify-content: space-between;
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.22);
	font-size: 18px;
}

.rh-tools-form__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 18px;
}

.rh-tools-form__btn {
	max-height: 51px;
	height: 51px;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

.rh-tools-form__result {
	max-height: 51px;
	height: 51px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #D63940;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	gap: 4px;
	font-size: clamp(16px, 1.4vw, 22px);
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rh-tools-form__result strong {
	color: #d63940;
	font-weight: 700;
	margin-right: 2px;
	white-space: nowrap;
}

.rh-tools-media {
	min-height: 340px;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}

.rh-tools-media__img {
	width: min(490px, 100%);
	height: auto;
	display: block;
}

@media (max-width: 1100px) {
	.rh-tools__row {
		grid-template-columns: 1fr;
	}

	.rh-tools__row .rh-tools-media {
		order: 1;
	}

	.rh-tools__row .rh-tools-form {
		order: 2;
	}

	.rh-tools-media {
		min-height: 280px;
	}

	.rh-tools-form__actions {
		grid-template-columns: 1fr;
	}

	.rh-tools-form__result {
		font-size: clamp(14px, 4vw, 18px);
	}
}
