/*!
 * ZAPTA theme: Leadwise Forms design (white and dark blue backgrounds).
 * Exact copy of the ZT Forms 1.17.1 front-end styles used on zaptatech.com, with .ztf renamed to .lwf,
 * plus a few rules for features ZT Forms did not have (visible captcha box, captcha notice, pinned countries).
 *
 * Loaded by Leadwise Forms when Settings > Style and customization > Form CSS = "Theme file". The plugin
 * stylesheet is then skipped, and this file loads only on pages that show a form.
 *
 * Shortcodes: [leadwise_form id="contact"] (white background) and [leadwise_form id="contact" style="dark"] (dark blue).
 * The dark variant adds the class .lwf--dark to the form; the white one has .lwf--light.
 * The button hover animation comes from the theme class "for-hover" (Forms > Contact form > Button classes).
 */

/*!
 * ZT Forms - front end styles.
 * Tuned to match the ZAPTA contact form pixel for pixel (light and dark).
 * Override any --lwf-* variable from your theme or from Settings > Custom CSS.
 */.lwf {
	--lwf-accent:  #0865ff;
	--lwf-accent-hover:  #075ce8;
	--lwf-accent-text:  #ffffff;
	--lwf-error:  #ef4444;
	--lwf-radius:  8px;
	--lwf-ease:  cubic-bezier(.4, 0, .2, 1);
	--lwf-speed:  .28s;
	--lwf-input-h:  47px;
	--lwf-line-w:  .8px;
	--lwf-text:  #18181b;
	--lwf-label:  #3f3f46;
	--lwf-label-float:  #52525b;
	--lwf-line:  #d4d4d8;
	--lwf-line-focus:  #71717a;
	--lwf-check-border:  #525b53;
	--lwf-counter:  #71717a;
	--lwf-consent:  #525b53;
	--lwf-link:  #525b53;
	--lwf-clip:  #3f3f46;
	--lwf-panel:  #ffffff;
	--lwf-muted:  #71717a;
	position: relative;
	width: 100%;
	color: var(--lwf-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}

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

.lwf--dark {
	--lwf-text:  #f4f4f5;
	--lwf-label:  #f4f4f5;
	--lwf-label-float:  #d4d8d5;
	--lwf-line:  #263853;
	--lwf-line-focus:  #e4e7e5;
	--lwf-check-border:  #fafafa;
	--lwf-counter:  #d4d8d5;
	--lwf-consent:  #f4f4f5;
	--lwf-link:  #ffffff;
	--lwf-clip:  #ffffff;
	--lwf-panel:  #0a2440;
	--lwf-muted:  #9aa6b8;
}

.lwf__fields {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 24px;
}

.lwf-field {
	position: relative;
	min-width: 0;
}

.lwf-field--full {
	grid-column: 1 / -1;
}

.lwf-type-text,
.lwf-type-email,
.lwf-type-tel,
.lwf-type-textarea,
.lwf-type-select {
	padding-bottom: 26px;
}

@media (max-width: 500px) {
	.lwf__fields {
		grid-template-columns: minmax(0,1fr);
	}
	.lwf-field--half {
		grid-column: 1 / -1;
	};
}

.lwf-field input[type=text],
.lwf-field input[type=email],
.lwf-field input[type=tel],
.lwf-field select,
.lwf-field textarea {
	display: block;
	width: 100%;
	min-height: var(--lwf-input-h);
	padding: 6px 16px;
	margin: 0;
	color: var(--lwf-text);
	background: transparent;
	border: 0;
	border-bottom: var(--lwf-line-w) solid var(--lwf-line);
	border-radius: 0;
	box-shadow: none;
	font: inherit;
	font-size: 16px;
	line-height: 25.5px;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color var(--lwf-speed) var(--lwf-ease),box-shadow var(--lwf-speed) var(--lwf-ease);
}

.lwf-field textarea {
	height: 114.8px;
	padding-right: 42px;
	resize: vertical;
}

.lwf-field input:focus,
.lwf-field select:focus,
.lwf-field textarea:focus {
	outline: none;
}

.lwf-field.is-focus input,
.lwf-field.is-focus select,
.lwf-field.is-focus textarea {
	border-bottom-color: var(--lwf-line-focus);
}

.lwf-field.is-invalid input,
.lwf-field.is-invalid select,
.lwf-field.is-invalid textarea {
	border-bottom-color: var(--lwf-error);
}

.lwf-field input:-webkit-autofill,
.lwf-field input:-webkit-autofill:hover,
.lwf-field input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--lwf-text);
	caret-color: var(--lwf-text);
	transition: background-color 600000s 0s,color 600000s 0s;
}

