@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");

.lf-form-shell,
.lf-dialog,
.lf-register-trigger-wrap,
.lf-zalo-widget {
	--lf-brand-red: #e30613;
	--lf-brand-red-dark: #b51224;
	--lf-brand-orange: #ffa500;
	--lf-ink: #20283a;
	--lf-muted: #667085;
	--lf-line: #e6e9ef;
	box-sizing: border-box;
	font-family: "Linhna Lexend", "Lexend", sans-serif;
}

.lf-form-shell *,
.lf-dialog *,
.lf-register-trigger-wrap *,
.lf-zalo-widget * {
	box-sizing: border-box;
}

.lf-dialog[hidden],
.lf-form [hidden],
.lf-zalo-widget[hidden],
.lf-zalo-tooltip[hidden],
.lf-zalo-tooltip [hidden],
.lf-zalo-lock-link[hidden] {
	display: none !important;
}

.lf-inline-form {
	width: min(100%, 560px);
	margin-inline: auto;
}

.lf-form-shell {
	position: relative;
	isolation: isolate;
}

.lf-form-shell--registration {
	width: 100%;
	padding: 32px;
	overflow: visible;
	color: var(--lf-registration-text, var(--lf-ink));
	background:
		linear-gradient(
			90deg,
			var(--lf-registration-button, var(--lf-brand-red)) 0 74%,
			var(--lf-brand-orange) 74% 100%
		) top / 100% 6px no-repeat,
		linear-gradient(rgb(255 255 255 / 86%), rgb(255 255 255 / 86%)),
		var(--lf-registration-bg, #fffafa);
	border: 1px solid rgb(208 24 43 / 12%);
	border-radius: var(--lf-radius, 14px);
	box-shadow:
		0 24px 60px rgb(52 12 19 / 18%),
		0 3px 12px rgb(52 12 19 / 7%);
}

.lf-form {
	position: relative;
	margin: 0;
}

.lf-form__intro,
.lf-zalo-intro {
	margin: 0 auto 24px;
	color: var(--lf-ink);
	font-size: 16px;
	font-weight: 550;
	line-height: 1.65;
	text-align: center;
	text-wrap: balance;
}

.lf-form__intro {
	max-width: 410px;
}

.lf-form-shell--registration .lf-form__intro,
.lf-form-shell--registration .lf-field label {
	color: var(--lf-registration-text, var(--lf-ink));
}

.lf-field {
	position: relative;
	z-index: 1;
	margin: 0 0 17px;
}

.lf-field:focus-within,
.lf-field.has-error,
.lf-field:has(.lf-field__error:not(:empty)) {
	z-index: 30;
}

.lf-field label {
	display: block;
	margin: 0 0 7px;
	color: var(--lf-ink);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.005em;
	line-height: 1.35;
}

.lf-field input,
.lf-field select {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	color: #2c3445;
	background: #fff;
	border: 1px solid #d8dde6;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgb(16 24 40 / 4%);
	font: inherit;
	font-size: 15px;
	line-height: 1.35;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.lf-field select {
	padding-right: 38px;
	cursor: pointer;
}

.lf-field input::placeholder {
	color: #8a92a3;
	opacity: 1;
}

.lf-field input:hover,
.lf-field select:hover {
	border-color: #b9c0cd;
}

.lf-field input:focus,
.lf-field select:focus {
	background: #fff;
	border-color: var(--lf-registration-button, var(--lf-brand-red));
	box-shadow: 0 0 0 4px rgb(227 6 19 / 11%);
	outline: 0;
}

.lf-field input[aria-invalid="true"],
.lf-field select[aria-invalid="true"] {
	border-color: #d92d20;
	box-shadow: 0 0 0 4px rgb(217 45 32 / 10%);
}

/*
 * Field messages float over the layout so a validation message never pushes
 * the modal wider or makes following fields jump.
 */
.lf-field__error {
	position: absolute;
	z-index: 40;
	top: calc(100% + 7px);
	right: 8px;
	display: block;
	width: max-content;
	max-width: min(310px, calc(100% - 16px));
	min-height: 0;
	padding: 8px 11px;
	color: #9c1c14;
	background: #fff8f7;
	border: 1px solid #f0b6b1;
	border-radius: 8px;
	box-shadow: 0 10px 25px rgb(77 20 16 / 16%);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.4;
	pointer-events: none;
	text-align: left;
}

.lf-field__error::before {
	position: absolute;
	top: -6px;
	right: 18px;
	width: 10px;
	height: 10px;
	content: "";
	background: #fff8f7;
	border-top: 1px solid #f0b6b1;
	border-left: 1px solid #f0b6b1;
	transform: rotate(45deg);
}

.lf-field__error:empty {
	display: none;
}

.lf-form__status {
	min-height: 0;
	margin: 10px 0 0;
	color: var(--lf-muted);
	font-size: 12px;
	font-weight: 550;
	line-height: 1.5;
	text-align: center;
}

.lf-form__status:empty {
	display: none;
}

.lf-form__status.is-error {
	padding: 9px 12px;
	color: #9c1c14;
	background: #fff3f1;
	border: 1px solid #f4c6c1;
	border-radius: 9px;
	font-weight: 650;
}

.lf-submit,
.lf-cta,
.lf-zalo-lock-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-top: 20px;
	padding: 11px 20px;
	color: #fff !important;
	background: var(--lf-registration-button, var(--lf-brand-red));
	border: 0;
	border-top: 2px solid var(--lf-brand-orange);
	border-radius: 11px;
	box-shadow:
		0 12px 24px rgb(164 18 39 / 18%),
		inset 0 -1px 0 rgb(0 0 0 / 13%);
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: 0.015em;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	transition:
		box-shadow 160ms ease,
		filter 160ms ease,
		opacity 160ms ease,
		transform 160ms ease;
}

.lf-submit:not(:disabled):hover,
.lf-cta:hover,
.lf-zalo-lock-link:hover {
	box-shadow:
		0 15px 28px rgb(164 18 39 / 23%),
		inset 0 -1px 0 rgb(0 0 0 / 13%);
	filter: brightness(0.96);
	transform: translateY(-1px);
}

.lf-submit:focus-visible,
.lf-cta:focus-visible,
.lf-zalo-lock-link:focus-visible,
.lf-dialog__close:focus-visible,
.lf-register-trigger:focus-visible,
.lf-zalo-tooltip__close:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #3156c8;
}

