body .gform_wrapper.gravity-theme .gfCanvaForm1 {
	max-width: 680px;
	margin: 40px auto;
	background-color: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px 32px 32px;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.gfCanvaForm1_wrapper {
	--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
	box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
	max-width: 48rem;
	margin: 20px;
	margin-left: auto;
	margin-right: auto;
	padding: 2rem;
}

/* Form header and title */
.gfCanvaForm1 .gform_heading,
.gfCanvaForm1 .gform_description {
	text-align: center;
}
.gfCanvaForm1 .gform_title {
	font-size: 28px;
	font-weight: 700;
	color: #111827;
}
.gfCanvaForm1 .gform_description {
	font-size: 16px;
	color: #6b7280;
	margin-top: 8px;
	margin-bottom: 32px;
}

/* Field labels (questions) */
.gfCanvaForm1 .gfield_label {
	font-size: 20px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 24px !important;
}

/* Hide original inputs */
.gfCanvaForm1 .gfield_checkbox input[type=checkbox],
.gfCanvaForm1 .gfield_radio input[type=radio] {
	display: none;
}

/* 2. PROGRESS BAR & STEPS
-------------------------------------------------------------- */
/* Hide the default progress bar text */
.gfCanvaForm1 .gf_progressbar_title {
	display: none;
}

/* Custom progress text: "Question X of 5" */
.gfCanvaForm1 .gform_progress_header {
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	color: #4b5563;
}

/* Progress bar container */
.gfCanvaForm1 .gf_progressbar {
	width: 100% !important;
	background-color: #e5e7eb !important;
	border-radius: 99px;
	height: 8px !important;
	margin: 8px 0 40px 0 !important;
	padding: 0 !important;
}

/* Progress bar percentage fill */
.gfCanvaForm1 .gf_progressbar_percentage {
	background-color: #3b82f6 !important;
	border-radius: 99px;
	height: 8px !important;
}
.gfCanvaForm1 .gf_progressbar_percentage span {
	display: none !important; /* Hide percentage number text */
}

/* 3. CUSTOM CHOICE BOXES
-------------------------------------------------------------- */
.gfCanvaForm1 .gform_body ul.gform_choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 0 !important;
	padding: 0 !important;
}
.gfCanvaForm1 .gform_body ul.gform_choices li.gchoice {
	margin: 0 !important;
	padding: 0 !important;
	list-style-type: none;
}
/* Handle single-column wrapping for odd numbers */
.gfCanvaForm1 .gform_body ul.gform_choices li.gchoice:last-child:nth-child(odd) {
	grid-column: span 2;
}

/* The clickable label box */
.gfCanvaForm1 .large-choices .gchoice label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	height: 100%;
	font-weight: 500;
	color: #374151;
}

/* Hover state */
.gfCanvaForm1 .large-choices .gchoice label:hover {
	border-color: #9ca3af;
}

/* Checked state */
.gfCanvaForm1 .large-choices .gchoice input:checked + label {
	border-color: #3b82f6;
	background-color: #eff6ff;
	box-shadow: 0 0 0 2px #3b82f6;
}

/* Checkmark for selected item */
.gfCanvaForm1 .large-choices .gchoice label::after {
	content: '✔';
	color: #fff;
	background-color: #3b82f6;
	border-radius: 50%;
	width: 25px;
	height: 20px;
	display: flex;

	align-items: center;
	justify-content: center;
	font-size: 12px;
	margin-left: auto;
	opacity: 0;
	transform: scale(0.5);
	transition: all 0.2s ease-in-out;
}
.gfCanvaForm1 .gchoice input:checked + label::after {
	opacity: 1;
	transform: scale(1);
}

/* General Icon styling for the ::before pseudo-element
   **CORRECTED** with content property to ensure visibility */
