/* 1.19.0 — Windows/Edge hardening.
   Windows ships no flag emoji (Edge and Chrome show "EG" letters or boxes),
   so a tiny bundled flag font covers just the regional-indicator range.
   Flag artwork: Twemoji, CC-BY 4.0 (see assets/fonts). */
@font-face {
	font-family: "Stelr Flags";
	src: url("../fonts/TwemojiCountryFlags.woff2") format("woff2");
	unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
	font-display: swap;
}
.stelr-country-flag, .stelr-country-flag-current {
	font-family: "Stelr Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
	font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0;
}
.stelr-forms-wrapper {
	--stelr-primary: #2563eb;
	--stelr-button: #2563eb;
	--stelr-button-hover: #1d4ed8;
	--stelr-radius: 6px;
	--stelr-font-size: 15px;
	--stelr-gap-x: 16px;
	--stelr-gap-y: 16px;
	font-size: var(--stelr-font-size);
	box-sizing: border-box;
}
.stelr-forms-wrapper * { box-sizing: border-box; }

/* Consistent hover/focus feel across every interactive element */
.stelr-forms-wrapper input,
.stelr-forms-wrapper select,
.stelr-forms-wrapper textarea,
.stelr-forms-wrapper button,
.stelr-forms-wrapper .stelr-country-trigger,
.stelr-forms-wrapper .stelr-country-list li,
.stelr-forms-wrapper .stelr-dropzone {
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out,
		box-shadow 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out,
		transform 0.2s ease-in-out;
}

/* Browser/theme default focus outlines have repeatedly overridden the
   scoped :focus rules elsewhere in this file, so this is a blanket,
   !important safety net. Custom focus styling belongs in your own CSS. */
.stelr-forms-wrapper input:focus,
.stelr-forms-wrapper select:focus,
.stelr-forms-wrapper textarea:focus,
.stelr-forms-wrapper button:focus,
.stelr-forms-wrapper [tabindex]:focus {
	outline: none !important;
	box-shadow: none !important;
}

/* Hidden, auto-populated fields — these must never be visible or focusable */
.stelr-source-field {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.stelr-form-grid {
	display: grid;
	/* 20 columns divides evenly into full, half, quarter and fifth widths, so
	   fields of different widths still line up row after row. */
	grid-template-columns: repeat(20, minmax(0, 1fr));
	gap: var(--stelr-gap-y) var(--stelr-gap-x);
}
.stelr-field-full    { grid-column: span 20; }
.stelr-field-half    { grid-column: span 10; }
.stelr-field-quarter { grid-column: span 5; }
.stelr-field-fifth   { grid-column: span 4; }
@media (max-width: 1024px) {
	/* Optional per-field width for tablets (set in the field builder). */
	.stelr-field.stelr-field-t-full    { grid-column: span 20; }
	.stelr-field.stelr-field-t-half    { grid-column: span 10; }
	.stelr-field.stelr-field-t-quarter { grid-column: span 5; }
	.stelr-field.stelr-field-t-fifth   { grid-column: span 4; }
}
@media (max-width: 560px) {
	/* Phones: half and narrower rows stack to full width; quarter and fifth go two-up
	   - unless the field has its own phone width below. */
	.stelr-field-half    { grid-column: span 20; }
	.stelr-field-quarter,
	.stelr-field-fifth   { grid-column: span 10; }
	.stelr-field.stelr-field-m-full    { grid-column: span 20; }
	.stelr-field.stelr-field-m-half    { grid-column: span 10; }
	.stelr-field.stelr-field-m-quarter { grid-column: span 5; }
	.stelr-field.stelr-field-m-fifth   { grid-column: span 4; }
}

.stelr-field label,
.stelr-group-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 400;
	color: var(--stelr-label, inherit);
	font-size: 12px;
	text-transform: uppercase;
	/* Montserrat has no Chinese/Japanese/Korean/Arabic/Hebrew/Thai/Devanagari
	   glyphs; list system fonts that do so those scripts render cleanly
	   instead of falling back to whatever the browser happens to pick. */
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans Thai", Tahoma, sans-serif;
	letter-spacing: 0.4px;
}
.stelr-required { color: #d63638; }

.stelr-field input[type="text"],
.stelr-field input[type="email"],
.stelr-field input[type="tel"],
.stelr-field select,
.stelr-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 15px;
	border: 1px solid var(--stelr-input-border, #ebeced);
	background-color: var(--stelr-input-bg, #ffffff);
	border-radius: var(--stelr-radius);
	color: var(--stelr-input-text, #000000);
	font-size: 1em;
	font-family: inherit;
}
.stelr-field input:focus,
.stelr-field select:focus,
.stelr-field textarea:focus {
	outline: none;
	border-color: var(--stelr-primary);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .12);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--stelr-primary) 20%, transparent);
}

