.gf-calculator {
	--gf-border: #d9dde4;
	--gf-border-soft: #e5e9ef;
	--gf-bg-soft: #f3f5f7;
	--gf-bg-premium: #e8f8fc;
	--gf-primary: #18b8d6;
	--gf-primary-dark: #119cb7;
	--gf-text: #1f2937;
	--gf-text-soft: #607089;
	--gf-white: #ffffff;
	--gf-radius-xl: 16px;
	--gf-radius-lg: 14px;
	--gf-radius-md: 12px;
	--gf-radius-pill: 999px;

	color: var(--gf-text);
	font-size: 16px;
	line-height: 1.4;
}

.gf-calculator * {
	box-sizing: border-box;
}

.gf-box {
	border: 1px solid var(--gf-border);
	border-radius: var(--gf-radius-xl);
	background: #fafafa;
	padding: 14px;
	margin-bottom: 16px;
}

.gf-box--middle {
	padding: 14px 14px 16px;
}

.gf-box--bottom {
	background: #fafafa;
}

.gf-pill-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 30px;
	padding: 4px 12px;
	border: 1px solid var(--gf-border);
	border-radius: var(--gf-radius-pill);
	background: #f7f8fa;
	color: var(--gf-text);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 12px;
}

.gf-pill-title--icon {
	margin-bottom: 0;
}

.gf-pill-title__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	font-size: 12px;
	color: var(--gf-text-soft);
}

.gf-finance-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.gf-finance-card {
	position: relative;
	border: 1px solid var(--gf-border);
	border-radius: var(--gf-radius-lg);
	background: #f7f7f8;
	padding: 18px 16px 14px;
	min-height: 124px;
}

.gf-finance-card--premium {
	border: 2px solid var(--gf-primary);
	background: var(--gf-bg-premium);
}

.gf-finance-card__badge {
	position: absolute;
	top: -11px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 22px;
	padding: 0 10px;
	border-radius: var(--gf-radius-pill);
	background: var(--gf-primary);
	color: var(--gf-white);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.gf-finance-card__badge-icon {
	font-size: 11px;
	line-height: 1;
}

.gf-finance-card__tin {
	font-size: 14px;
	font-weight: 500;
	color: #2c415b;
	margin-bottom: 8px;
}

.gf-finance-card__price {
	font-size: 15px;
	font-weight: 700;
	color: var(--gf-primary-dark);
	margin-bottom: 10px;
}

.gf-finance-card__price span {
	font-size: 22px;
	font-weight: 800;
}

.gf-finance-card__benefits {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gf-finance-card__benefits li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 6px;
	font-size: 14px;
	color: #202b38;
	line-height: 1.35;
}

.gf-finance-card__benefits li:last-child {
	margin-bottom: 0;
}

.gf-finance-card__benefits li::before {
	content: "⊙";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 11px;
	color: #17b25d;
	line-height: 1.5;
}

.gf-calculator-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.gf-calculator-head__info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1px solid #91a0b5;
	border-radius: 50%;
	color: #607089;
	font-size: 12px;
	font-weight: 700;
	flex: 0 0 18px;
}

.gf-amount-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}

.gf-amount-row__label {
	font-size: 15px;
	font-weight: 500;
	color: var(--gf-text-soft);
}

.gf-amount-row__value {
	font-size: 16px;
	font-weight: 800;
	color: #059fc4;
}

.gf-slider-wrap {
	margin-bottom: 10px;
}

.gf-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: #dfe4ea;
	outline: none;
	margin: 0;
}

.gf-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--gf-primary);
	cursor: pointer;
	margin-top: -6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.gf-slider::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: #dfe4ea;
}

.gf-slider::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: #dfe4ea;
}

.gf-slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--gf-primary);
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.gf-slider-labels {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
	font-size: 13px;
	color: #718096;
}

.gf-terms-head {
	display: flex;
	justify-content: center;
	margin: 8px 0 10px;
}

.gf-terms-head__label {
	font-size: 15px;
	font-weight: 500;
	color: var(--gf-text-soft);
}

.gf-terms {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
}

.gf-term-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 12px;
	border: 1px solid #e4e7ec;
	border-radius: var(--gf-radius-md);
	background: #eceef1;
	color: #202b38;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: none;
}

.gf-term-button:hover {
	border-color: #cdd5df;
	background: #e8ebef;
}

.gf-term-button.is-active {
	background: var(--gf-primary);
	border-color: var(--gf-primary);
	color: var(--gf-white);
}

.gf-simulation-text {
	font-size: 14px;
	line-height: 1.45;
	color: #64748b;
}

.gf-simulation-text strong {
	color: #2d3748;
	font-weight: 700;
}

@media (max-width: 767px) {
	.gf-box {
		padding: 12px;
		margin-bottom: 14px;
	}

	.gf-finance-cards {
		grid-template-columns: 1fr;
	}

	.gf-finance-card {
		min-height: auto;
	}

	.gf-finance-card__price span {
		font-size: 20px;
	}

	.gf-amount-row {
		flex-direction: row;
		align-items: center;
	}

	.gf-terms {
		grid-template-columns: repeat(3, 1fr);
	}

	.gf-term-button {
		min-height: 42px;
	}
}