.lwf-field input::placeholder,
.lwf-field textarea::placeholder {
	color: transparent;
}

.lwf-field.is-focus input::placeholder,
.lwf-field.is-focus textarea::placeholder {
	color: var(--lwf-muted);
}

.lwf-field>label:not(.lwf-check) {
	position: absolute;
	left: 16px;
	top: 5px;
	z-index: 1;
	margin: 0;
	max-width: calc(100% - 32px);
	overflow: hidden;
	color: var(--lwf-label);
	font-size: 16px;
	line-height: 25.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none;
	transform: translateY(0);
	transform-origin: left top;
	transition: transform var(--lwf-speed) var(--lwf-ease),color var(--lwf-speed) var(--lwf-ease),font-size var(--lwf-speed) var(--lwf-ease);
	will-change: transform;
}

.lwf-type-textarea>label {
	top: 26px!important;
}

.lwf-field.is-focus>label:not(.lwf-check),
.lwf-field.is-filled>label:not(.lwf-check) {
	color: var(--lwf-label-float);
	font-size: 11px;
	transform: translateY(-12px);
}

.lwf-type-textarea.is-focus>label,
.lwf-type-textarea.is-filled>label {
	top: 0!important;
}

.lwf-field.is-invalid>label:not(.lwf-check) {
	color: var(--lwf-error);
}

.lwf-req {
	padding-left: 0;
	color: var(--lwf-label);
	transition: color var(--lwf-speed) ease;
}

.lwf-field.is-focus .lwf-req,
.lwf-field.is-filled .lwf-req {
	color: var(--lwf-label-float);
}

.lwf-field.is-invalid .lwf-req {
	color: var(--lwf-error);
}

.lwf--dark .lwf-req,
.lwf--dark .lwf-field.is-focus .lwf-req,
.lwf--dark .lwf-field.is-filled .lwf-req {
	color: #f4f4f5;
}

.lwf--dark .lwf-field.is-invalid .lwf-req {
	color: var(--lwf-error);
}

.lwf-type-select>label {
	color: var(--lwf-label-float);
	font-size: 11px;
	transform: translateY(-12px);
}

.lwf-field select {
	padding-right: 36px;
	background-image: linear-gradient(45deg,transparent 50%,var(--lwf-label) 50%),linear-gradient(135deg,var(--lwf-label) 50%,transparent 50%);
	background-position: calc(100% - 20px) 55%,calc(100% - 15px) 55%;
	background-size: 5px 5px,5px 5px;
	background-repeat: no-repeat;
}

.lwf--dark select option {
	color: #18181b;
}

.lwf-error {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	margin: 0;
	color: var(--lwf-error);
	font-size: 13px;
	line-height: 18.2px;
}

.lwf-error[hidden] {
	display: none;
}

.lwf-counter {
	position: absolute;
	right: 2px;
	bottom: 2px;
	margin: 0;
	color: var(--lwf-counter);
	font-size: 13px;
	line-height: 18.2px;
	pointer-events: none;
}

.lwf-help {
	display: block;
	margin-top: 6px;
	color: var(--lwf-muted);
	font-size: 13px;
}

