.grc-rate-card-root {
	max-width: 900px;
	margin: 0 auto;
	font-family: inherit;
}

.grc-form {
	border: 1px solid #e8ecf0;
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 30px;
	background: #fafafa;
}

.grc-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 16px;
}

.grc-form-row-zip {
	max-width: 420px;
}

.grc-form-row-zip .grc-field {
	flex: none;
	width: 160px;
}

.grc-city-state-wrap {
	display: flex;
	flex-direction: column;
}

.grc-field-label-spacer {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	visibility: hidden;
}

.grc-form-row-bottom {
	align-items: flex-end;
	margin-bottom: 0;
}

.grc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	flex: 1;
	min-width: 130px;
}

.grc-field input,
.grc-field select {
	padding: 10px 12px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 400;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
}

.grc-city-state {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 40px;
	font-size: 13px;
	font-weight: 400;
	color: #7d7d7d;
	white-space: nowrap;
}

.grc-city-state-error {
	color: #be0c0c;
}

.grc-pin {
	font-size: 12px;
}

.grc-field input.grc-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 16px;
	margin-top: 10px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
}

.grc-field input.grc-slider::-webkit-slider-runnable-track {
	height: 3px;
	background: #be0c0c;
	border-radius: 2px;
}

.grc-field input.grc-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #be0c0c;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #be0c0c;
	margin-top: -4.5px;
}

.grc-field input.grc-slider::-moz-range-track {
	height: 3px;
	background: #be0c0c;
	border-radius: 2px;
}

.grc-field input.grc-slider::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #be0c0c;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #be0c0c;
}

input.grc-readonly {
	background: #f0f0f0;
	color: #666;
	cursor: not-allowed;
}

.grc-field-downpayment {
	min-width: 200px;
}

.grc-downpayment-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.grc-downpayment-row input:first-child {
	flex: 1.4;
}

.grc-downpayment-row input:nth-child(2) {
	flex: 1;
}

.grc-pct-sign {
	font-size: 13px;
	color: #7d7d7d;
	font-weight: 400;
}

.grc-update-button {
	background-color: #be0c0c;
	color: #fff;
	border: none;
	border-radius: 48px;
	padding: 12px 32px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s ease-in-out;
}

.grc-update-button.is-clean {
	opacity: 0.45;
}

.grc-update-button.is-dirty {
	opacity: 1;
}

.grc-update-button:hover {
	background-color: #9c0a0a;
}

.grc-purpose-toggle {
	display: flex;
	width: fit-content;
	margin: 0 auto 30px;
	border: 1px solid #be0c0c;
	border-radius: 48px;
	overflow: hidden;
}

.grc-purpose-toggle button {
	border: 0;
	background: transparent;
	color: #000;
	font-size: 16px;
	font-weight: 600;
	padding: 12px 40px;
	cursor: pointer;
	border-radius: 48px;
}

.grc-purpose-toggle button.active {
	background-color: #be0c0c;
	color: #fff;
}

.grc-product-tabs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	margin-bottom: 30px;
	padding-bottom: 4px;
}

.grc-product-tabs .subcategory {
	white-space: nowrap;
	padding: 8px 15px;
	cursor: pointer;
	border: 1px solid #e8ecf0;
	border-radius: 5px;
	background-color: #e8ecf0;
	color: #000;
	font-weight: 600;
}

.grc-product-tabs .subcategory.active {
	color: #fff;
	background-color: #be0c0c;
	border-color: #be0c0c;
}

.grc-card-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.purchase_wrapper {
	transition: 0.2s;
	display: flex;
	width: 100%;
	max-width: 100%;
	height: auto;
	gap: 18px;
	flex-direction: row;
	align-items: center;
	border-radius: 20px;
	padding: 24px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	justify-content: space-between;
	flex-wrap: wrap;
}

.purchase_wrapper:hover {
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.purchase-text-wraper {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.purchase-text {
	color: #000;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 500;
}

.fixed-text {
	font-size: 18px;
	font-weight: 800;
	line-height: 28px;
}

.centre-wrapper {
	display: flex;
	flex: 1;
	position: relative;
	flex-wrap: wrap;
	gap: 12px;
}

.rate-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	align-items: center;
	padding: 0 12px;
}

.inerest-text {
	color: #7d7d7d;
	font-size: 14px;
}

.int-text {
	color: #141313;
	font-size: 18px;
	font-weight: 800;
}

.points-badge {
	background: #f5e6c3;
	color: #141313;
	font-weight: 700;
	font-size: 14px;
	padding: 4px 10px;
	border-radius: 20px;
}

.customise-button {
	height: 48px;
	padding: 14px 26px;
	font-size: 16px;
	background-color: transparent;
	border: 1px solid #be0c0c;
	color: #be0c0c;
	border-radius: 56px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	text-decoration: none !important;
	transition: 0.3s ease-in-out;
	cursor: pointer;
	white-space: nowrap;
}

.customise-button:hover {
	color: #fff;
	background-color: #be0c0c;
}

.grc-show-toggle {
	text-align: center;
	margin-top: 8px;
}

.grc-show-toggle button {
	background: none;
	border: none;
	color: #be0c0c;
	font-weight: 600;
	cursor: pointer;
	font-size: 15px;
}

.grc-footer {
	text-align: center;
	margin-top: 16px;
	font-size: 13px;
	color: #7d7d7d;
}

.grc-loading,
.grc-error {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 60px 0;
	color: #7d7d7d;
	font-size: 15px;
}

.grc-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid #e8ecf0;
	border-top-color: #be0c0c;
	border-radius: 50%;
	display: inline-block;
	animation: grc-spin 0.8s linear infinite;
}

@keyframes grc-spin {
	to {
		transform: rotate(360deg);
	}
}

.grc-footer-sep {
	color: #c7c7c7;
}

.grc-assumptions-wrap {
	position: relative;
	display: inline-block;
}

.grc-assumptions-link {
	background: none;
	border: none;
	padding: 0;
	color: #7d7d7d;
	text-decoration: underline;
	cursor: pointer;
	font-size: 13px;
}

.grc-assumptions-popover {
	display: none;
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	width: 280px;
	background: #fff;
	border: 1px solid #e8ecf0;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 16px;
	text-align: left;
	z-index: 20;
	font-size: 13px;
	color: #333;
}

.grc-assumptions-title {
	font-weight: 800;
	margin-bottom: 8px;
	font-size: 13px;
}

.grc-assumptions-desc {
	color: #7d7d7d;
	margin-bottom: 10px;
	line-height: 1.4;
}

.grc-assumptions-rates div {
	padding: 2px 0;
}

@media (max-width: 600px) {
	.purchase_wrapper {
		flex-direction: column;
		align-items: stretch;
	}
	.centre-wrapper {
		justify-content: space-between;
	}
	.customise-button {
		width: 100%;
	}
}