.lf-submit:disabled {
	box-shadow: none;
	cursor: not-allowed;
	filter: grayscale(0.25);
	opacity: 0.38;
	transform: none;
}

.lf-thank {
	max-width: 390px;
	margin-inline: auto;
	padding: 10px 4px 6px;
	color: var(--lf-ink);
	text-align: center;
}

.lf-thank__image {
	display: block;
	width: min(138px, 48%);
	height: auto;
	margin: 0 auto 18px;
	filter: drop-shadow(0 10px 18px rgb(98 17 27 / 12%));
}

.lf-thank p {
	margin: 9px 0;
	font-size: 14px;
	line-height: 1.65;
}

.lf-thank__heading {
	color: var(--lf-brand-red-dark);
	font-size: 20px !important;
	font-weight: 800;
}

.lf-thank .lf-form__status,
.lf-thank__locked-text {
	margin-top: 14px;
	padding: 10px 13px;
	color: #7d2832;
	background: #fff1f2;
	border: 1px solid #ffd2d7;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 650;
}

/*
 * JS may expose either the class or data attribute. Both forms receive the
 * same calm, non-interactive locked state and a centered notice.
 */
.lf-form.is-locked:not(.lf-form--zalo) .lf-form-fields,
.lf-form[data-lf-locked="1"]:not(.lf-form--zalo) .lf-form-fields,
.lf-form-shell.is-locked:not(.lf-form-shell--zalo) .lf-form-fields,
.lf-form-shell[data-lf-locked="1"]:not(.lf-form-shell--zalo) .lf-form-fields {
	filter: grayscale(0.25);
	opacity: 0.28;
	pointer-events: none;
	user-select: none;
}

.lf-form.is-locked,
.lf-form[data-lf-locked="1"],
.lf-form-shell.is-locked,
.lf-form-shell[data-lf-locked="1"] {
	min-height: 150px;
}

.lf-lock-notice,
[data-lf-lock-notice] {
	position: absolute;
	z-index: 50;
	top: 50%;
	left: 50%;
	width: min(360px, calc(100% - 28px));
	margin: 0;
	padding: 15px 18px;
	color: #761525;
	background: rgb(255 255 255 / 96%);
	border: 1px solid #f3b5be;
	border-left: 4px solid var(--lf-registration-button, var(--lf-brand-red));
	border-radius: 12px;
	box-shadow: 0 16px 38px rgb(59 17 23 / 18%);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.55;
	text-align: center;
	transform: translate(-50%, -50%);
}

.lf-form--zalo.is-locked .lf-field,
.lf-form--zalo.is-locked .lf-submit--zalo,
.lf-form--zalo[data-lf-locked="1"] .lf-field,
.lf-form--zalo[data-lf-locked="1"] .lf-submit--zalo {
	filter: grayscale(0.25);
	opacity: 0.28;
	pointer-events: none;
	user-select: none;
}

.lf-form--zalo.is-locked .lf-zalo-lock-link,
.lf-form--zalo[data-lf-locked="1"] .lf-zalo-lock-link {
	position: relative;
	z-index: 55;
	margin-top: 78px;
}