.lwf button.lwf-attach {
	position: absolute;
	top: 35%;
	right: -8px;
	z-index: 2;
	display: inline-flex!important;
	align-items: center;
	justify-content: center;
	width: 24px!important;
	height: 24px!important;
	min-height: 0!important;
	margin: 0;
	padding: 0!important;
	color: var(--lwf-clip)!important;
	background: transparent!important;
	border: 0!important;
	border-radius: 0!important;
	box-shadow: none!important;
	line-height: 1;
	cursor: pointer;
	opacity: .88;
	transform: translateY(-46%) rotate(315deg);
	transition: opacity .2s ease,transform .2s ease;
}

.lwf button.lwf-attach:hover {
	background: transparent!important;
	opacity: 1;
}

.lwf button.lwf-attach:focus-visible {
	outline: 2px solid var(--lwf-line-focus);
	outline-offset: 2px;
}

.lwf .lwf-attach svg {
	display: block;
	width: 24px;
	height: 24px;
	margin: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lwf-file__input {
	position: absolute!important;
	width: 1px!important;
	height: 1px!important;
	padding: 0!important;
	opacity: 0;
	pointer-events: none;
	border: 0!important;
	overflow: hidden;
}

.lwf-upload-feedback {
	grid-column: 1 / -1;
	margin: -6px 0 -10px -12px;
}

.lwf-upload-feedback:empty {
	display: none;
}

.lwf-upload-file {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	color: #7e86a5;
	background: #f5f5f7;
	font-size: 15px;
	line-height: 21px;
	animation: lwf-fade .28s var(--lwf-ease) both;
}

.lwf button.lwf-upload-file__remove {
	width: 11px!important;
	height: 18px!important;
	min-height: 0!important;
	margin: 0;
	padding: 0!important;
	color: #6b7280!important;
	background: transparent!important;
	border: 0!important;
	border-radius: 8px!important;
	box-shadow: none!important;
	font-size: 18px;
	line-height: 18px;
	cursor: pointer;
}

.lwf button.lwf-upload-file__remove:hover {
	color: var(--lwf-error)!important;
}

.lwf-upload-error {
	margin: 12px 0 0 12px;
	color: var(--lwf-error);
	font-size: 13px;
	line-height: 18.2px;
}

@keyframes lwf-fade {
	0% {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: none;
	};
}

.lwf-type-checkbox {
	min-height: 26px;
}

.lwf-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	color: var(--lwf-label);
	font-size: 16px;
	line-height: 25.5px;
	height: 26.2px;
	cursor: pointer;
}

.lwf-check input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.lwf-check__box {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 7px;
	background: transparent no-repeat center / 14px 14px;
	border: .8px solid var(--lwf-check-border);
	border-radius: 3px;
	transition: background-color .2s ease,border-color .2s ease;
}

.lwf-check__text {
	margin-top: 5px;
}

.lwf-check input:checked+.lwf-check__box {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.6 7.4l2.9 2.9 5.9-6.2' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.lwf:not(.lwf--dark) .lwf-check input:checked+.lwf-check__box {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.6 7.4l2.9 2.9 5.9-6.2' fill='none' stroke='%23525b53' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.lwf-check input:focus-visible+.lwf-check__box {
	outline: 2px solid var(--lwf-line-focus);
	outline-offset: 2px;
}

.lwf-field.is-invalid .lwf-check__box {
	border-color: var(--lwf-error);
}

.lwf-consent {
	margin: 0;
	color: var(--lwf-consent);
	font-size: 16px;
	line-height: 20.8px;
}

.lwf--light .lwf-consent {
	margin-top: -8px;
	padding-top: 16px;
}

.lwf--light .lwf-consent:after {
	content: ".";
}

.lwf-consent a {
	line-height: 25.6px;
	color: var(--lwf-link);
	text-decoration: underline;
}

.lwf--light .lwf-field input,
.lwf--light .lwf-field select,
.lwf--light .lwf-field textarea {
	font-family: Inter,sans-serif;
	line-height: 20px;
}

.lwf--light .lwf-type-textarea textarea {
	height: 92.8px;
}

.lwf--light .lwf-field>label:not(.lwf-check),
.lwf--light .lwf-check,
.lwf--light .lwf-check__text {
	line-height: 20.8px;
}

.lwf-actions {
	margin-top: 8px;
}

.lwf__form {
	padding-bottom: 24px;
	margin-bottom: -24px;
}

.lwf__submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	margin: 0;
	padding: 8px 16px;
	color: var(--lwf-accent-text);
	background-color: var(--lwf-accent);
	border: .8px solid rgba(255,255,255,0);
	border-radius: var(--lwf-radius);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 20.8px;
	text-align: center;
	cursor: pointer;
	transition: all .3s ease;
}