.gfCanvaForm1 .large-choices .gchoice label::before {
		content: " ";
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* 4. ICONS (Base64 Encoded SVGs)
   **CORRECTED** using attribute selectors for reliability
-------------------------------------------------------------- */

/* --- Question 1: Problems --- */
.gfCanvaForm1 .gchoice {
		display: block !important;
}
.gfCanvaForm1 .gchoice input[value="Stains or spots on dishes and fixtures"] + label::before { 
	content: "🚿" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="Bad taste or odor"] + label::before { 
	content: "🥤" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="Scale buildup on appliances"] + label::before { 
	content: "⚙️" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="Cloudy or discolored water"] + label::before { 
	content: "💧" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="Dry skin"] + label::before { 
	content: "‍🧑‍🦱" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="No problems, just want better water"] + label::before { 
	content: "✨" !important;
	font-size: 32px;
}

/* --- Question 2: Household Size --- */
.gfCanvaForm1 .gchoice input[value="1-2 people"] + label::before { 
	content: "👤" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="3-4 people"] + label::before { 
	content: "👥" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="5+ people"] + label::before { 
	content: "👨‍👩‍👧‍👦" !important;
	font-size: 32px;
}

/* --- Question 3: Water Source --- */
.gfCanvaForm1 .gchoice input[value="City/Municipal water"] + label::before { 
	content: "🏙️" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="Well water"] + label::before { 
	content: "⛲" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="Not sure"] + label::before { 
	content: "❓" !important;
	font-size: 32px;
}

/* --- Question 4: Primary Concern --- */
.gfCanvaForm1 .gchoice input[value="Water quality and safety"] + label::before { 
	content: "🛡️" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="Taste and odor"] + label::before { 
	content: "👅" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="Protecting appliances and plumbing"] + label::before { 
	content: "🔧" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="All of the above"] + label::before { 
	content: "✅" !important;
	font-size: 32px;
}

/* --- Question 5: Budget --- */
.gfCanvaForm1 .gchoice input[value="$10-20 per month"] + label::before { 
	content: "💰" !important;
	font-size: 32px;
}
.gfCanvaForm1 .gchoice input[value="$21-40 per month"] + label::before { 
	content: "💰💰" !important;
	font-size: 32px;
	width: 94px;
}
.gfCanvaForm1 .gchoice input[value="$41-70 per month"] + label::before { 
	content: "💰💰💰" !important;
	font-size: 32px;
	width: 134px;
}
.gfCanvaForm1 .gchoice input[value="Flexible/Not sure"] + label::before { 
	content: "🤔" !important;
	font-size: 32px;
}

/* 5. BUTTONS AND FOOTER
-------------------------------------------------------------- */
.gfCanvaForm1 .gform_footer {
	padding: 0;
	margin-top: 32px !important;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
}

.gfCanvaForm1 .gform_page_footer {
	position: relative;
	border-top: none !important;
	padding: 0 !important;
}

/* Next, Previous, and Submit buttons */
.gfCanvaForm1 .gform_button,
.gfCanvaForm1 .gform_next_button,
.gfCanvaForm1 .gform_previous_button {
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	padding: 10px 20px !important;
	border: none !important;
	cursor: pointer;
	transition: background-color 0.2s;
}

/* Primary "Next" and "See Results" button */
.gfCanvaForm1 .gform_next_button,
.gfCanvaForm1 .gform_button[type=submit] {
	background-color: #3b82f6 !important;
	color: #fff !important;
}
.gfCanvaForm1 .gform_next_button:hover,
.gfCanvaForm1 .gform_button[type=submit]:hover {
	background-color: #2563eb !important;
}

/* "Previous" button */
.gfCanvaForm1 .gform_previous_button {
	background-color: #fff !important;
	color: #374151 !important;
	border: 1px solid #d1d5db !important;
	order: -1; /* Place it before the next button */
	margin-right: auto; /* Push next button to the right */
}
.gfCanvaForm1 .gform_previous_button:hover {
	background-color: #f3f4f6 !important;
}

/* 6. CONFIRMATION / RESULTS PAGE
-------------------------------------------------------------- */
#gform_confirmation_wrapper_83 .results-wrapper {
	text-align: center;
	padding: 24px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#gform_confirmation_wrapper_83 .results-header h2 {
	font-size: 24px;
	font-weight: 700;
	color: #111827;
	margin-top: 16px;
	margin-bottom: 4px;
}
#gform_confirmation_wrapper_83 .results-header p {
	font-size: 16px;
	color: #6b7280;
	margin-top: 0;
}
#gform_confirmation_wrapper_83 .result-card {
	text-align: left;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	padding: 24px;
	margin: 24px 0;
	position: relative;
	border-left: 5px solid #3b82f6;
}
#gform_confirmation_wrapper_83 .result-card .result-title {
	font-size: 20px;
	font-weight: 600;
	color: #111827;
	margin: 0 0 8px 0;
}
#gform_confirmation_wrapper_83 .result-card .result-description {
	font-size: 14px;
	color: #4b5563;
	line-height: 1.5;
	margin: 0 0 16px 0;
}
#gform_confirmation_wrapper_83 .result-card .result-features {
	list-style-type: none;
	padding-left: 0;
	margin: 0 0 16px 0;
}
#gform_confirmation_wrapper_83 .result-card .result-features li {
	padding-left: 24px;
	position: relative;
	margin-bottom: 8px;
	font-size: 14px;
	color: #374151;
}
#gform_confirmation_wrapper_83 .result-card .result-features li::before {
	content: '✓';
	color: #3b82f6;
	font-weight: bold;
	position: absolute;
	left: 0;
	top: 0;
}
#gform_confirmation_wrapper_83 .result-card .result-rate {
	font-size: 14px;
	font-weight: 500;
	color: #4b5563;
	margin: 16px 0 0 0;
}
#gform_confirmation_wrapper_83 .result-footer {
	font-size: 12px;
	color: #9ca3af;
	margin-top: 32px;
}
#gform_confirmation_wrapper_83 .primary-cta {
	display: inline-block;
	background-color: #3b82f6 !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	text-decoration: none;
	margin: 16px 0;
	transition: background-color 0.2s;
}
#gform_confirmation_wrapper_83 .secondary-cta {
	display: block;
	background-color: transparent !important;
	color: #4b5563 !important;
	font-weight: 500 !important;
	text-decoration: none;
	margin-top: 8px;
}
#gform_confirmation_wrapper_83 .checkmark {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: block;
	stroke-width: 3;
	stroke: #fff;
	stroke-miterlimit: 10;
	margin: 0 auto;
	box-shadow: inset 0px 0px 0px #4bb748;
	animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
