/**
 * Fair Value — Lead Form styles
 * Minimal — layout comes from the containing Elementor column.
 */

/* ==============================================
 * HERO style (address-only pill in banner)
 * ============================================== */
.fv-form--hero { width: 100%; }
.fv-hero-pill {
	display: flex;
	align-items: center;
	gap: 5px;
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 32px;
	padding: 8px 8px 8px 14px;
	min-height: 64px;
	box-sizing: border-box;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.fv-hero-icon {
	color: #6B7280;
	flex-shrink: 0;
}
.fv-hero-input {
	flex: 1;
	border: none !important;
	outline: none;
	background: transparent;
	padding: 8px 0;
	padding-left: 0 !important;
	font-size: 16px;
	color: #1f2937;
	min-width: 0;
	font-family: inherit;
}
.fv-hero-input:focus {
    box-shadow:none !important;
}
.fv-hero-input::placeholder { color: #6B7280; }
button.fv-hero-btn {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 100px !important;
	border: none;
	padding: 0 !important;
	background: #151C30;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s, transform 0.05s;
}
.fv-hero-btn:hover  { background: #0b1224; }
.fv-hero-btn:active { transform: scale(0.95); }

/* ==============================================
 * FULL style (name/phone/address, no wrapper)
 * ============================================== */
.fv-form-wrap--full { width: 100%; }
.fv-form--full { width: 100%; }
.fv-field { margin-bottom: 16px; }
.fv-field:last-of-type { margin-bottom: 0; }

.fv-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #0b2447;
	margin: 0 0 6px;
	font-family: inherit;
}
.fv-optional {
	font-weight: 400;
	color: #9ca3af;
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
}

.fv-form--full .fv-input {
	width: 100%;
	height: 45px !important;
	padding: 10px 14px;
	border: 1px solid #E5E7EB !important;
	border-radius: 10px !important;
	font-size: 15px;
	line-height: 1.4;
	background: #fff;
	color: #1f2937;
	box-sizing: border-box;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.fv-form--full .fv-input::placeholder { color: #9ca3af; }
.fv-form--full .fv-input:focus {
	outline: none;
	border-color: #B07049;
	box-shadow: 0 0 0 3px rgba(176, 112, 73, 0.12);
}
.fv-form--full .fv-input[aria-invalid="true"] { border-color: #dc2626; }

.fv-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 4px;
	font-size: 13px;
	color: #4b5563;
	line-height: 1.5;
	cursor: pointer;
}
.fv-consent input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.fv-form--full .fv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 20px;
	border: none;
	border-radius: 10px;
	background: #B07049 !important;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s, transform 0.05s;
	font-family: inherit;
	line-height: 1.2;
}
.fv-form--full .fv-btn:hover  { background: #965d3b !important; }
.fv-form--full .fv-btn:active { transform: scale(0.99); }
.fv-form--full .fv-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.fv-form--full .fv-btn--submit {
	width: 100%;
	margin-top: 16px;
}

.fv-error {
	color: #b91c1c;
	background: #fef2f2;
	border: 1px solid #fecaca;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	margin: 12px 0;
}

/* Reliable "hide everything except thank-you" after successful submit */
.fv-form--submitted > *:not(.fv-thankyou):not(input[type="hidden"]) {
	display: none !important;
}

/* ==============================================
 * THANK-YOU state (shared)
 * ============================================== */
.fv-thankyou {
	text-align: center;
	padding: 20px 0;
}
.fv-done-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #10b981;
	color: #fff;
	font-size: 36px;
	line-height: 64px;
	margin: 0 auto 16px;
	font-weight: 700;
}
.fv-done-headline {
	font-size: 22px;
	margin: 0 0 8px;
	color: #1f2937;
	font-family: inherit;
}
.fv-done-body {
	color: #4b5563;
	margin: 0 0 16px;
	font-family: inherit;
}
.fv-help {
	margin: 12px 0 0;
	font-size: 13px;
	color: #6b7280;
	text-align: center;
	font-family: inherit;
}
.fv-help a { color: #1e40af; text-decoration: none; }
.fv-help a:hover { text-decoration: underline; }

/* Google Places autocomplete dropdown */
.pac-container {
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	border: 1px solid #e5e7eb;
	margin-top: 4px;
	font-family: inherit;
}