.lwf__submit:hover:not([disabled]) {
	background-color: var(--lwf-accent-hover);
}

.lwf__submit:focus-visible {
	outline: 2px solid var(--lwf-line-focus);
	outline-offset: 3px;
}

.lwf__submit .lwf__arrow {
	display: block;
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
}

.lwf__submit .fh-icon-wrap {
	width: 20px!important;
	height: 20px!important;
}

.lwf__submit .fh-icon-wrap,
.lwf__submit .fh-icon {
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
}

.lwf__submit.lwf__submit--disabled,
.lwf__submit[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

.lwf__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,.45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: lwf-spin .7s linear infinite;
}

.lwf.is-loading .lwf__spinner {
	display: inline-block;
}

@keyframes lwf-spin {
	to {
		transform: rotate(360deg);
	};
}

.lwf-alert {
	margin: 18px 0 0;
	padding: 12px 16px;
	color: var(--lwf-error);
	background: #ef444414;
	border: 1px solid var(--lwf-error);
	border-radius: var(--lwf-radius);
	font-size: 14px;
}

.lwf-alert[hidden] {
	display: none;
}

.lwf-hp {
	position: absolute!important;
	left: -9999px!important;
	top: auto!important;
	width: 1px!important;
	height: 1px!important;
	overflow: hidden!important;
}

.lwf__success {
	padding: 40px 12px;
	text-align: center;
	animation: lwf-pop .45s ease both;
}

.lwf__success[hidden] {
	display: none;
}

.lwf__success:focus {
	outline: none;
}

.lwf__check {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
}

.lwf__check-circle {
	stroke: var(--lwf-accent);
	stroke-width: 2.5;
	stroke-dasharray: 151;
	stroke-dashoffset: 151;
	animation: lwf-draw .6s ease .1s forwards;
}

.lwf__check-mark {
	stroke: var(--lwf-accent);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: lwf-draw .4s ease .6s forwards;
}

.lwf__success-title {
	margin: 0 0 8px;
	color: var(--lwf-text);
	font-size: 24px;
	line-height: 1.3;
}

.lwf__success-text {
	margin: 0;
	color: var(--lwf-label);
}

@keyframes lwf-draw {
	to {
		stroke-dashoffset: 0;
	};
}

@keyframes lwf-pop {
	0% {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	};
}

.lwf-phone {
	position: relative;
	display: block;
	width: 100%;
}

.lwf-phone>input[type=tel] {
	width: 100%;
	padding-left: 52px!important;
	padding-right: 6px;
}

.lwf .lwf-phone .lwf-phone__btn {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex!important;
	align-items: center;
	width: 46.8px;
	min-height: 0!important;
	margin: 0;
	padding: 0 6px 0 8px!important;
	color: #555!important;
	background: transparent!important;
	border: 0!important;
	border-radius: 0!important;
	box-shadow: none!important;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--lwf-speed) var(--lwf-ease);
}

.lwf-type-tel.is-focus .lwf-phone__btn,
.lwf-type-tel.is-filled .lwf-phone__btn {
	opacity: 1;
	pointer-events: auto;
}

.lwf-phone__flag {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 13px;
	background-repeat: no-repeat;
	background-size: 4880px 13px;
	box-shadow: 0 0 1px #888;
}

.lwf-phone__arrow {
	position: relative;
	top: 1px;
	width: 0;
	height: 0;
	margin-left: 6px;
	border-top: 4px solid #555;
	border-right: 2.4px solid transparent;
	border-left: 2.4px solid transparent;
}