#gform_confirmation_wrapper_83 .checkmark__circle {
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	stroke-width: 3;
	stroke-miterlimit: 10;
	stroke: #4bb748;
	fill: none;
	animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
#gform_confirmation_wrapper_83 .checkmark__check {
	transform-origin: 50% 50%;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
	animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }
@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 40px #4bb748; } }


/****************************************************************************************/
/*
 * Gravity Form Custom Confirmation Styles
 *
 * @description Styles for the custom confirmation of Form ID 83.
 * @author      Gemini
 * @link        https://gemini.google.com
 */

/* Main Wrapper */
.results-wrapper {
	max-width: 720px;
	margin: 40px auto;
	padding: 20px;
	font-family: sans-serif;
	text-align: center;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Header Section */
.results-header {
	margin-bottom: 30px;
}

.results-header h2 {
	font-size: 28px;
	color: #333;
	margin: 15px 0 5px;
}

.results-header p {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* Product Recommendation Card */
.result-card {
	background-color: #f8f9ff;
	border: 1px solid #d6deff;
	border-radius: 8px;
	padding: 25px;
	margin-bottom: 25px;
	text-align: left;
	position: relative;
	padding-left: 65px; /* Space for the icon */
}

.result-card-icon {
	position: absolute;
	left: 20px;
	top: 25px;
	color: #4A6CFF; /* Primary blue color */
}

.result-card-icon svg path:first-child {
	opacity: 0.2; /* Lighter circle background */
}

h3.result-title {
	color: #4A6CFF;
	font-size: 22px;
	margin-top: 0;
	margin-bottom: 8px;
}

p.result-description {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
	margin-bottom: 20px;
}

ul.result-features {
	list-style-type: none;
	padding: 0;
	margin-bottom: 20px;
}

ul.result-features li {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328a745'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 20px;
	padding-left: 30px;
	margin-bottom: 12px;
	color: #333;
	font-size: 15px;
}

p.result-rate {
	font-weight: bold;
	color: #333;
	font-size: 16px;
}

p.result-rate:before {
	content: '';
	display: block;
	height: 1px;
	background-color: #e0e0e0;
	margin: 20px 0;
}

/* Footer and Buttons */
.result-footer {
	margin-top: 30px;
}

p.result-disclaimer {
	font-size: 12px;
	color: #888;
	margin-bottom: 20px;
}

p.next-steps {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	margin-bottom: 20px;
}

.gform_button.button {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 15px auto 0;
	padding: 15px 20px;
	border-radius: 25px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.button.primary-cta {
	background-color: #4A6CFF;
	color: #fff;
}
.button.primary-cta:hover {
	background-color: #3558e8;
}

.button.secondary-cta {
	background: none;
	border: 2px solid #d6deff;
	color: #4A6CFF;
}
.button.secondary-cta:hover {
	background-color: #f1f4ff;
}

/* Checkmark Animation */
.checkmark { width: 52px; height: 52px; border-radius: 50%; display: block; stroke-width: 2; stroke: #fff; stroke-miterlimit: 10; margin: 0 auto 10px; box-shadow: inset 0px 0px 0px #4caf50; animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both; }
.checkmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2; stroke-miterlimit: 10; stroke: #4caf50; fill: none; animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.checkmark__check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards; }
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }
@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #4caf50; } }