.lf-form--zalo.is-locked .lf-lock-notice,
.lf-form--zalo.is-locked [data-lf-lock-notice],
.lf-form--zalo[data-lf-locked="1"] .lf-lock-notice,
.lf-form--zalo[data-lf-locked="1"] [data-lf-lock-notice] {
	top: 48px;
	transform: translateX(-50%);
}

.lf-dialog {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	padding: 22px;
	place-items: center;
}

/*
 * Viewport portal guard.
 *
 * Dialogs are moved below <body> by frontend.js. The selector and important
 * geometry prevent theme/page-builder rules from turning the modal into an
 * in-flow block or constraining it to a transformed shortcode container.
 */
body > .lf-dialog[data-lf-dialog]:not([hidden]) {
	position: fixed !important;
	z-index: 2147483000 !important;
	inset: 0 !important;
	display: grid !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 22px !important;
	overflow: visible !important;
	place-items: center !important;
	transform: none !important;
}

body > .lf-dialog[data-lf-dialog][hidden] {
	display: none !important;
}

.lf-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: var(--lf-overlay, rgb(20 22 31 / 74%));
	backdrop-filter: blur(3px);
	animation: lf-fade-in 160ms ease-out;
}

.lf-dialog__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 470px);
	max-height: calc(100vh - 44px);
	overflow: auto;
	border-radius: var(--lf-radius, 14px);
	box-shadow:
		0 32px 84px rgb(2 6 23 / 38%),
		0 0 0 1px rgb(255 255 255 / 10%);
	animation: lf-dialog-in 190ms cubic-bezier(0.22, 0.75, 0.2, 1);
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: #c5cad4 transparent;
}

.lf-dialog__panel > .lf-form-shell--registration {
	padding-top: 54px;
}

.lf-dialog__close {
	position: absolute;
	z-index: 60;
	top: 14px;
	right: 14px;
	display: grid;
	width: 38px;
	height: 38px;
	padding: 0 0 2px;
	place-items: center;
	color: var(--lf-brand-red-dark);
	background: rgb(255 255 255 / 94%);
	border: 1px solid rgb(181 18 36 / 22%);
	border-radius: 50%;
	box-shadow: 0 5px 14px rgb(59 17 23 / 12%);
	cursor: pointer;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	transition:
		background-color 150ms ease,
		color 150ms ease,
		transform 150ms ease;
}

.lf-dialog__close:hover {
	color: #fff;
	background: var(--lf-brand-red-dark);
	transform: rotate(4deg);
}