.lwf .lwf-phone .lwf-phone__btn:focus-visible {
	outline: 2px solid var(--lwf-line-focus);
	outline-offset: -2px;
}

.lwf-phone__panel {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 30;
	width: 100%;
	min-width: 260px;
	color: var(--lwf-text);
	background: var(--lwf-panel);
	border: 1px solid var(--lwf-line);
	border-radius: var(--lwf-radius);
	box-shadow: 0 12px 32px #00000038;
	overflow: hidden;
}

.lwf-phone__panel[hidden] {
	display: none;
}

.lwf .lwf-phone__panel input.lwf-phone__search {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 14px!important;
	color: var(--lwf-text);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--lwf-line);
	border-radius: 0;
	box-shadow: none;
	font-size: 15px;
	line-height: 24px;
}

.lwf .lwf-phone__panel input.lwf-phone__search::placeholder {
	color: var(--lwf-muted);
	opacity: 1!important;
}

.lwf-phone__list {
	max-height: 260px;
	margin: 0;
	padding: 4px 0;
	overflow-y: auto;
	list-style: none;
}

.lwf-phone__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 14px;
	font-size: 15px;
	line-height: 20px;
	cursor: pointer;
}

.lwf-phone__opt[hidden] {
	display: none;
}

.lwf-phone__opt.is-active {
	background: #0865ff24;
}

.lwf-phone__opt[aria-selected=true] .lwf-phone__name {
	font-weight: 600;
}

.lwf-phone__name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lwf-phone__dial {
	flex: 0 0 auto;
	color: var(--lwf-muted);
}

.lwf-notice {
	padding: 10px 14px;
	color: #7a2e0e;
	background: #fff4e5;
	border: 1px solid #f5c26b;
	border-radius: 6px;
	font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.lwf *,.lwf *: before,.lwf *:after {
		animation-duration: .01ms!important;
		animation-delay: 0s!important;
		transition-duration: .01ms!important;
	}
	.lwf__check-circle,.lwf__check-mark {
		stroke-dashoffset: 0;
	};
}

@media (max-width: 768px) {
	.lwf button.lwf-attach {
		right: 3px;
	};
}

@media (max-width: 500px) {
	.lwf--light .lwf-field input,.lwf--light .lwf-field select,.lwf--light .lwf-field textarea {
		line-height: 25.6px;
	}
	.lwf--light .lwf-type-textarea textarea {
		height: 115.2px;
	}
	.lwf--light .lwf-consent {
		line-height: 25.77px;
	};
}

@media (max-width: 380px) {
	.lwf--dark .lwf-consent {
		margin-top: 8px;
	};
}

.lwf-check__text {
	margin-right: -4.1px;
}

.lwf--light .lwf__submit {
	border-radius: 6px;
}

.lwf__submit[disabled],
.lwf__submit.lwf__submit--disabled {
	pointer-events: none;
}

.lwf-status {
	margin: 10px 0;
	color: #525b53;
	font-size: 16px;
	line-height: 25.5px;
}

.lwf--dark .lwf-status {
	color: #fff;
}

.lwf-status[hidden],
.lwf-status [hidden] {
	display: none!important;
}

.lwf-status__progress {
	max-width: 420px;
}

.lwf-status__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	line-height: 20px;
}

.lwf-status__pct {
	font-variant-numeric: tabular-nums;
	opacity: .8;
}

.lwf-status__bar {
	height: 6px;
	margin-top: 6px;
	overflow: hidden;
	background: #18181b1f;
	border-radius: 3px;
}

.lwf--dark .lwf-status__bar {
	background: #fff3;
}

.lwf-status__bar i {
	display: block;
	width: 0;
	height: 100%;
	background: var(--lwf-accent);
	border-radius: 3px;
	transition: width .2s ease-out;
}

