.gfb-form {
	--gfb-accent: #2271b1;
	--gfb-button-bg: #2563eb;
	--gfb-button-text: #fff;
	--gfb-required-color: #d92d20;
	--gfb-radius: 6px;
	--gfb-gap: 14px;
	--gfb-button-min-height: 48px;
	--gfb-button-font-size: 16px;
	--gfb-button-padding-y: 12px;
	box-sizing: border-box;
	color: inherit;
	display: grid;
	gap: var(--gfb-gap);
	max-width: 100%;
	width: 100%;
}

.gfb-form *,
.gfb-form *::before,
.gfb-form *::after {
	box-sizing: border-box;
}

.gfb-form [hidden] {
	display: none !important;
}

.gfb-fields {
	display: grid;
	gap: var(--gfb-gap);
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gfb-progress {
	background: #e5e7eb;
	border-radius: 999px;
	display: flex;
	height: 8px;
	overflow: visible;
	position: relative;
	width: 100%;
}

.gfb-progress span {
	background: var(--gfb-accent);
	display: block;
	height: 100%;
	border-radius: 999px;
	transition: width 180ms ease;
	width: 0;
}

.gfb-progress-label {
	color: #344054;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	position: absolute;
	right: 0;
	top: 12px;
	white-space: nowrap;
}

.gfb-test-mode-banner {
	background: #fffbeb;
	border: 1px solid #f59e0b;
	border-radius: var(--gfb-radius);
	color: #713f12;
	font-weight: 800;
	padding: 10px 12px;
}

.gfb-form-content-block {
	color: inherit;
	line-height: 1.55;
}

.gfb-form-content-block > :first-child {
	margin-top: 0;
}

.gfb-form-content-block > :last-child {
	margin-bottom: 0;
}

.gfb-form-content-left {
	text-align: left;
}

.gfb-form-content-center {
	text-align: center;
}

.gfb-form-content-right {
	text-align: right;
}

.gfb-field {
	display: grid;
	gap: 8px;
	grid-column: span 12;
	min-width: 0;
}

.gfb-field-header,
.gfb-field-footer {
	line-height: 1.35;
	margin: 0;
}

.gfb-field-step-marker {
	display: none !important;
}

.gfb-field-header > :first-child,
.gfb-field-footer > :first-child {
	margin-top: 0;
}

.gfb-field-header > :last-child,
.gfb-field-footer > :last-child {
	margin-bottom: 0;
}

.gfb-field-divider {
	padding: 4px 0;
}

.gfb-field-divider hr {
	border: 0;
	margin: 0 auto;
}

.gfb-field-trust-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	border: 1px solid;
	border-radius: var(--gfb-radius);
	padding: 14px 16px;
	line-height: 1.45;
}

.gfb-field-trust-block strong {
	font-weight: 700;
}

.gfb-field-trust-block span {
	display: block;
	font-weight: 400;
}

.gfb-layout-half { grid-column: span 6; }
.gfb-layout-third { grid-column: span 4; }
.gfb-layout-inline { grid-column: span 6; }
.gfb-layout-stacked { grid-column: span 12; }

.gfb-field > span,
.gfb-field .gfb-label-text {
	color: inherit;
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 2px;
}

.gfb-field em {
	color: var(--gfb-required-color);
	font-style: normal;
	font-weight: 800;
	margin-left: 3px;
}

.gfb-form input[type="text"],
.gfb-form input[type="email"],
.gfb-form input[type="tel"],
.gfb-form input[type="url"],
.gfb-form input[type="number"],
.gfb-form input[type="date"],
.gfb-form input[type="time"],
.gfb-form input[type="password"],
.gfb-form input[type="color"],
.gfb-form input[type="file"],
.gfb-form select,
.gfb-form textarea {
	appearance: auto;
	background-color: #fff;
	background-image: none !important;
	background-repeat: no-repeat !important;
	border: 1px solid #cfd7e3;
	border-radius: max(8px, var(--gfb-radius));
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	color: #111827;
	font: inherit;
	line-height: 1.35;
	min-height: 48px;
	padding: 11px 13px;
	transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
	width: 100%;
}