.lf-dialog--zalo .lf-dialog__panel {
	width: min(100%, 450px);
	padding: 50px 34px 28px;
	overflow: auto;
	color: var(--lf-zalo-text, var(--lf-ink));
	background:
		linear-gradient(90deg, var(--lf-brand-red) 0 72%, var(--lf-brand-orange) 72% 100%) top / 100% 5px no-repeat,
		var(--lf-zalo-bg, #fff);
	border: 1px solid rgb(227 6 19 / 10%);
}

.lf-dialog--zalo .lf-dialog__close {
	color: var(--lf-brand-red-dark);
	background: #fff7f7;
	border-color: #f1c4ca;
}

.lf-dialog--zalo .lf-dialog__close:hover {
	color: #fff;
	background: var(--lf-brand-red-dark);
}

.lf-zalo-brand {
	width: 105px;
	height: 43px;
	margin: 0 auto 12px;
	color: var(--lf-zalo-primary, #0068ff);
}

.lf-zalo-brand svg {
	display: block;
	width: 100%;
	height: 100%;
}

.lf-zalo-intro {
	max-width: 360px;
	margin-bottom: 22px;
	color: var(--lf-zalo-text, var(--lf-ink));
	font-size: 15px;
	font-weight: 650;
}

.lf-form-shell--zalo .lf-thank {
	color: var(--lf-zalo-text, var(--lf-ink));
}

.lf-form-shell--zalo .lf-field {
	margin-bottom: 13px;
}

.lf-form-shell--zalo .lf-field label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lf-form-shell--zalo .lf-field input {
	min-height: 48px;
	padding-inline: 14px;
	background: #fbfcfe;
	border: 1px solid #d6dbe5;
	border-radius: 10px;
}

.lf-form-shell--zalo .lf-field input:hover {
	border-color: #aab4c3;
}

.lf-form-shell--zalo .lf-field input:focus {
	background: #fff;
	border-color: var(--lf-zalo-primary, #0068ff);
	box-shadow: 0 0 0 4px rgb(0 104 255 / 11%);
}

.lf-submit--zalo,
.lf-form-shell--zalo .lf-cta,
.lf-zalo-lock-link {
	min-height: 46px;
	margin-top: 13px;
	background: var(--lf-zalo-button, var(--lf-brand-red));
	border: 0;
	border-radius: 10px;
	box-shadow: 0 9px 20px rgb(164 18 39 / 18%);
	font-size: 14px;
}

.lf-submit--zalo:not(:disabled):hover,
.lf-form-shell--zalo .lf-cta:hover,
.lf-zalo-lock-link:hover {
	box-shadow: 0 12px 24px rgb(164 18 39 / 24%);
}

.lf-form--zalo .lf-lock-notice,
.lf-form--zalo [data-lf-lock-notice] {
	color: var(--lf-zalo-text, #761525);
	border-left-color: var(--lf-zalo-button, var(--lf-brand-red));
}

/* Never display the disabled Zalo submit and direct Zalo link together. */
.lf-form--zalo [data-lf-form-panel]:has(.lf-zalo-lock-link:not([hidden])) .lf-submit--zalo {
	display: none;
}

.lf-zalo-qr {
	display: grid;
	width: min(172px, 60vw);
	min-height: 172px;
	margin: 22px auto 9px;
	padding: 8px;
	place-items: center;
	background: #fff;
	border: 1px solid #e2e6ed;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgb(16 24 40 / 7%);
}

.lf-zalo-qr img,
.lf-zalo-qr canvas,
.lf-zalo-qr svg {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.lf-zalo-qr-caption {
	max-width: 320px;
	margin: 9px auto 0;
	color: var(--lf-muted);
	font-size: 12px;
	line-height: 1.55;
	text-align: center;
}

.lf-qr-fallback-link {
	color: var(--lf-zalo-primary, #0068ff);
	font-weight: 750;
}

body.lf-dialog-open {
	overflow: hidden;
}

.lf-register-trigger-wrap {
	display: flex;
	min-height: 66px;
	margin: 18px 0;
	align-items: center;
	justify-content: center;
}

.lf-register-trigger {
	position: relative;
	z-index: 20;
	display: inline-flex;
	min-width: 290px;
	max-width: min(100%, 540px);
	padding: 10px 56px 10px 30px;
	flex-direction: column;
	align-items: center;
	color: #fff;
	background: linear-gradient(135deg, var(--lf-brand-red), var(--lf-brand-red-dark));
	border: 0;
	border-top: 3px solid var(--lf-brand-orange);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgb(125 15 31 / 23%);
	cursor: pointer;
	font: inherit;
	line-height: 1.35;
	text-align: center;
	transition:
		box-shadow 180ms ease,
		filter 180ms ease,
		transform 180ms ease;
}

.lf-register-trigger__icon {
	position: absolute;
	top: 50%;
	right: 17px;
	display: block;
	width: 32px;
	height: 38px;
	object-fit: contain;
	transform: translateY(-50%);
}

.lf-register-trigger:hover {
	box-shadow: 0 13px 28px rgb(125 15 31 / 28%);
	filter: brightness(0.96);
	transform: translateY(-1px);
}

.lf-register-trigger__title {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.lf-register-trigger__subtext {
	display: block;
	min-height: 17px;
	color: #fff3b0;
	font-size: 12px;
	white-space: nowrap;
}

.lf-register-trigger.is-fixed {
	position: fixed;
	z-index: 99990;
	right: auto;
	bottom: max(2px, env(safe-area-inset-bottom));
	left: 50%;
	margin: 0;
	transform: translateX(-50%);
}

.lf-register-trigger.is-fixed:hover {
	transform: translateX(-50%) translateY(-1px);
}

.lf-zalo-widget {
	position: fixed;
	z-index: 99980;
	right: 20px;
	bottom: max(50px, calc(env(safe-area-inset-bottom) + 18px));
}

.lf-zalo-float {
	position: relative;
	display: block;
	width: 56px;
	height: 56px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
	transition: none;
}

.lf-zalo-float::after {
	position: absolute;
	right: -2px;
	bottom: -1px;
	width: 13px;
	height: 13px;
	content: "";
	background: #25c26e;
	border: 2px solid #fff;
	border-radius: 50%;
}

.lf-zalo-float:hover {
	box-shadow: none;
	transform: none;
}

.lf-zalo-float svg,
.lf-zalo-float img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

/*
 * Compact consultation tooltip, based on the previous Linhna chat card:
 * white surface, blue top rule, small LIVE row and a detached close control.
 */
.lf-zalo-tooltip {
	position: absolute;
	right: 70px;
	bottom: 1px;
	width: 302px;
	min-height: 84px;
	padding: 12px 18px 13px;
	color: #171b24;
	background: #fff;
	border: 1px solid #edf0f4;
	border-top: 3px solid var(--lf-zalo-primary, #1684df);
	border-radius: 10px;
	box-shadow:
		0 14px 34px rgb(15 23 42 / 17%),
		0 2px 7px rgb(15 23 42 / 7%);
}

.lf-zalo-tooltip::after {
	position: absolute;
	right: -7px;
	bottom: 20px;
	width: 12px;
	height: 12px;
	content: "";
	background: #fff;
	border-top: 1px solid #edf0f4;
	border-right: 1px solid #edf0f4;
	transform: rotate(45deg);
}

.lf-zalo-tooltip__close {
	position: absolute;
	z-index: 2;
	top: -13px;
	right: -11px;
	display: grid;
	width: 23px;
	height: 23px;
	padding: 0 0 1px;
	place-items: center;
	color: #fff;
	background: #5b5f66;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 3px 9px rgb(15 23 42 / 18%);
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	transition:
		background-color 150ms ease,
		transform 150ms ease;
}

.lf-zalo-tooltip__close:hover {
	background: #353941;
	transform: scale(1.06);
}

.lf-zalo-tooltip__title {
	margin: 0 0 7px;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.4;
}

.lf-zalo-tooltip__phones {
	display: flex;
	min-width: 0;
	margin: 0;
	padding-top: 6px;
	align-items: center;
	gap: 6px;
	color: #8a909b;
	border-top: 1px solid #f0f2f5;
	font-size: 12px;
	font-style: italic;
	line-height: 1.35;
	white-space: nowrap;
}

.lf-zalo-tooltip__phones > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lf-zalo-tooltip__live {
	display: block;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
}

.lf-zalo-tooltip [data-lf-recent-phone] {
	color: #ec6171;
	font-weight: 650;
}

.lf-zalo-tooltip [data-lf-random-phone] {
	color: #ec6171;
	font-weight: 650;
}

.phone {
	color: #004cff !important;
	font-weight: 600;
	white-space: nowrap;
}

.phone::before {
	display: inline-block;
	margin-top: 4px;
	margin-right: 5px;
	content: url("../images/phone.svg");
	vertical-align: middle;
}

.postById:after {
	content: url("../images/external.svg");
	margin-left: 5px;
	vertical-align: middle;
	margin-top: 2px;
	display: inline-block;
}

div.qr-generator-box > img {
	display: inline-block !important;
	width: auto !important;
	max-width: 200px !important;
	height: auto !important;
	margin-top: 15px !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@keyframes lf-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes lf-dialog-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.982);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 600px) {
	.lf-dialog {
		padding: 10px;
	}

	.lf-dialog__panel {
		max-height: calc(100dvh - 20px);
		border-radius: 14px;
	}

	.lf-form-shell--registration {
		padding: 30px 20px 24px;
		border-radius: 14px;
	}

	.lf-dialog__panel > .lf-form-shell--registration {
		padding-top: 52px;
	}

	.lf-dialog--zalo .lf-dialog__panel {
		padding: 48px 20px 22px;
	}

	.lf-dialog__close {
		top: 12px;
		right: 12px;
		width: 36px;
		height: 36px;
	}

	.lf-form__intro,
	.lf-zalo-intro {
		margin-bottom: 20px;
		font-size: 14px;
	}

	.lf-field {
		margin-bottom: 15px;
	}

	.lf-field input,
	.lf-field select {
		min-height: 47px;
		font-size: 16px;
	}

	.lf-field__error {
		right: 4px;
		max-width: calc(100% - 8px);
	}

	.lf-register-trigger {
		min-width: min(92vw, 370px);
	}

	.lf-zalo-widget {
		right: 14px;
		bottom: max(82px, calc(env(safe-area-inset-bottom) + 50px));
	}

	.lf-zalo-tooltip {
		position: fixed;
		right: 14px;
		bottom: 116px;
		width: min(302px, calc(100vw - 28px));
	}

	.lf-zalo-tooltip::after {
		display: none;
	}
}

@media (max-width: 380px) {
	.lf-form-shell--registration {
		padding-inline: 16px;
	}

	.lf-dialog--zalo .lf-dialog__panel {
		padding-inline: 16px;
	}

	.lf-register-trigger__subtext {
		white-space: normal;
	}

	.lf-zalo-qr {
		width: min(162px, 58vw);
		min-height: 162px;
	}
}

@media (prefers-contrast: more) {
	.lf-field input,
	.lf-field select,
	.lf-form-shell--registration,
	.lf-dialog--zalo .lf-dialog__panel {
		border-color: currentColor;
	}

	.lf-submit:disabled {
		opacity: 0.55;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lf-dialog__backdrop,
	.lf-dialog__panel,
	.lf-dialog__close,
	.lf-register-trigger,
	.lf-submit,
	.lf-cta,
	.lf-zalo-float,
	.lf-zalo-tooltip__close {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/*
 * Isolated Linhna component layer.
 *
 * These declarations intentionally sit after all responsive rules and use
 * component-specific selectors. They protect the form controls from theme
 * styles (including aggressive button/input focus rules) while leaving the
 * surrounding website untouched.
 */
.lf-form-shell,
.lf-form-shell input,
.lf-form-shell select,
.lf-form-shell button,
.lf-form-shell a,
.lf-dialog,
.lf-dialog button,
.lf-register-trigger-wrap,
.lf-register-trigger-wrap button,
.lf-zalo-widget,
.lf-zalo-widget button,
.linhna-forms-hotline,
.linhna-forms-hotline a {
	font-family: "Linhna Lexend", "Lexend", sans-serif !important;
	font-style: normal !important;
	font-kerning: normal !important;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

.lf-form-shell *,
.lf-form-shell *::before,
.lf-form-shell *::after,
.lf-dialog *,
.lf-dialog *::before,
.lf-dialog *::after,
.lf-register-trigger-wrap *,
.lf-register-trigger-wrap *::before,
.lf-register-trigger-wrap *::after,
.lf-zalo-widget *,
.lf-zalo-widget *::before,
.lf-zalo-widget *::after {
	box-sizing: border-box;
}

.lf-form-shell--registration {
	padding: clamp(26px, 5vw, 36px);
	color: var(--lf-registration-text, #1f2937) !important;
	background-color: var(--lf-registration-bg, #fff) !important;
	border: 1px solid rgb(208 24 43 / 12%) !important;
	border-radius: var(--lf-radius, 14px) !important;
	box-shadow:
		0 22px 56px rgb(52 12 19 / 15%),
		0 3px 10px rgb(52 12 19 / 6%) !important;
}

.lf-dialog__panel {
	border-radius: var(--lf-radius, 14px) !important;
}

.lf-form__intro,
.lf-zalo-intro {
	margin: 0 auto 22px !important;
	color: var(--lf-ink, #20283a) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	line-height: 1.6 !important;
}

.lf-form-shell--registration .lf-form__intro,
.lf-form-shell--registration .lf-field label {
	color: var(--lf-registration-text, #1f2937) !important;
}

.lf-form-shell .lf-field {
	margin: 0 0 16px !important;
}

.lf-form-shell .lf-field > label {
	display: block;
	margin: 0 0 7px !important;
	color: var(--lf-ink, #20283a);
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.45 !important;
}

.lf-form-shell .lf-field > input:not([type="hidden"]),
.lf-form-shell .lf-field > select {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: block !important;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 11px 14px !important;
	color: #2c3445 !important;
	-webkit-text-fill-color: #2c3445 !important;
	background-color: #fff !important;
	background-image: none !important;
	border: 1px solid #d8dde6 !important;
	border-style: solid !important;
	border-radius: calc(var(--lf-radius, 14px) * 0.625) !important;
	box-shadow: 0 1px 2px rgb(16 24 40 / 4%) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	line-height: 1.35 !important;
	outline: 0 !important;
	text-indent: 0 !important;
	text-transform: none !important;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease !important;
}

.lf-form-shell .lf-field > select {
	padding-right: 40px !important;
	background-image:
		linear-gradient(45deg, transparent 50%, #475467 50%),
		linear-gradient(135deg, #475467 50%, transparent 50%) !important;
	background-position:
		calc(100% - 18px) 50%,
		calc(100% - 13px) 50% !important;
	background-repeat: no-repeat !important;
	background-size: 5px 5px, 5px 5px !important;
	cursor: pointer !important;
}

.lf-form-shell .lf-field > input::placeholder {
	color: #8a92a3 !important;
	-webkit-text-fill-color: #8a92a3 !important;
	font-weight: 400 !important;
	opacity: 1 !important;
}

.lf-form-shell .lf-field > input:not([type="hidden"]):hover,
.lf-form-shell .lf-field > select:hover {
	border-color: #aeb7c5 !important;
}

.lf-form-shell .lf-field > input:not([type="hidden"]):focus,
.lf-form-shell .lf-field > input:not([type="hidden"]):focus-visible,
.lf-form-shell .lf-field > select:focus,
.lf-form-shell .lf-field > select:focus-visible {
	background-color: #fff !important;
	border: 1px solid var(--lf-registration-button, #d71920) !important;
	border-style: solid !important;
	box-shadow: 0 0 0 3px rgb(215 25 32 / 12%) !important;
	outline: 0 !important;
	outline-offset: 0 !important;
}

.lf-form-shell .lf-field > input[aria-invalid="true"],
.lf-form-shell .lf-field > select[aria-invalid="true"] {
	border: 1px solid #d92d20 !important;
	border-style: solid !important;
	box-shadow: 0 0 0 3px rgb(217 45 32 / 10%) !important;
	outline: 0 !important;
}

.lf-form-shell .lf-field__error {
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	line-height: 1.45 !important;
}

.lf-form-shell .lf-form__status {
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
}

.lf-form-shell .lf-form__status.is-error {
	font-weight: 600 !important;
}

.lf-form-shell .lf-submit,
.lf-form-shell .lf-cta,
.lf-form-shell .lf-zalo-lock-link {
	-webkit-appearance: none !important;
	appearance: none !important;
	min-height: 50px !important;
	padding: 11px 20px !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	background-color: var(--lf-registration-button, #d71920) !important;
	background-image: none !important;
	border-right: 0 !important;
	border-bottom: 0 !important;
	border-left: 0 !important;
	border-radius: calc(var(--lf-radius, 14px) * 0.625) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.018em !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
}

.lf-form-shell .lf-submit:disabled {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	background-color: var(--lf-registration-button, #d71920) !important;
	box-shadow: none !important;
	filter: saturate(0.72) !important;
	opacity: 0.42 !important;
}

.lf-form-shell .lf-thank,
.lf-form-shell .lf-thank p,
.lf-form-shell .lf-lock-notice,
.lf-form-shell [data-lf-lock-notice] {
	font-family: "Linhna Lexend", "Lexend", sans-serif !important;
	letter-spacing: 0 !important;
}

.lf-form-shell .lf-thank p {
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.65 !important;
}

.lf-form-shell .lf-thank__heading {
	font-size: 20px !important;
	font-weight: 700 !important;
}

.lf-form-shell .lf-thank__locked-text,
.lf-form-shell .lf-lock-notice,
.lf-form-shell [data-lf-lock-notice] {
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.55 !important;
}

.lf-dialog--zalo .lf-dialog__panel {
	color: var(--lf-zalo-text, #1f2937) !important;
	background-color: var(--lf-zalo-bg, #fff) !important;
	border-radius: var(--lf-radius, 14px) !important;
}

.lf-form-shell--zalo .lf-field > input:not([type="hidden"]):focus,
.lf-form-shell--zalo .lf-field > input:not([type="hidden"]):focus-visible {
	border-color: var(--lf-zalo-primary, #0068ff) !important;
	box-shadow: 0 0 0 3px rgb(0 104 255 / 12%) !important;
}

.lf-form-shell--zalo .lf-submit,
.lf-form-shell--zalo .lf-cta,
.lf-form-shell--zalo .lf-zalo-lock-link {
	background-color: var(--lf-zalo-button, #d71920) !important;
	text-transform: none !important;
}

.lf-register-trigger-wrap > .lf-register-trigger {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	width: max-content;
	min-width: max-content !important;
	min-height: 0 !important;
	max-width: min(100%, calc(100vw - 24px)) !important;
	padding: 9px 50px 6px 30px !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	background-color: var(--lf-registration-button, #d71920) !important;
	background-image: none !important;
	border: 0 !important;
	border-top: 3px solid var(--lf-brand-orange, #ffa500) !important;
	border-radius: 10px !important;
	box-shadow:
		0 4px 6px rgb(50 50 93 / 24%),
		0 1px 3px rgb(0 0 0 / 8%) !important;
	filter: none !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	opacity: 1 !important;
	overflow: hidden !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	transition:
		background-color 180ms ease,
		box-shadow 180ms ease,
		color 180ms ease !important;
	visibility: visible !important;
}

.lf-register-trigger-wrap > .lf-register-trigger::before {
	display: none !important;
	content: none !important;
}

.lf-register-trigger-wrap > .lf-register-trigger:hover {
	color: #4b2900 !important;
	-webkit-text-fill-color: #4b2900 !important;
	background-color: var(--lf-brand-orange, #ffa500) !important;
	background-image: none !important;
	box-shadow:
		0 6px 10px rgb(154 94 0 / 20%),
		0 2px 4px rgb(0 0 0 / 8%) !important;
}

.lf-register-trigger-wrap > .lf-register-trigger:hover .lf-register-trigger__subtext-stack,
.lf-register-trigger-wrap > .lf-register-trigger:hover .lf-register-trigger__subtext {
	color: #613900 !important;
}

.lf-register-trigger__title {
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	line-height: 1.4 !important;
	text-transform: uppercase !important;
}

.lf-register-trigger__subtext-stack {
	display: grid;
	max-width: 100%;
	min-height: 17px;
	color: #ffffb5 !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
}

.lf-register-trigger__subtext,
.lf-register-trigger__subtext-sizer {
	grid-area: 1 / 1;
}

.lf-register-trigger__subtext {
	color: #ffffb5 !important;
	will-change: contents;
}

.lf-register-trigger__subtext,
.lf-register-trigger__subtext-sizer > span {
	display: block;
	white-space: nowrap;
}

.lf-register-trigger__subtext-sizer {
	display: grid;
	visibility: hidden;
	pointer-events: none;
}

.lf-register-trigger__subtext-sizer > span {
	grid-area: 1 / 1;
}

.lf-register-trigger-wrap .lf-register-trigger__icon {
	position: absolute !important;
	z-index: 2;
	top: 3px !important;
	right: 4px !important;
	display: block !important;
	width: 42px !important;
	height: 42px !important;
	padding: 0 !important;
	object-fit: contain !important;
	transform: scale(1);
	transform-origin: center !important;
	animation: lf-click-soft-zoom 2.4s ease-in-out infinite !important;
}

@keyframes lf-click-soft-zoom {
	0%,
	72%,
	100% {
		transform: scale(1);
	}

	82% {
		transform: scale(1.055);
	}

	90% {
		transform: scale(0.985);
	}
}

.lf-zalo-widget > .lf-zalo-float,
.lf-zalo-widget > .lf-zalo-float:hover,
.lf-zalo-widget > .lf-zalo-float:active {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 56px !important;
	height: 56px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	filter: none !important;
	opacity: 1 !important;
	transform: none !important;
}

.lf-zalo-widget > .lf-zalo-float:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 3px !important;
	box-shadow: none !important;
}

.lf-zalo-widget > .lf-zalo-tooltip {
	position: fixed !important;
	right: 85px !important;
	bottom: 71px !important;
	width: 300px !important;
	height: 85px !important;
	min-height: 85px !important;
	padding: 10px 20px !important;
	color: #000 !important;
	background: #fff !important;
	border: 0 !important;
	border-top: 3px solid var(--lf-brand-orange, #ffa500) !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 8px rgb(0 0 0 / 10%) !important;
}

.lf-zalo-widget > .lf-zalo-tooltip::before {
	display: none !important;
	content: none !important;
}

.lf-zalo-widget > .lf-zalo-tooltip::after {
	display: none !important;
	content: none !important;
}

.lf-zalo-widget .lf-zalo-tooltip__close {
	position: fixed !important;
	top: auto !important;
	right: 75px !important;
	bottom: 144px !important;
	width: 22px !important;
	height: 22px !important;
	padding: 0 0 1px !important;
	color: #fff !important;
	background: #5e5e5e !important;
	border: 0 !important;
	box-shadow: none !important;
	font-size: 12px !important;
	font-weight: 400 !important;
}

.lf-zalo-widget .lf-zalo-tooltip__close:hover {
	color: #fff !important;
	background: #444 !important;
	transform: none !important;
}

.lf-zalo-tooltip__title {
	margin: 0 0 7px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.lf-zalo-tooltip__phones {
	margin: 0 !important;
	padding: 5px 0 0 !important;
	color: #898989 !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px dashed #e7e7e7 !important;
	border-radius: 0 !important;
	font-style: italic !important;
	gap: 5px !important;
}

.lf-zalo-tooltip__phones,
.lf-zalo-tooltip [data-lf-recent-phone],
.lf-zalo-tooltip [data-lf-random-phone] {
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
}

.lf-zalo-widget .lf-zalo-tooltip__live {
	width: 30px !important;
	height: 30px !important;
	flex-basis: 30px !important;
	margin: 0 !important;
}

@media (max-width: 600px) {
	.lf-dialog__panel,
	.lf-form-shell--registration,
	.lf-dialog--zalo .lf-dialog__panel {
		border-radius: var(--lf-radius, 14px) !important;
	}

	.lf-form-shell--registration {
		padding: 30px 20px 24px;
	}

	.lf-register-trigger-wrap > .lf-register-trigger {
		width: max-content;
		min-width: max-content !important;
	}

	.lf-zalo-widget > .lf-zalo-tooltip {
		right: 14px !important;
		bottom: 148px !important;
		width: min(300px, calc(100vw - 28px)) !important;
	}

	.lf-zalo-widget .lf-zalo-tooltip__close {
		position: absolute !important;
		top: -11px !important;
		right: -8px !important;
		bottom: auto !important;
	}
}

@media (max-width: 380px) {
	.lf-register-trigger-wrap > .lf-register-trigger {
		width: calc(100vw - 24px);
		min-width: 0 !important;
	}

	.lf-register-trigger__subtext-stack {
		width: 100%;
	}

	.lf-register-trigger__subtext,
	.lf-register-trigger__subtext-sizer > span {
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lf-register-trigger-wrap .lf-register-trigger__icon {
		animation: none !important;
	}
}