.lwf-status__done {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lwf-status__tick {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	fill: none;
	stroke: #16a34a;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lwf--dark .lwf-status__tick {
	stroke: #4ade80;
}

.lwf-status__tick circle {
	stroke-dasharray: 63;
	stroke-dashoffset: 63;
}

.lwf-status__tick path {
	stroke-dasharray: 16;
	stroke-dashoffset: 16;
}

.lwf-status__done.is-in .lwf-status__tick circle {
	animation: lwf-draw-circle .5s ease-out forwards;
}

.lwf-status__done.is-in .lwf-status__tick path {
	animation: lwf-draw-tick .3s .4s ease-out forwards;
}

.lwf-status__done.is-in .lwf-status__text {
	animation: lwf-fade .4s .2s ease-out both;
}

@keyframes lwf-draw-circle {
	to {
		stroke-dashoffset: 0;
	};
}

@keyframes lwf-draw-tick {
	to {
		stroke-dashoffset: 0;
	};
}

.lwf-upload-file {
	position: relative;
	overflow: hidden;
}

.lwf-upload-file__bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: transparent;
}

.lwf-upload-file__bar i {
	display: block;
	width: 0;
	height: 100%;
	background: var(--lwf-accent);
	transition: width .2s ease-out;
}

.lwf-upload-file.is-uploaded .lwf-upload-file__bar i {
	background: #16a34a;
}

@media (prefers-reduced-motion: reduce) {
	.lwf-status__tick circle,.lwf-status__tick path {
		stroke-dashoffset: 0;
		animation: none!important;
	};
}

.lwf-submit-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}

.lwf-submit-wrap>button {
	flex: 0 0 auto;
}

.lwf-submit-tooltip {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	z-index: 1000;
	min-width: 200px;
	max-width: 280px;
	padding: 10px 14px;
	color: #fff;
	background-color: #1f2937;
	border-radius: 6px;
	box-shadow: 0 10px 24px #0f172a2e;
	font-size: .8125rem;
	line-height: 1.4;
	text-align: center;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%) translateY(4px);
	transition: opacity .18s ease,transform .18s ease,visibility .18s ease;
}

.lwf-submit-tooltip:after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 7px solid #1f2937;
	border-right: 7px solid transparent;
	border-left: 7px solid transparent;
	transform: translate(-50%);
}

.lwf-submit-tooltip.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%) translateY(0);
}

.lwf-counter {
	right: 3px;
}

.lwf-error {
	right: -12px;
}

.lwf .lwf-type-tel input {
	padding-right: 6px;
}

@media (max-width: 500px) {
	.lwf--light .lwf-consent {
		line-height: 25.5px;
	};
}

.lwf-status__done {
	min-height: 25.5px;
}

.lwf-type-textarea:has(.lwf-error:not([hidden])) {
	padding-bottom: 48px;
}

.lwf-type-textarea:has(.lwf-error:not([hidden])) .lwf-counter {
	bottom: 24px;
}

.lwf-type-textarea .lwf-error {
	right: 0;
	padding-right: 2px;
}

.lwf-white-form-wrap {
	margin-top: 40px;
}

@media (max-width: 800px) {
	.lwf-white-form-wrap {
		margin-top: 24px;
	};
}

/* ---- Leadwise Forms additions (not in ZT Forms) ---------------------------- */

/* Visible captcha box (Settings > Bot checks > Captcha > Visible box), the notice that replaces a hidden badge, and the hint to tick the box. */
.lwf-captcha-slot:empty {
	display: none;
}

.lwf-captcha-slot--visible {
	min-height: 65px;
	justify-self: start;
	width: fit-content;
	max-width: 100%;
}

.lwf-captcha-slot iframe {
	max-width: 100%;
}

.lwf--captcha-needed .lwf-captcha-slot--visible {
	outline: 2px solid var(--lwf-error);
	outline-offset: 4px;
	border-radius: 4px;
}

.lwf-captcha-notice {
	margin: 10px 0 0;
	color: var(--lwf-muted);
	font-size: 12px;
	line-height: 1.5;
}

.lwf-captcha-notice a {
	color: inherit;
	text-decoration: underline;
}

/* Pinned countries at the top of the phone country list (Settings > Form and tracking > Phone field). */
.lwf-phone__opt--pref-last {
	margin-bottom: 4px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--lwf-line);
}