/* Chrome/Safari autofill otherwise paints a blue/yellow tint over the
   white background above, regardless of any color set here directly. */
.stelr-field input:-webkit-autofill,
.stelr-field input:-webkit-autofill:hover,
.stelr-field input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--stelr-input-text, #000000);
	-webkit-box-shadow: 0 0 0 1000px var(--stelr-input-bg, #ffffff) inset;
	box-shadow: 0 0 0 1000px var(--stelr-input-bg, #ffffff) inset;
	transition: background-color 5000s ease-in-out 0s;
}

.stelr-choice { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0; margin-inline-end: 16px; font-weight: 400; }
.stelr-field-consent label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: inherit; }
.stelr-field-consent a { color: var(--stelr-link, var(--stelr-primary)); font-weight: 600; text-decoration: underline; }

/* Phone field */
.stelr-phone-row { display: flex; gap: 8px; position: relative; }

.stelr-country-select { position: relative; flex: 0 0 auto; }
.stelr-country-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: auto;
	max-width: 30%;
	min-width: 90px;
	padding: 15px !important;
	border: 1px solid var(--stelr-input-border, #ebeced) !important;
	border-radius: var(--stelr-radius);
	background: var(--stelr-input-bg, #ffffff) !important;
	color: var(--stelr-input-text, #000000) !important;
	cursor: pointer;
	font-size: 1em;
	font-family: inherit !important;
	font-weight: 400 !important;
	white-space: nowrap;
	overflow: hidden;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.stelr-country-trigger:hover,
.stelr-country-trigger:focus {
	border-color: var(--stelr-primary);
	outline: none !important;
	box-shadow: none;
}
.stelr-country-caret { font-size: 0.65em; opacity: 0.55; margin-inline-start: 1px; color: currentColor !important; }
.stelr-country-dial { overflow: hidden; text-overflow: ellipsis; color: currentColor !important; }

.stelr-country-dropdown {
	display: block;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 60;
	width: 280px;
	max-width: min(90vw, 320px);
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: var(--stelr-radius);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
	overflow: hidden;
}
/* Explicit, not just relying on the browser's default [hidden] behaviour —
   some themes reset display on all divs, which would otherwise leave this
   permanently visible regardless of the hidden attribute. */
.stelr-country-dropdown[hidden] {
	display: none !important;
}
.stelr-country-search {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: none;
	border-bottom: 1px solid #e5e7eb;
	font-size: 0.95em;
	font-family: inherit;
	background: #fff;
	color: #111827;
}
.stelr-country-search:focus { outline: none; }
.stelr-country-list {
	display: block !important;
	list-style: none;
	margin: 0;
	padding: 4px 0;
	max-height: 240px !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: #fff;
}
.stelr-country-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 0.9em;
	color: #111827;
	background: #fff;
	-webkit-tap-highlight-color: transparent;
}
.stelr-country-list li:hover,
.stelr-country-list li.is-active {
	background: #f3f4f6;
}
.stelr-country-list li[hidden] { display: none; }
.stelr-country-flag { flex: 0 0 auto; }
.stelr-country-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.stelr-country-dial-list { color: #6b7280; font-size: 0.85em; flex: 0 0 auto; }
.stelr-country-empty { padding: 14px 12px; color: #6b7280; font-size: 0.9em; text-align: center; }

.stelr-phone-number { flex: 1; min-width: 0; }
.stelr-phone-error { color: #d63638; font-size: 0.85em; margin: 4px 0 0; }
.stelr-email-error { color: #d63638; font-size: 0.85em; margin: 4px 0 0; }

/* File upload dropzone */
.stelr-dropzone {
	position: relative;
	border: 2px dashed #d1d5db;
	border-radius: var(--stelr-radius);
	padding: 28px 16px;
	text-align: center;
	cursor: pointer;
	background: #fafafa;
}
.stelr-dropzone:hover,
.stelr-dropzone:focus {
	border-color: var(--stelr-primary);
	background: #f5f8ff;
	outline: none;
}
.stelr-dropzone.is-dragover {
	border-color: var(--stelr-primary);
	background: #eef3ff;
}
.stelr-dropzone.has-error { border-color: #d63638; }
.stelr-dropzone-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.stelr-dropzone-content { display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.stelr-dropzone-icon { font-size: 22px; color: var(--stelr-primary); }
.stelr-dropzone-text { font-weight: 600; color: #374151; }
.stelr-dropzone-hint { font-size: 0.8em; color: #9ca3af; }
.stelr-dropzone-file {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.stelr-dropzone-filename { font-weight: 600; color: #111827; word-break: break-all; }
.stelr-dropzone-remove {
	background: none;
	border: none;
	color: #d63638;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
	position: relative;
	z-index: 2;
}
.stelr-file-error { color: #d63638; font-size: 0.85em; margin: 4px 0 0; }

/* Honeypot — hidden from sighted users & most bots, but not display:none
   so unsophisticated scrapers that skip hidden fields still fill it in. */
.stelr-hp-wrap {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.stelr-submit-btn {
	margin-top: 18px;
	background: var(--stelr-button);
	color: #fff;
	border: none;
	padding: 15px;
	border-radius: var(--stelr-radius);
	font-size: 14px;
	font-weight: 400;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans Thai", Tahoma, sans-serif;
	width: 100%;
	cursor: pointer;
}
.stelr-submit-btn:hover { background: var(--stelr-button-hover); }
.stelr-submit-btn:active { transform: scale(0.98); }
.stelr-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.stelr-form-notice {
	margin-bottom: 14px;
	font-size: 0.95em;
}
.stelr-notice-error { color: #d63638; }
.stelr-notice-success { color: #1a7f37; font-weight: 600; font-size: 1.05em; }

.stelr-success-message {
	color: inherit;
	opacity: 0;
	transition: opacity 0.35s ease-in-out;
}
.stelr-success-message.is-visible { opacity: 1; }
.stelr-success-message.is-fading { opacity: 0; }

/* While the thank-you is showing, the form keeps the height it had (set inline
   by JS) and the message is centred inside it, so nothing around it jumps. */
.stelr-form.is-success {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.stelr-form.is-success .stelr-success-message { width: 100%; }
.stelr-success-heading { color: inherit; }
.stelr-success-subtext { color: #6b7280; }

/* Popup trigger button — intentionally independent of --stelr-button/
   --stelr-button-hover (the submit button's variables). Style this
   separately in custom CSS without affecting the submit button. */
.stelr-popup-trigger {
	background: #000000;
	color: #ffffff;
	border: none;
	padding: 12px 28px;
	border-radius: var(--stelr-radius);
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
}
.stelr-popup-trigger:hover { background: #333333; }

/* Popup modal: white blur overlay + fade-in-up transition */
.stelr-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	align-items: flex-start;
	justify-content: center;
	padding: 20px;
	/* The overlay scrolls (not the box), so dropdowns such as the country list can extend past the box edge instead of being cut off. */
	overflow-y: auto;
	overscroll-behavior: contain;
	z-index: 2147483647;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.stelr-modal-overlay.is-open {
	display: flex;
	opacity: 1;
	visibility: visible;
}
.stelr-modal-box {
	background: #fff;
	border-radius: 0;
	padding: 32px;
	width: 100%;
	max-width: 560px;
	margin: auto;
	overflow: visible;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	transform: translateY(36px);
	opacity: 0;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease-in-out;
}
.stelr-modal-overlay.is-open .stelr-modal-box {
	transform: translateY(0);
	opacity: 1;
}
.stelr-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin: 8px !important;
	padding: 0;
	background: none !important;
	border: none;
	cursor: pointer;
	color: #000000;
	fill: #000000;
	transition: none !important;
}
.stelr-modal-close svg { width: 18px; height: 18px; fill: #000000; display: block; }
.stelr-modal-close:hover,
.stelr-modal-close:focus,
.stelr-modal-close:active {
	background: none !important;
	color: #000000 !important;
	fill: #000000 !important;
	outline: none !important;
	box-shadow: none !important;
	transform: none !important;
}

body.stelr-modal-open { overflow: hidden; }

/* ------------------------------------------------------------------
   Right-to-left languages (Arabic, Hebrew, Persian, Urdu...)

   The wrapper, popup box and <form> each carry dir="rtl" or "ltr" (set from
   the page language, or the form's own "Text direction" setting), so text,
   labels, checkboxes and the success message all flow from the right. Only
   the bits below need explicit help.
   ------------------------------------------------------------------ */

/* The phone row follows the page direction (country code on the right in
   Arabic). Only the number itself stays left-to-right: the input is
   dir="ltr", and the dial code is isolated so "+20" never flips to "20+". */
.stelr-country-dial,
.stelr-country-dial-list { direction: ltr; unicode-bidi: isolate; }
.stelr-forms-wrapper[dir="rtl"] .stelr-phone-row input[type="tel"],
.stelr-modal-box[dir="rtl"] .stelr-phone-row input[type="tel"],
.stelr-form[dir="rtl"] .stelr-phone-row input[type="tel"] { text-align: right; }

/* ...but the names inside the country list should read in the page's direction. */
.stelr-forms-wrapper[dir="rtl"] .stelr-country-dropdown,
.stelr-modal-box[dir="rtl"] .stelr-country-dropdown {
	direction: rtl;
	text-align: right;
	left: auto;
	right: 0;
}

/* Arabic-script letters join to each other; letter-spacing and forced
   upper-casing (set on labels above for Latin text) break that joining. */
.stelr-forms-wrapper[dir="rtl"] .stelr-field label,
.stelr-forms-wrapper[dir="rtl"] .stelr-group-label,
.stelr-modal-box[dir="rtl"] .stelr-field label,
.stelr-modal-box[dir="rtl"] .stelr-group-label,
.stelr-form[dir="rtl"] .stelr-field label,
.stelr-form[dir="rtl"] .stelr-group-label {
	letter-spacing: 0;
	text-transform: none;
}

/* Popup close button moves to the opposite corner. */
.stelr-modal-box[dir="rtl"] .stelr-modal-close {
	right: auto;
	left: 16px;
}

/* Dropdowns: most themes paint the arrow on the right edge and pad the text
   away from it. In RTL the text starts on the right, so the two collide.
   Move the arrow to the left and swap the padding to match. */
.stelr-forms-wrapper[dir="rtl"] form.stelr-form .stelr-field select,
.stelr-forms-wrapper[dir="rtl"] form.stelr-form .stelr-field select:hover,
.stelr-forms-wrapper[dir="rtl"] form.stelr-form .stelr-field select:focus,
.stelr-forms-wrapper[dir="rtl"] form.stelr-form .stelr-field select,
.stelr-forms-wrapper[dir="rtl"] form.stelr-form .stelr-field select:hover,
.stelr-forms-wrapper[dir="rtl"] form.stelr-form .stelr-field select:focus,
.stelr-modal-box[dir="rtl"] form.stelr-form .stelr-field select,
.stelr-modal-box[dir="rtl"] form.stelr-form .stelr-field select:hover,
.stelr-modal-box[dir="rtl"] form.stelr-form .stelr-field select:focus,
form.stelr-form[dir="rtl"] .stelr-field select,
form.stelr-form[dir="rtl"] .stelr-field select:hover,
form.stelr-form[dir="rtl"] .stelr-field select:focus {
	background-repeat: no-repeat !important;
	background-size: 12px auto !important;
	background-position: left 15px center !important;
	padding-left: 40px !important;
	padding-right: 15px !important;
}

/* 1.6.3: text fields take the form's direction while empty (so Arabic
   placeholders sit on the right) and follow what is typed once there is text.
   An empty dir="auto" field would wrongly fall back to left-to-right. */
.stelr-form input[type="text"],
.stelr-form textarea { unicode-bidi: plaintext; }
.stelr-form[dir="rtl"] input[type="email"]:placeholder-shown,
.stelr-form[dir="rtl"] input[type="tel"]:placeholder-shown { direction: rtl; text-align: right; }

/* Flag next to the dial code on the country button */
.stelr-country-trigger .stelr-country-flag-current { font-size: 1.15em; line-height: 1; flex: 0 0 auto; }
.stelr-country-trigger .stelr-country-flag-current:empty { display: none; }


/* ------------------------------------------------------------------
   Sending: the Send button morphs into a thin loading bar (like a
   shadcn Progress), fills up, fades out and the thank-you fades in.
   Style the bar in the form's Styling tab ("Loading bar").
   ------------------------------------------------------------------ */
.stelr-submit-btn { position: relative; overflow: hidden; transition: height .35s cubic-bezier(.4,0,.2,1), border-radius .35s ease, background-color .3s ease, opacity .3s ease, padding .35s ease; }
.stelr-submit-label { display: inline-block; transition: opacity .15s ease; }
.stelr-submit-bar { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .2s ease .15s; overflow: hidden; border-radius: inherit; }
.stelr-submit-bar-fill {
	position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 0;
	background: var(--stelr-bar-fill, var(--stelr-button));
	border-radius: inherit;
	transition: width 4s cubic-bezier(.1,.7,.2,1);
}
.stelr-forms-wrapper form.stelr-form.is-sending .stelr-submit-btn {
	height: 8px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important;
	border-radius: 999px !important; font-size: 0 !important; line-height: 0 !important;
	background: rgba(0, 0, 0, .15) !important;
	background: color-mix(in srgb, var(--stelr-bar-fill, var(--stelr-button)) 20%, transparent) !important;
	box-shadow: none; opacity: 1 !important; cursor: progress; transform: none;
}
.stelr-forms-wrapper form.stelr-form.is-sending .stelr-submit-btn:disabled { opacity: 1 !important; }
.stelr-forms-wrapper form.stelr-form.is-sending .stelr-submit-label { opacity: 0; }
.stelr-forms-wrapper form.stelr-form.is-sending .stelr-submit-bar { opacity: 1; }
.stelr-forms-wrapper form.stelr-form .stelr-form-grid { transition: height .5s cubic-bezier(.4,0,.2,1), opacity .3s ease, margin .5s ease; }
/* The WHOLE form folds away: the fields fade and collapse, leaving only the bar. */
.stelr-forms-wrapper form.stelr-form.is-sending .stelr-form-grid {
	height: 0 !important; min-height: 0 !important; opacity: 0; overflow: hidden !important;
	margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
	pointer-events: none; visibility: hidden; transition: height .5s cubic-bezier(.4,0,.2,1), opacity .25s ease, margin .5s ease, visibility 0s linear .5s;
}
.stelr-forms-wrapper form.stelr-form.is-sending .g-recaptcha,
.stelr-forms-wrapper form.stelr-form.is-sending .stelr-form-notice:empty { display: none; }
.stelr-forms-wrapper form.stelr-form.is-sending { display: flex; flex-direction: column; justify-content: center; }
.stelr-forms-wrapper form.stelr-form.is-sending .stelr-submit-btn { align-self: stretch; }
/* thank-you heading must never be hidden by a theme's heading rules */
.stelr-forms-wrapper .stelr-success-message .stelr-success-heading { color: inherit !important; visibility: visible !important; opacity: 1 !important; display: block !important; }
.stelr-forms-wrapper form.stelr-form.is-sending.is-done-sending .stelr-submit-btn { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) {
	.stelr-submit-btn, .stelr-submit-label, .stelr-submit-bar, .stelr-submit-bar-fill { transition-duration: .01s !important; }
}

/* Popup heading + description above the form */
.stelr-modal-box .stelr-popup-head { margin: 0 0 20px; padding-inline-end: 28px; }
.stelr-modal-box .stelr-popup-heading { margin: 0 0 8px; font-size: 24px; line-height: 1.25; font-weight: 700; color: inherit; }
.stelr-modal-box .stelr-popup-desc { margin: 0; font-size: 15px; line-height: 1.55; opacity: .8; color: inherit; }
.stelr-modal-box:has(form.stelr-form.is-success) .stelr-popup-head,
.stelr-modal-box.has-success .stelr-popup-head { display: none; }


/* ------------------------------------------------------------------
   1.19.0 — colour schemes. "auto" (default) is decided in the browser from
   the real background behind the form; "dark" / "light" can be forced per
   form. Per-form styling from the editor still wins (it is !important).
   ------------------------------------------------------------------ */
.stelr-forms-wrapper[data-stelr-scheme="dark"],
.stelr-forms-wrapper[data-stelr-scheme="auto-dark"] {
	--stelr-label: #ffffff;
	--stelr-input-bg: #1b1b1b;
	--stelr-input-text: #ffffff;
	--stelr-input-border: rgba(255, 255, 255, .28);
	--stelr-link: #ffffff;
	color: #ffffff;
}
.stelr-forms-wrapper[data-stelr-scheme="dark"] .stelr-field input::placeholder,
.stelr-forms-wrapper[data-stelr-scheme="auto-dark"] .stelr-field input::placeholder { color: rgba(255, 255, 255, .55); }
.stelr-forms-wrapper[data-stelr-scheme="dark"] .stelr-field textarea::placeholder,
.stelr-forms-wrapper[data-stelr-scheme="auto-dark"] .stelr-field textarea::placeholder { color: rgba(255, 255, 255, .55); }
.stelr-forms-wrapper[data-stelr-scheme="dark"] .stelr-phone-error,
.stelr-forms-wrapper[data-stelr-scheme="auto-dark"] .stelr-phone-error,
.stelr-forms-wrapper[data-stelr-scheme="dark"] .stelr-email-error,
.stelr-forms-wrapper[data-stelr-scheme="auto-dark"] .stelr-email-error { color: #ff8a8a; }
.stelr-forms-wrapper[data-stelr-scheme="dark"] .stelr-field select option,
.stelr-forms-wrapper[data-stelr-scheme="auto-dark"] .stelr-field select option { background: #1b1b1b; color: #fff; }
.stelr-forms-wrapper[data-stelr-scheme="light"],
.stelr-forms-wrapper[data-stelr-scheme="auto-light"] {
	--stelr-label: #000000;
	--stelr-input-bg: #ffffff;
	--stelr-input-text: #000000;
	--stelr-input-border: #ebeced;
	--stelr-link: var(--stelr-primary);
}

/* ------------------------------------------------------------------
   1.19.0 — browser hardening (Edge / Windows Chrome)
   ------------------------------------------------------------------ */
/* Edge/IE adds its own clear (x) and password-reveal buttons inside inputs */
.stelr-field input::-ms-clear,
.stelr-field input::-ms-reveal { display: none; width: 0; height: 0; }
/* Fields never inherit a theme's oversized/pill/hidden form chrome */
.stelr-field input[type="text"],
.stelr-field input[type="email"],
.stelr-field input[type="tel"],
.stelr-field textarea { -webkit-appearance: none; appearance: none; max-width: 100%; min-height: 0; }
.stelr-field select { max-width: 100%; }
.stelr-field textarea { resize: vertical; }
/* Classic Windows scrollbars (17px) must not shrink or shift the popup */
.stelr-modal-overlay { scrollbar-gutter: stable both-edges; }
.stelr-modal-box { max-width: 100%; box-sizing: border-box; }
/* Windows High Contrast / forced colours: keep fields visibly boxed */
@media (forced-colors: active) {
	.stelr-field input, .stelr-field textarea, .stelr-field select, .stelr-country-trigger { border: 1px solid CanvasText !important; }
	.stelr-submit-btn { border: 1px solid ButtonText !important; }
}


/* 1.19.1 — every checkbox row (builder checkbox/consent fields and the built-in
   privacy consent) shares one look, sits close to the next checkbox row, and the
   whole field block keeps a small gap above the Submit button. */
.stelr-field-consent label { font-size: inherit; line-height: inherit; text-transform: inherit; letter-spacing: inherit; margin: 0; }
.stelr-field-consent .stelr-consent-text { font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; }
.stelr-field-consent + .stelr-field-consent { margin-top: calc(8px - var(--stelr-gap-y, 20px)); }
.stelr-form-grid { margin-bottom: 18px; }
.stelr-submit-btn { margin-top: 0; }

/* 1.19.2 — the country button always shows the flag and the full dial code
   (never "+…"): it sizes to its content and is never squeezed or ellipsised. */
.stelr-country-select { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
.stelr-country-trigger {
	width: auto !important; max-width: none !important; min-width: 0 !important;
	flex: 0 0 auto; overflow: visible !important; white-space: nowrap;
	padding-inline: 14px !important; gap: 6px;
}
.stelr-country-trigger .stelr-country-dial { overflow: visible !important; text-overflow: clip !important; flex: 0 0 auto; }
.stelr-country-trigger .stelr-country-flag-current, .stelr-country-trigger .stelr-country-caret { flex: 0 0 auto; }
.stelr-phone-row .stelr-phone-number { flex: 1 1 0; min-width: 0; }

/* 1.19.3 — checkbox rows are enforced, not just suggested: same box size, same
   text size, tight gap, whatever the theme or a pasted stylesheet does. These
   rules are low-specificity !important, so the Styling tab (which is more
   specific and also !important) can still change them on purpose. */
.stelr-forms-wrapper .stelr-field-consent { margin-block: 0 !important; padding-block: 0 !important; }
.stelr-forms-wrapper .stelr-field-consent + .stelr-field-consent { margin-top: calc(6px - var(--stelr-gap-y, 20px)) !important; }
.stelr-forms-wrapper .stelr-field-consent label {
	display: flex !important; align-items: center !important; gap: 10px !important;
	margin: 0 !important; padding: 0 !important; min-height: 0 !important;
	font-size: 14px !important; line-height: 1.4 !important; cursor: pointer;
}
.stelr-forms-wrapper .stelr-field-consent .stelr-consent-text,
.stelr-forms-wrapper .stelr-field-consent .stelr-consent-text a {
	font-size: inherit !important; line-height: inherit !important; letter-spacing: inherit !important;
}
.stelr-forms-wrapper .stelr-field-consent input[type="checkbox"] {
	box-sizing: border-box !important;
	width: 20px !important; height: 20px !important; min-width: 20px !important; min-height: 20px !important;
	flex: 0 0 20px !important; margin: 0 !important; padding: 0 !important;
}

/* 1.19.5 — adjacent checkbox rows (flagged by the script) sit close together. */
.stelr-forms-wrapper .stelr-check-row + .stelr-check-row { margin-top: calc(6px - var(--stelr-gap-y, 20px)) !important; }

/* 1.20.0 - popups opened from a button/link (#stelr-open-<id>) are printed in the
   footer; their own trigger button stays hidden. */
.stelr-hash-popups .stelr-popup-trigger { display: none !important; }
.stelr-hash-popups .stelr-forms-wrapper { margin: 0; padding: 0; height: 0; min-height: 0; overflow: visible; border: 0; background: none; box-shadow: none; }