.gfb-form .gfb-field > input[type="text"],
.gfb-form .gfb-field > input[type="email"],
.gfb-form .gfb-field > input[type="tel"],
.gfb-form .gfb-field > input[type="url"],
.gfb-form .gfb-field > input[type="number"],
.gfb-form .gfb-field > input[type="date"],
.gfb-form .gfb-field > input[type="time"],
.gfb-form .gfb-field > input[type="password"],
.gfb-form .gfb-field > input[type="file"],
.gfb-form .gfb-field > select,
.gfb-form .gfb-field > textarea,
.gfb-form .gfb-phone-input-wrap,
.gfb-form .gfb-phone-input-wrap input[type="tel"] {
	display: block;
	max-width: none !important;
	min-width: 0;
	width: 100% !important;
}

.gfb-form input[type="text"]:focus,
.gfb-form input[type="email"]:focus,
.gfb-form input[type="tel"]:focus,
.gfb-form input[type="url"]:focus,
.gfb-form input[type="number"]:focus,
.gfb-form input[type="date"]:focus,
.gfb-form input[type="time"]:focus,
.gfb-form input[type="password"]:focus,
.gfb-form input[type="color"]:focus,
.gfb-form input[type="file"]:focus,
.gfb-form select:focus,
.gfb-form textarea:focus {
	border-color: var(--gfb-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gfb-accent) 18%, transparent);
	outline: none;
}

.gfb-form select {
	color: #1d2327;
	line-height: 1.35;
}

.gfb-phone-input-wrap {
	align-items: stretch;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(108px, 132px) minmax(0, 1fr);
	width: 100%;
}

.gfb-phone-input-wrap.gfb-phone-input-wrap-flags {
	grid-template-columns: minmax(128px, 158px) minmax(0, 1fr);
}

.gfb-phone-input-wrap input[type="tel"] {
	grid-column: 2;
	grid-row: 1;
}

.gfb-phone-input-wrap .gfb-phone-country {
	font-size: 14px;
	grid-column: 1;
	grid-row: 1;
	padding-left: 10px;
	padding-right: 8px;
}

@media (max-width: 480px) {
	.gfb-phone-input-wrap {
		grid-template-columns: 1fr;
	}

	.gfb-phone-input-wrap input[type="tel"],
	.gfb-phone-input-wrap .gfb-phone-country {
		grid-column: 1;
	}

	.gfb-phone-input-wrap .gfb-phone-country {
		grid-row: 1;
	}

	.gfb-phone-input-wrap input[type="tel"] {
		grid-row: 2;
	}
}

.gfb-form input[type="checkbox"],
.gfb-form input[type="radio"] {
	appearance: auto;
	background-image: none !important;
	background-repeat: no-repeat !important;
	box-sizing: border-box;
	flex: 0 0 auto;
	height: 18px;
	margin: 0;
	min-height: 0;
	padding: 0;
	width: 18px;
}

.gfb-upload-dropzone {
	align-items: center;
	background: #f8fafc;
	border: 1px dashed #94a3b8;
	border-radius: var(--gfb-radius);
	cursor: pointer;
	display: grid;
	gap: 4px;
	justify-items: center;
	min-height: 118px;
	padding: 18px;
	text-align: center;
	transition: border-color 140ms ease, background 140ms ease;
}

.gfb-upload-dropzone.is-drag-over {
	background: #eff6ff;
	border-color: var(--gfb-accent);
}

.gfb-upload-dropzone input[type="file"] {
	max-width: 100%;
}

.gfb-form textarea {
	min-height: 132px;
	resize: vertical;
}

.gfb-choice-list {
	display: grid;
	gap: 8px;
}

.gfb-choice-list label {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: var(--gfb-radius);
	display: flex;
	gap: 8px;
	line-height: 1.35;
	min-height: 42px;
	padding: 9px 11px;
}

.gfb-nav {
	align-items: stretch;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 2px;
}

.gfb-submit,
.gfb-next,
.gfb-prev {
	background: var(--gfb-button-bg);
	border: 1px solid var(--gfb-button-bg);
	border-radius: max(8px, var(--gfb-radius));
	box-shadow: 0 8px 18px color-mix(in srgb, var(--gfb-button-bg) 20%, transparent);
	color: var(--gfb-button-text);
	cursor: pointer;
	font: inherit;
	font-size: var(--gfb-button-font-size);
	font-weight: 700;
	letter-spacing: 0;
	min-height: var(--gfb-button-min-height);
	padding: var(--gfb-button-padding-y) 18px;
	text-align: center;
	text-decoration: none;
	transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
	width: 100%;
}

.gfb-submit:hover,
.gfb-next:hover,
.gfb-prev:hover {
	filter: brightness(0.96);
	transform: translateY(-1px);
}

.gfb-submit {
	grid-column: 1 / -1;
}

