/* Legacy frontend styles */
.lfm-lead-overlay,
.lfm-promo-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	direction: rtl;
	font-family: inherit;
}

.lfm-builder-field input[type=file]{height:auto;min-height:49px;padding:10px 12px;direction:ltr;text-align:left}.lfm-builder-field input[type=file]::file-selector-button{margin:0 0 0 12px;padding:8px 14px;border:0;border-radius:9px;background:#e1eeec;color:#176d64;font-family:inherit;font-weight:700;cursor:pointer}.lfm-builder-field__help{display:block;margin:6px 4px 0;color:var(--lfm-form-muted);font-family:inherit;font-size:11px}
.lfm-visual-captcha{display:grid;grid-template-columns:minmax(0,272px) minmax(150px,1fr);gap:12px;align-items:center}.lfm-visual-captcha__challenge{display:flex;align-items:center;gap:8px;width:272px;max-width:100%;direction:ltr}.lfm-visual-captcha__challenge img{display:block;width:240px;max-width:calc(100% - 40px);height:90px;border:1px solid var(--lfm-form-border);border-radius:var(--lfm-form-radius,14px);background:var(--lfm-form-input-bg,#f5f7f7);object-fit:contain}.lfm-visual-captcha__refresh{position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;min-width:32px;min-height:32px;margin:0;padding:0;border:1px solid var(--lfm-form-primary);border-radius:50%;background:var(--lfm-form-primary);color:#fff;line-height:0;cursor:pointer;box-shadow:none;transition:background .2s,border-color .2s,transform .2s}.lfm-visual-captcha__refresh svg{display:block;width:16px;height:16px;margin:0;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.lfm-visual-captcha__refresh:hover,.lfm-visual-captcha__refresh:focus-visible{border-color:var(--lfm-form-primary-hover);background:var(--lfm-form-primary-hover);outline:0;transform:rotate(20deg)}.lfm-visual-captcha input[name=lfm_captcha_answer]{direction:ltr;text-align:center;text-transform:uppercase;letter-spacing:.18em;font-weight:800}@media(max-width:560px){.lfm-visual-captcha{grid-template-columns:1fr}.lfm-visual-captcha__challenge{margin:auto}}

.lfm-lead-overlay {
	background: rgba(0, 0, 0, 0.62);
	padding: 16px;
}

.lfm-promo-overlay {
	background: rgb(0 0 0 / var(--lfm-promo-overlay-opacity, 68%));
	padding: 0;
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .22s ease, visibility .22s ease;
}

.lfm-lead-overlay.lfm-active,
.lfm-promo-overlay.lfm-active {
	display: flex;
}

.lfm-promo-overlay.lfm-active {
	opacity: 1;
	visibility: visible;
}

html.lfm-modal-open,
html.lfm-modal-open body {
	overflow: hidden;
}

.lfm-lead-popup {
	width: 100%;
	max-width: 430px;
	background: #fff;
	border-radius: 22px;
	padding: 26px 24px 22px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
	position: relative;
	border-top: 6px solid #005558;
}

.lfm-lead-close {
	position: absolute;
	top: 10px;
	left: 14px;
	border: 0;
	background: transparent;
	font-size: 30px;
	cursor: pointer;
	line-height: 1;
	color: #005558;
	z-index: 5;
}

.lfm-lead-badge {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: linear-gradient(135deg, #005558, #008b8f);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	margin-bottom: 14px;
}

.lfm-lead-popup h3 {
	margin: 0 0 8px;
	font-size: 23px;
	font-weight: 800;
	color: #073f42;
}

.lfm-lead-popup p {
	margin: 0 0 18px;
	color: #5c6b70;
	font-size: 14px;
	line-height: 1.7;
}

.lfm-lead-context {
	background: #f2fbfc;
	border: 1px solid #d9f0f2;
	color: #005558 !important;
	padding: 10px 12px;
	border-radius: 12px;
	margin-bottom: 16px !important;
	font-weight: 700;
}

.lfm-lead-field {
	margin-bottom: 13px;
}

.lfm-lead-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #263b40;
}

.lfm-lead-field input {
	width: 100%;
	height: 48px;
	border: 1px solid #d8e2e5;
	border-radius: 12px;
	padding: 0 13px;
	font-size: 15px;
	box-sizing: border-box;
	outline: none;
	direction: rtl;
	text-align: right;
}

.lfm-lead-field input[type='tel'] {
	direction: rtl;
	text-align: right;
}

.lfm-lead-field input:focus {
	border-color: #005558;
	box-shadow: 0 0 0 3px rgba(0, 85, 88, 0.12);
}

.lfm-lead-submit {
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #005558, #008b8f);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	margin-top: 4px;
}

.lfm-lead-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.lfm-lead-msg {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.7;
	display: none;
	padding: 11px 12px;
	border-radius: 12px;
}

.lfm-lead-msg.lfm-error {
	display: block;
	color: #9b1c1c;
	background: #fff1f1;
	border: 1px solid #ffd4d4;
}

.lfm-lead-msg.lfm-success {
	display: block;
	color: #0b6b3a;
	background: #eefbf3;
	border: 1px solid #cdeedb;
	font-weight: 700;
}

/* Forms created in the visual builder */
.lfm-builder-form{--lfm-form-primary:#0a8c7d;--lfm-form-primary-hover:#08786c;--lfm-form-text:#526765;--lfm-form-muted:#94a09f;--lfm-form-border:#d8e1e0;width:100%;direction:rtl;font-family:inherit!important;color:var(--lfm-form-text)}.lfm-builder-form *{box-sizing:border-box}.lfm-builder-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:16px}.lfm-builder-form__grid>br{display:none!important}.lfm-builder-field{display:block;margin:0;font-family:inherit}.lfm-builder-field--full{grid-column:1/-1}.lfm-builder-field__label{display:block;margin:0 4px 8px;color:var(--lfm-form-text);font-family:inherit;font-size:12px;font-weight:700;line-height:1.5}.lfm-builder-field__label b{color:#d63638}.lfm-builder-field input,.lfm-builder-field select,.lfm-builder-field textarea{box-sizing:border-box;display:block;width:100%;margin:0;border:1px solid var(--lfm-form-border);border-radius:14px;background:#f5f7f7;color:#263f3d;font-family:inherit!important;font-size:14px;font-weight:400;outline:0;box-shadow:none;transition:background .2s,border-color .2s,box-shadow .2s}.lfm-builder-field input,.lfm-builder-field select{height:49px;min-height:49px;padding:0 16px}.lfm-builder-field select{cursor:pointer}.lfm-builder-field textarea{min-height:96px;padding:14px 16px;line-height:1.8;resize:vertical}.lfm-builder-field input::placeholder,.lfm-builder-field textarea::placeholder{color:var(--lfm-form-muted);opacity:1}.lfm-builder-field input:disabled,.lfm-builder-field select:disabled,.lfm-builder-field textarea:disabled{background:#edf1f1;color:#9aa7a6;cursor:not-allowed;opacity:1}.lfm-builder-field input:focus,.lfm-builder-field select:focus,.lfm-builder-field textarea:focus{background:#fff;border-color:var(--lfm-form-primary);box-shadow:0 0 0 3px rgba(10,140,125,.09)}.lfm-builder-field input[type=date],.lfm-builder-field input[type=time]{direction:ltr;text-align:left}.lfm-builder-form__submit{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:52px;margin:26px 0 0;padding:12px 24px;border:0;border-radius:999px;background:var(--lfm-form-primary);color:#fff;font-family:inherit!important;font-size:15px;font-weight:800;line-height:1.4;cursor:pointer;box-shadow:0 8px 20px rgba(10,140,125,.14);transition:background .2s,transform .2s,box-shadow .2s}.lfm-builder-form__submit:hover{background:var(--lfm-form-primary-hover);transform:translateY(-1px);box-shadow:0 11px 24px rgba(10,140,125,.2)}.lfm-builder-form__submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.lfm-builder-form__submit:disabled{opacity:.65;cursor:wait;transform:none}.lfm-builder-form__message{margin:14px 4px 0;font-family:inherit;font-size:13px;font-weight:700}.lfm-builder-form__message:empty{display:none}.lfm-builder-form__message.is-success{color:#087f5b}.lfm-builder-form__message.is-error{color:#b42318}@media(max-width:767px){.lfm-builder-form__grid{grid-template-columns:1fr}.lfm-builder-field--full{grid-column:auto}.lfm-builder-form__submit{margin-top:20px}}

.lfm-promo-popup {
	width: min(94vw, var(--lfm-promo-max-width, 760px));
	max-height: calc(100dvh - 32px);
	position: relative;
	background: transparent;
	border-radius: var(--lfm-promo-radius, 24px);
	overflow: hidden;
	box-shadow: 0 28px 90px rgba(0,0,0,.34);
	outline: none;
	transform: translateY(16px) scale(.98);
	transition: transform .25s cubic-bezier(.2,.8,.2,1);
}

.lfm-promo-overlay.lfm-active .lfm-promo-popup {
	transform: translateY(0) scale(1);
}

.lfm-promo-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--lfm-promo-radius, 24px);
	max-height: calc(100dvh - 32px);
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

.lfm-promo-close {
	position: absolute;
	top: 3.2%;
	right: 4.2%;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255,255,255,.55);
	border-radius: 50%;
	background: rgba(255,255,255,.88) !important;
	color: #173b38;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	z-index: 10;
	box-shadow: none !important;
	padding: 0 0 3px;
	text-shadow: none;
	box-shadow: 0 5px 18px rgba(0,0,0,.14)!important;
	transition: transform .2s ease, background .2s ease;
}

.lfm-promo-close:hover,
.lfm-promo-close:focus-visible {
	background:#fff!important;
	transform:scale(1.06);
	outline:2px solid #fff;
	outline-offset:2px;
}

.lfm-promo-cta {
	position: absolute;
	left: 50%;
	bottom: var(--lfm-desktop-bottom, 2.9%);
	transform: translateX(-50%);
	width: 48%;
	height: 7.4%;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: clamp(15px, 2vw, 23px);
	font-weight: 800;
	cursor: pointer;
	z-index: 3;
	text-align: center;
	line-height: 1;
}

.lfm-promo-cta:hover {
	background: rgba(255, 255, 255, 0.08);
}

.lfm-promo-cta:focus-visible {
	outline:3px solid #fff;
	outline-offset:2px;
}

@media (prefers-reduced-motion:reduce){
	.lfm-promo-overlay,.lfm-promo-popup{transition:none}
}

.lfm-inline-lead-form {
	direction: rtl;
	width: 100%;
	font-family: inherit;
}

.lfm-inline-lead-form input,
.lfm-inline-lead-form textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
	color: #fff;
	padding: 14px 4px;
	font-size: 16px;
	outline: none;
	direction: rtl;
	text-align: right;
	box-sizing: border-box;
}

.lfm-inline-lead-form input::placeholder,
.lfm-inline-lead-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.lfm-inline-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px 34px;
}

