/* SYNLawn Signature Builder 1.2.1
   Form styling follows the site's Gravity Forms "Orbital" quote form:
   transparent fields, 2px #707070 border, 4px radius, #ccc placeholder,
   #74BB23 button, #c0392b errors, Mostin headings, Segoe UI body.
   #ssb-app selectors outrank Elementor's global kit styles. */

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

/* ---------- Builder section: dark panel ---------- */
#ssb-app {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 40px;
	align-items: start;
	padding: 44px 48px 48px;
	background: #2C2C2C;
	color: #FFFFFF;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	container-type: inline-size;
	container-name: ssb;
}
#ssb-app [hidden] { display: none !important; }

#ssb-app .ssb-heading {
	margin: 0 0 20px;
	padding: 0;
	font-family: 'Mostin', 'Segoe UI', Arial, sans-serif;
	font-size: clamp(34px, 3.6vw, 52px);
	font-weight: normal;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
	color: #74BB23;
}
#ssb-app .ssb-heading span { color: #FFFFFF; }

#ssb-app .ssb-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}
#ssb-app .ssb-full { grid-column: 1 / -1; }
#ssb-app .ssb-field { margin: 0; }

#ssb-app .ssb-field label {
	display: block;
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #CCCCCC;
}

#ssb-app .ssb-field input,
#ssb-app .ssb-field select {
	display: block;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 14px;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #FFFFFF;
	background: transparent;
	border: 2px solid #707070;
	border-radius: 4px;
	box-shadow: none;
	outline: none;
	transition: border-color 0.15s ease;
}
#ssb-app .ssb-field input::placeholder { color: #CCCCCC; opacity: 1; }
#ssb-app .ssb-field input:hover,
#ssb-app .ssb-field select:hover { border-color: #8F8F8F; }
#ssb-app .ssb-field input:focus-visible,
#ssb-app .ssb-field select:focus-visible {
	border-color: #74BB23;
	box-shadow: 0 0 0 1px #74BB23;
}
#ssb-app .ssb-field input[aria-invalid="true"] { border-color: #C0392B; }

#ssb-app .ssb-field select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23cccccc' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}
#ssb-app .ssb-field select option { background: #2C2C2C; color: #CCCCCC; }

/* Keep browser autofill from painting fields white */
#ssb-app .ssb-field input:-webkit-autofill,
#ssb-app .ssb-field input:-webkit-autofill:hover,
#ssb-app .ssb-field input:-webkit-autofill:focus {
	-webkit-text-fill-color: #FFFFFF;
	-webkit-box-shadow: 0 0 0 1000px #2C2C2C inset;
	caret-color: #FFFFFF;
	transition: background-color 9999s ease-out;
}

#ssb-app .ssb-hint { margin: 5px 0 0; font-size: 13px; line-height: 1.4; color: #B5B5B5; }
#ssb-app .ssb-error { margin: 5px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: #FF8A80; }
#ssb-app .ssb-error:empty { display: none; }

/* ---------- Preview ---------- */
#ssb-app .ssb-output { padding-top: 6px; }
#ssb-app .ssb-label {
	margin: 0 0 12px;
	padding: 0;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #CCCCCC;
}
#ssb-app .ssb-mail {
	padding: 20px;
	background: #FFFFFF;
	color: #2E2E30;
	border-radius: 4px;
	overflow: hidden;
}
#ssb-app .ssb-frame {
	display: block;
	width: 100%;
	min-height: 140px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #FFFFFF;
}
#ssb-app .ssb-frame.is-incomplete { opacity: 0.6; }

#ssb-app .ssb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
#ssb-app .ssb-btn {
	display: inline-block;
	min-height: 46px;
	margin: 0;
	padding: 12px 24px;
	font-family: 'Segoe UI', Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
	border-radius: 4px;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
#ssb-app .ssb-btn-primary { color: #FFFFFF; background: #74BB23; border: 0; }
#ssb-app .ssb-btn-primary:hover { background: #66A51E; }
#ssb-app .ssb-btn-secondary { color: #FFFFFF; background: transparent; border: 2px solid #707070; }
#ssb-app .ssb-btn-secondary:hover { border-color: #CCCCCC; }
#ssb-app .ssb-btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
#ssb-app .ssb-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