.gfb-nav.gfb-submit-width-wide .gfb-submit {
	justify-self: center;
	max-width: 360px;
	width: min(100%, 360px);
}

.gfb-nav.gfb-submit-width-auto .gfb-submit {
	width: auto;
}

.gfb-nav.gfb-submit-align-left .gfb-submit {
	justify-self: start;
}

.gfb-nav.gfb-submit-align-center .gfb-submit {
	justify-self: center;
}

.gfb-nav.gfb-submit-align-right .gfb-submit {
	justify-self: end;
}

.gfb-nav.gfb-single-action {
	grid-template-columns: minmax(180px, 1fr);
	justify-items: stretch;
}

.gfb-prev[hidden],
.gfb-next[hidden],
.gfb-submit[hidden],
.gfb-mode-standard .gfb-prev,
.gfb-mode-standard .gfb-next {
	display: none !important;
}

.gfb-nav.gfb-single-action.gfb-submit-width-full button:not([hidden]) {
	max-width: none;
}

.gfb-mode-standard .gfb-nav.gfb-single-action.gfb-submit-width-full button:not([hidden]) {
	max-width: none;
}

.gfb-prev {
	background: #fff;
	box-shadow: none;
	color: var(--gfb-button-bg);
}

.gfb-submit:focus:not(:focus-visible),
.gfb-next:focus:not(:focus-visible),
.gfb-prev:focus:not(:focus-visible) {
	outline: none;
}

.gfb-message {
	border-radius: var(--gfb-radius);
	display: none;
	padding: 12px;
}

.gfb-message-success {
	background: #edf7ed;
	color: #1f5f27;
	display: block;
}

.gfb-message-error {
	background: #fcf0f1;
	color: #8a2424;
	display: block;
}

.gfb-message strong {
	display: block;
	margin-bottom: 6px;
}

.gfb-thankyou-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.gfb-thankyou-button {
	background: var(--gfb-accent);
	border-radius: var(--gfb-radius);
	color: #fff;
	display: inline-block;
	font-weight: 700;
	padding: 8px 12px;
	text-decoration: none;
}

.gfb-review-summary {
	background: #f8fafc;
	border: 1px solid #dcdcde;
	border-radius: var(--gfb-radius);
	padding: 12px;
}

.gfb-review-summary dl {
	display: grid;
	gap: 8px 14px;
	grid-template-columns: minmax(120px, 0.4fr) 1fr;
	margin: 0;
}

.gfb-review-summary dt {
	font-weight: 700;
}

.gfb-review-summary dd {
	margin: 0;
}

.gfb-signature-wrap {
	display: grid;
	gap: 8px;
}

.gfb-signature-canvas {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: var(--gfb-radius);
	height: 180px;
	max-width: 100%;
	touch-action: none;
	width: 100%;
}

.gfb-signature-clear {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: var(--gfb-radius);
	cursor: pointer;
	justify-self: start;
	padding: 8px 12px;
}

.gfb-repeater,
.gfb-repeater-items {
	display: grid;
	gap: 8px;
}

.gfb-field-error input,
.gfb-field-error textarea,
.gfb-field-error select {
	border-color: #d63638;
}

.gfb-error-text {
	color: #d63638;
	font-size: 13px;
}

.gfb-email-suggestion {
	color: #8a6100;
	font-size: 13px;
}

.gfb-preset-compact {
	--gfb-gap: 8px;
	max-width: 620px;
}

.gfb-preset-compact input,
.gfb-preset-compact select,
.gfb-preset-compact textarea {
	min-height: 36px;
	padding: 7px 9px;
}

.gfb-preset-quote {
	background: #f8fafc;
	border: 1px solid #dcdcde;
	border-radius: var(--gfb-radius);
	padding: 18px;
}

.gfb-preset-dark {
	background: #101827;
	border-radius: var(--gfb-radius);
	color: #fff;
	padding: 18px;
}

.gfb-preset-dark input,
.gfb-preset-dark select,
.gfb-preset-dark textarea {
	background: #fff;
	color: #1d2327;
}