.lfm-inline-grid textarea {
	grid-column: 1 / -1;
}

.lfm-inline-submit,
.lfm-inline-row button {
	border: 0;
	background: linear-gradient(135deg, #005558, #17a4a7);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
	min-height: 52px;
	padding: 0 34px;
	font-size: 16px;
}

.lfm-inline-submit {
	margin-top: 22px;
	min-width: 180px;
}

.lfm-inline-row {
	display: grid;
	grid-template-columns: 1fr 1fr 180px;
	gap: 18px;
	align-items: end;
}

.lfm-inline-title {
	color: #fff;
	margin: 0 0 16px;
}

.lfm-inline-msg {
	margin-top: 12px;
	font-size: 14px;
	color: #fff;
}

@media (max-width: 768px) {
	.lfm-inline-grid,
	.lfm-inline-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.lfm-lead-popup {
		max-width: 94vw;
	}

	.lfm-promo-popup {
		width: 96vw;
		border-radius: 18px;
	}

	.lfm-promo-img {
		border-radius: 18px;
	}

	.lfm-promo-close {
		top: 3%;
		right: 4%;
		font-size: 28px;
	}

	.lfm-promo-cta {
		bottom: var(--lfm-mobile-bottom, 0.7%);
		width: 52%;
		height: 7.8%;
		font-size: 14px;
	}
}