#ssb-app .ssb-status { min-height: 1.5em; margin: 12px 0 0; font-size: 14px; color: #CCCCCC; }
#ssb-app .ssb-status.is-ok { color: #9FD65A; font-weight: 600; }
#ssb-app .ssb-status.is-error { color: #FF8A80; font-weight: 600; }
#ssb-app .ssb-download { margin-top: 20px; padding-top: 18px; border-top: 1px solid #444444; }
#ssb-app .ssb-platform { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
#ssb-app .ssb-platform legend { margin: 0 0 8px; padding: 0; font-size: 13px; font-weight: 600; color: #CCCCCC; }
#ssb-app .ssb-segment { display: inline-flex; border: 2px solid #707070; border-radius: 4px; overflow: hidden; }
#ssb-app .ssb-segment input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
#ssb-app .ssb-segment label {
	display: block;
	min-width: 104px;
	margin: 0;
	padding: 9px 18px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: #CCCCCC;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
#ssb-app .ssb-segment label + input + label { border-left: 2px solid #707070; }
#ssb-app .ssb-segment label:hover { color: #FFFFFF; }
#ssb-app .ssb-segment input:checked + label { color: #FFFFFF; background: #707070; }
#ssb-app .ssb-segment input:focus-visible + label { outline: 2px solid #FFFFFF; outline-offset: -4px; }
#ssb-app .ssb-download-note { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: #B5B5B5; max-width: 46ch; }

#ssb-app .ssb-next { margin: 16px 0 0; font-size: 14px; color: #CCCCCC; }
#ssb-app .ssb-next a { color: #74BB23; text-decoration: underline; }
#ssb-app .ssb-next a:hover { color: #9FD65A; }

#ssb-app .ssb-alert { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border: 2px solid #C0392B; border-radius: 4px; color: #FF8A80; }

@media (prefers-reduced-motion: reduce) {
	#ssb-app .ssb-segment label, #ssb-app .ssb-btn, #ssb-app .ssb-field input, #ssb-app .ssb-field select { transition: none; }
}

/* ---------- Help: inherits the section's colors ---------- */
.ssb-help { max-width: 820px; margin: 0 auto; font-family: 'Segoe UI', Arial, sans-serif; text-align: left; scroll-margin-top: 24px; }
.ssb-help .ssb-help-heading {
	margin: 0 0 16px;
	padding: 0;
	font-family: 'Mostin', 'Segoe UI', Arial, sans-serif;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	text-align: center;
	color: inherit;
}
.ssb-help .ssb-help-intro { margin: 0 0 18px; text-align: center; }
.ssb-help .ssb-details { margin: 0 0 10px; border: 2px solid rgba(112, 112, 112, 0.45); border-radius: 4px; }
.ssb-help .ssb-details summary { padding: 14px 18px; font-weight: 700; cursor: pointer; }
.ssb-help .ssb-details summary:focus-visible { outline: 2px solid #74BB23; outline-offset: 2px; }
.ssb-help .ssb-details[open] summary { border-bottom: 1px solid rgba(112, 112, 112, 0.35); }
.ssb-help .ssb-details ol, .ssb-help .ssb-details p { margin: 14px 18px; }
.ssb-help .ssb-details ol { padding-left: 20px; }
.ssb-help .ssb-details li { margin-bottom: 6px; }
.ssb-help .ssb-note { font-size: 14px; opacity: 0.85; }
.ssb-help code { font-size: 14px; padding: 1px 5px; border-radius: 4px; background: rgba(112, 112, 112, 0.15); }
.ssb-help .ssb-plain { white-space: pre-line; padding: 12px 14px; border-radius: 4px; background: rgba(112, 112, 112, 0.12); }
.ssb-help .ssb-help-footer { margin-top: 24px; font-size: 14px; opacity: 0.85; }
.ssb-help .ssb-help-footer p { margin: 4px 0; }

/* ---------- Narrow screens ---------- */
/* Stack form and preview when the builder's own section is narrow,
   whatever width the Elementor section is set to. */
@supports (container-type: inline-size) {
	@container ssb (max-width: 900px) {
		.ssb-form, .ssb-output { grid-column: 1 / -1; }
	}
}
@media (max-width: 1024px) {
	#ssb-app { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 600px) {
	#ssb-app { padding: 28px 20px 32px; }
	#ssb-app .ssb-grid { grid-template-columns: minmax(0, 1fr); }
	#ssb-app .ssb-mail { padding: 16px; }
	#ssb-app .ssb-btn { width: 100%; }
	#ssb-app .ssb-segment { display: flex; }
	#ssb-app .ssb-segment label { flex: 1 1 50%; min-width: 0; }
}