.gfb-preset-inline_cta .gfb-fields {
	align-items: end;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gfb-preset-inline_cta .gfb-nav {
	align-items: end;
}

.gfb-hp {
	left: -9999px;
	position: absolute;
	top: auto;
}

@media (max-width: 640px) {
	.gfb-nav {
		align-items: stretch;
		flex-direction: column;
	}

	.gfb-submit,
	.gfb-next,
	.gfb-prev {
		width: 100%;
	}

	.gfb-layout-half,
	.gfb-layout-third,
	.gfb-layout-inline {
		grid-column: span 12;
	}
}

/* Smart Growth full-width control guard
 * This deliberately overrides theme and Elementor editor form styles so every
 * public Form Builder field keeps the same polished, full-width layout on every site.
 */
.gfb-form.gfb-enforce-full-width,
.elementor-editor-active .gfb-form.gfb-enforce-full-width,
.elementor-editor-preview .gfb-form.gfb-enforce-full-width {
	box-sizing: border-box !important;
	display: grid !important;
	gap: var(--gfb-gap, 16px) !important;
	max-width: 100% !important;
	width: 100% !important;
}

.gfb-form.gfb-enforce-full-width .gfb-fields {
	box-sizing: border-box !important;
	display: grid !important;
	gap: var(--gfb-gap, 16px) !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	width: 100% !important;
}

.gfb-form.gfb-enforce-full-width .gfb-field {
	box-sizing: border-box !important;
	display: grid !important;
	gap: 8px !important;
	grid-column: span 12 !important;
	max-width: none !important;
	width: 100% !important;
}

.gfb-form.gfb-enforce-full-width .gfb-field > span:first-child {
	color: #27364f !important;
	display: block !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
}

.gfb-form.gfb-enforce-full-width .gfb-control,
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="text"],
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="email"],
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="tel"],
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="url"],
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="number"],
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="date"],
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="time"],
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="password"],
.gfb-form.gfb-enforce-full-width .gfb-field > input[type="file"],
.gfb-form.gfb-enforce-full-width .gfb-field > select,
.gfb-form.gfb-enforce-full-width .gfb-field > textarea,
.gfb-form.gfb-enforce-full-width .gfb-phone-input-wrap,
.gfb-form.gfb-enforce-full-width .gfb-phone-input-wrap input[type="tel"] {
	appearance: auto !important;
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: var(--gfb-radius, 8px) !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
	box-sizing: border-box !important;
	color: #111827 !important;
	display: block !important;
	font-size: 16px !important;
	line-height: 1.45 !important;
	margin: 0 !important;
	max-width: none !important;
	min-height: 48px !important;
	min-width: 0 !important;
	padding: 11px 14px !important;
	width: 100% !important;
}

.gfb-form.gfb-enforce-full-width .gfb-field > textarea,
.gfb-form.gfb-enforce-full-width textarea.gfb-control {
	min-height: 128px !important;
	resize: vertical !important;
}

.gfb-form.gfb-enforce-full-width .gfb-control:focus,
.gfb-form.gfb-enforce-full-width .gfb-field > input:focus,
.gfb-form.gfb-enforce-full-width .gfb-field > select:focus,
.gfb-form.gfb-enforce-full-width .gfb-field > textarea:focus {
	border-color: var(--gfb-accent, #2563eb) !important;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14) !important;
	outline: none !important;
}

.gfb-form.gfb-enforce-full-width .gfb-nav,
.gfb-form.gfb-enforce-full-width .gfb-single-action {
	align-items: stretch !important;
	display: flex !important;
	gap: 10px !important;
	width: 100% !important;
}

.gfb-form.gfb-enforce-full-width .gfb-submit {
	align-items: center !important;
	background: var(--gfb-button-bg, #2563eb) !important;
	border: 1px solid var(--gfb-button-bg, #2563eb) !important;
	border-radius: var(--gfb-radius, 8px) !important;
	box-sizing: border-box !important;
	color: var(--gfb-button-text, #ffffff) !important;
	display: inline-flex !important;
	font-weight: 800 !important;
	justify-content: center !important;
	min-height: var(--gfb-button-min-height, 50px) !important;
	padding: var(--gfb-button-padding-y, 12px) 18px !important;
	width: 100% !important;
}

.gfb-form.gfb-enforce-full-width .gfb-layout-half,
.gfb-form.gfb-enforce-full-width .gfb-layout-third,
.gfb-form.gfb-enforce-full-width .gfb-layout-inline {
	grid-column: span 12 !important;
}

@media (max-width: 760px) {
	.gfb-form.gfb-enforce-full-width .gfb-control,
	.gfb-form.gfb-enforce-full-width .gfb-field > input,
	.gfb-form.gfb-enforce-full-width .gfb-field > select,
	.gfb-form.gfb-enforce-full-width .gfb-field > textarea {
		font-size: 16px !important;
		width: 100% !important;
	}
}
/* End Smart Growth full-width control guard */
