#simple_generator_calc {
	display: flex;
	justify-content: center;
	width: 100%;
}

.sg_calc {
	max-width: 760px;
	margin: 24px 0;
	padding: 22px;
	border: 1px solid #d9e2ec;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
	box-shadow: 0 8px 24px rgba(30, 55, 90, 0.08);
	box-sizing: border-box;
}

.sg_calc_title {
	margin-bottom: 18px;
	font-size: 22px;
	font-weight: 700;
	color: #1f3349;
}

.sg_fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 14px 18px;
}

.sg_field {
	display: block;
}

.sg_label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: #526579;
}

.sg_input_wrap {
	position: relative;
	display: block;
}

.sg_input_wrap input {
	width: 100%;
	height: 42px;
	padding: 0 58px 0 12px;
	border: 1px solid #c8d3df;
	border-radius: 9px;
	background: #ffffff;
	font-size: 17px;
	color: #1f3349;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sg_input_wrap input:focus {
	border-color: #3f7fc1;
	box-shadow: 0 0 0 3px rgba(63, 127, 193, 0.15);
}

.sg_unit {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: #75869a;
	pointer-events: none;
}

.sg_result {
	margin-top: 20px;
}

.sg_result_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.sg_result_item {
	padding: 14px;
	border-radius: 11px;
	background: #eef5fb;
	border: 1px solid #d7e5f2;
}

.sg_result_name {
	margin-bottom: 8px;
	font-size: 13px;
	color: #526579;
	line-height: 1.35;
}

.sg_result_value {
	font-size: 22px;
	font-weight: 700;
	color: #18324d;
	white-space: nowrap;
}

.sg_result_value span {
	font-size: 14px;
	font-weight: 500;
	color: #60758a;
}

.sg_error {
	padding: 12px 14px;
	border-radius: 9px;
	background: #fff0f0;
	border: 1px solid #f0b8b8;
	color: #9b2323;
	font-size: 14px;
}

@media (max-width: 700px) {
	.sg_fields {
		grid-template-columns: 1fr;
	}

	.sg_result_grid {
		grid-template-columns: 1fr;
	}

	.sg_calc {
		padding: 18px;
	}
}