/* Expert Matrimony — auth & progressive OTP UI */
:root {
	--em-brand: #8b1e1e;
	--em-brand-hover: #6f1717;
	--em-text: #1a1a1a;
	--em-muted: #6b7280;
	--em-border: #d9d9d9;
	--em-placeholder: #9ca3af;
}

.em-auth {
	max-width: 420px;
	margin: 0 auto;
	font-family: "Segoe UI", Tahoma, sans-serif;
	color: var(--em-text);
}

/* ---- Premium Login [em_login] — ExpertMatrimony ---- */
.em-login,
.em-auth--login {
	--em-login-primary: #b22222;
	--em-login-primary-hover: #8b1c1c;
	--em-login-accent: #d4af37;
	--em-login-heading: #243b64;
	max-width: 520px;
	width: 100%;
	margin: 0 auto;
	font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
	color: #333;
	background: transparent;
}

.em-login__card {
	background: #fff;
	border-radius: 18px;
	padding: 40px;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	text-align: center;
}

.em-login__logo {
	display: flex;
	justify-content: center;
	margin: 0 0 20px;
}

.em-login__logo img {
	max-width: 120px;
	width: auto;
	height: auto;
	display: block;
}

.em-login__title {
	margin: 0 0 12px;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 42px;
	line-height: 1.15;
	color: var(--em-login-heading);
	letter-spacing: -0.02em;
	text-align: center;
}

.em-login__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 auto 14px;
	max-width: 260px;
}

.em-login__divider::before,
.em-login__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--em-login-accent), transparent);
}

.em-login__divider-heart {
	display: inline-flex;
	color: var(--em-login-primary);
	line-height: 0;
}

.em-login__divider--image {
	max-width: 280px;
	gap: 0;
}

.em-login__divider--image::before,
.em-login__divider--image::after {
	display: none;
}

.em-login__divider-img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 36px;
	margin: 0 auto;
}

.em-login__subtitle {
	margin: 0 0 35px;
	font-size: 18px;
	line-height: 1.45;
	color: #777;
	font-weight: 400;
	text-align: center;
}

.em-login__form {
	display: flex;
	flex-direction: column;
	gap: 0;
	text-align: left;
}

.em-login__field {
	margin-bottom: 1.15rem;
}

.em-login__label {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	line-height: 1.3;
}

.em-login__input {
	width: 100%;
	box-sizing: border-box;
	height: 52px;
	padding: 0 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	color: var(--em-login-heading);
	background: #fff;
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.em-login__input::placeholder {
	color: #9ca3af;
	opacity: 1;
}

.em-login__input:focus {
	border-color: #c62828;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.em-login__pass-wrap {
	position: relative;
}

.em-login__pass-wrap .em-login__input {
	padding-right: 48px;
}

/* Hide browser native password reveal (Edge/IE) — we use one custom eye */
.em-login__pass-wrap .em-login__input::-ms-reveal,
.em-login__pass-wrap .em-login__input::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}

.em-login__pass-toggle {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #6b7280;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 8px;
	line-height: 0;
}

.em-login__pass-toggle .em-login__eye {
	display: block;
	width: 20px;
	height: 20px;
	pointer-events: none;
}

.em-login__pass-toggle:hover {
	color: var(--em-login-primary);
	background: #f8eaea;
}

.em-login__pass-toggle.is-visible {
	color: var(--em-login-primary);
}

/* Hide Fluent Form #8 submit / wrapper when our login UI is used */
.em-login ~ .ff-btn-submit,
.fluentform .em-login ~ .ff-btn-submit,
.fluentform_wrapper_8 .ff-btn-submit,
#fluentform_8 .ff-btn-submit,
.fluentform_wrapper_8:has(.em-login) .ff-btn-submit,
body.em-login-modal-open .pum-overlay,
body.em-login-modal-open .fluentform_wrapper_8 {
	display: none !important;
}

.em-login__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0.15rem 0 1.25rem;
}

.em-login__remember {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 400;
	color: #555;
	cursor: pointer;
	user-select: none;
	position: relative;
	z-index: 2;
	pointer-events: auto;
}

.em-login__remember input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--em-login-primary);
	cursor: pointer;
	pointer-events: auto;
	flex-shrink: 0;
}

.em-login__forgot {
	font-size: 0.9rem;
	font-weight: 600;
	color: #c62828;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	z-index: 2;
	pointer-events: auto;
}

.em-login__forgot:hover {
	text-decoration: underline;
	color: var(--em-login-primary-hover);
}

.em-login__message {
	min-height: 0;
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.em-login__message:empty {
	display: none;
}

.em-login__message.is-error {
	color: #dc2626;
}

.em-login__message.is-success {
	color: #059669;
}

.em-login__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 55px;
	border: none;
	border-radius: 8px;
	background: var(--em-login-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.05s ease;
}

.em-login__submit:hover {
	background: var(--em-login-primary-hover);
}

.em-login__submit:active {
	transform: translateY(1px);
}

.em-login__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.em-login__footer {
	margin: 1.25rem 0 0;
	text-align: center;
	font-size: 15px;
	color: #777;
}

.em-login__register {
	color: #c62828;
	font-weight: 700;
	text-decoration: none;
	margin-left: 0.25rem;
}

.em-login__register:hover {
	text-decoration: underline;
	color: var(--em-login-primary-hover);
}

.em-login .em-notice {
	text-align: left;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

/* Native login modal (for .expert-login-btn) */
.em-login-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.em-login-modal.is-open {
	display: flex;
}

.em-login-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	cursor: pointer;
}

.em-login-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 580px;
	max-height: 95vh;
	overflow: auto;
	animation: em-login-pop 0.28s ease;
}

.em-login-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f3f4f6;
	color: #243b64;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
}

.em-login-modal__close:hover {
	background: #fee2e2;
	color: #b22222;
}

.em-login-modal .em-login__card {
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
}

@keyframes em-login-pop {
	from {
		opacity: 0;
		transform: scale(0.94);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

body.em-login-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.em-login__card {
		padding: 25px;
		border-radius: 16px;
	}

	.em-login__title {
		font-size: 34px;
	}

	.em-login__subtitle {
		font-size: 15px;
		margin-bottom: 24px;
	}

	.em-login__input {
		height: 48px;
		font-size: 15px;
	}

	.em-login__submit {
		height: 50px;
	}

	.em-login__meta {
		flex-wrap: wrap;
	}
}

/* ---- Forgot Password [em_forgot_password] ---- */
.em-forgot {
	--em-forgot-primary: #c2185b;
	--em-forgot-primary-hover: #ad1457;
	--em-forgot-soft: #fff0f5;
	--em-forgot-soft-2: #fce4ec;
	--em-forgot-text: #1f2937;
	--em-forgot-muted: #6b7280;
	max-width: 980px;
	width: 100%;
	margin: 2rem auto;
	padding: 0 16px;
	box-sizing: border-box;
	font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
	color: var(--em-forgot-text);
}

.em-forgot__shell {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 20px 60px rgba(194, 24, 91, 0.12);
	min-height: 560px;
}

.em-forgot__aside {
	background: linear-gradient(165deg, #fff5f8 0%, #ffe4ec 100%);
	padding: 40px 36px;
	display: flex;
	flex-direction: column;
}

.em-forgot__aside-title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 700;
	color: var(--em-forgot-primary);
	line-height: 1.25;
}

.em-forgot__aside-text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--em-forgot-muted);
}

.em-forgot__art {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	margin: 8px 0 24px;
}

.em-forgot__art-svg {
	width: 100%;
	max-width: 260px;
	height: auto;
}

.em-forgot__trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.em-forgot__trust li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: #4b5563;
}

.em-forgot__trust strong {
	color: var(--em-forgot-text);
	font-weight: 600;
}

.em-forgot__trust-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: var(--em-forgot-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(194, 24, 91, 0.12);
}

.em-forgot__panel {
	padding: 44px 40px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	text-align: center;
	background: #fff;
}

.em-forgot__badge {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--em-forgot-soft-2);
	color: var(--em-forgot-primary);
	display: grid;
	place-items: center;
}

.em-forgot__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	color: #111827;
	line-height: 1.2;
}

.em-forgot__subtitle {
	margin: 0 0 28px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--em-forgot-muted);
}

.em-forgot__form {
	text-align: left;
	width: 100%;
}

.em-forgot__field {
	margin-bottom: 1.1rem;
}

.em-forgot__label {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}

.em-forgot__input-wrap {
	position: relative;
}

.em-forgot__input {
	width: 100%;
	box-sizing: border-box;
	height: 52px;
	padding: 0 44px 0 16px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	color: var(--em-forgot-text);
	background: #fff;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.em-forgot__input::placeholder {
	color: #9ca3af;
}

.em-forgot__input:focus {
	border-color: var(--em-forgot-primary);
	box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.12);
}

.em-forgot__input-icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	pointer-events: none;
	line-height: 0;
}

.em-forgot__message {
	min-height: 0;
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	text-align: left;
}

.em-forgot__message:empty {
	display: none;
}

.em-forgot__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 52px;
	border: 0;
	border-radius: 10px;
	background: var(--em-forgot-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s ease;
}

.em-forgot__submit:hover {
	background: var(--em-forgot-primary-hover);
}

.em-forgot__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.em-forgot__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 18px;
	color: #9ca3af;
	font-size: 12px;
	font-weight: 600;
}

.em-forgot__or::before,
.em-forgot__or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e7eb;
}

.em-forgot__or span {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	display: grid;
	place-items: center;
	background: #fff;
}

.em-forgot__remember-q {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: #111;
}

.em-forgot__back {
	margin: 0;
}

.em-forgot__back-link {
	color: var(--em-forgot-primary);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}

.em-forgot__back-link:hover {
	text-decoration: underline;
	color: var(--em-forgot-primary-hover);
}

@media (max-width: 820px) {
	.em-forgot__shell {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	/* Form first, info below on mobile */
	.em-forgot__panel {
		order: 1;
		padding: 28px 24px 36px;
	}

	.em-forgot__aside {
		order: 2;
		padding: 28px 24px 20px;
	}

	.em-forgot__art {
		min-height: 140px;
		margin: 4px 0 16px;
	}

	.em-forgot__aside-title {
		font-size: 24px;
	}

	.em-forgot__title {
		font-size: 24px;
	}
}

/* ---- Reset Password [em_reset_password] ---- */
.em-reset {
	--em-reset-primary: #c2185b;
	--em-reset-primary-hover: #ad1457;
	--em-reset-heading: #1e293b;
	--em-reset-muted: #64748b;
	position: relative;
	max-width: 520px;
	width: 100%;
	margin: 2rem auto 3rem;
	padding: 0 16px;
	box-sizing: border-box;
	font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
	color: var(--em-reset-heading);
}

.em-reset__bg {
	position: absolute;
	inset: -40px -20px auto;
	height: 280px;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}

.em-reset__heart {
	position: absolute;
	width: 48px;
	height: 48px;
	background: radial-gradient(circle at 30% 30%, #fce4ec, #f48fb1);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	opacity: 0.35;
}

.em-reset__heart--1 { top: 10px; left: 8%; }
.em-reset__heart--2 { top: 40px; right: 10%; width: 36px; height: 36px; opacity: 0.25; }
.em-reset__heart--3 { top: 120px; left: 18%; width: 28px; height: 28px; opacity: 0.2; }

.em-reset__card {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 20px;
	padding: 40px 36px 32px;
	box-shadow: 0 20px 60px rgba(194, 24, 91, 0.1);
	text-align: center;
}

.em-reset__badge {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #fce4ec;
	color: var(--em-reset-primary);
	display: grid;
	place-items: center;
}

.em-reset__title {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--em-reset-heading);
}

.em-reset__subtitle {
	margin: 0 0 28px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--em-reset-muted);
}

.em-reset__form {
	text-align: left;
}

.em-reset__field {
	margin-bottom: 1.25rem;
}

.em-reset__label {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}

.em-reset__input-wrap {
	position: relative;
}

.em-reset__input {
	width: 100%;
	box-sizing: border-box;
	height: 52px;
	padding: 0 48px 0 44px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 15px;
	font-family: inherit;
	color: var(--em-reset-heading);
	background: #fff;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.em-reset__input::placeholder {
	color: #94a3b8;
}

.em-reset__input:focus {
	border-color: var(--em-reset-primary);
	box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.12);
}

.em-reset__input-wrap .em-reset__input::-ms-reveal,
.em-reset__input-wrap .em-reset__input::-ms-clear {
	display: none;
}

.em-reset__input-icon {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	line-height: 0;
	pointer-events: none;
}

.em-reset__input-icon--left {
	left: 14px;
}

.em-reset__pass-toggle {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #64748b;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	padding: 0;
}

.em-reset__pass-toggle:hover {
	color: var(--em-reset-primary);
	background: #fce4ec;
}

.em-reset__rules {
	list-style: none;
	margin: 0.65rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 12px;
}

.em-reset__rules li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.3;
}

.em-reset__rule-icon {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid #cbd5e1;
	background: #fff;
	position: relative;
}

.em-reset__rules li.is-valid {
	color: #059669;
}

.em-reset__rules li.is-valid .em-reset__rule-icon {
	border-color: #059669;
	background: #ecfdf5;
}

.em-reset__rules li.is-valid .em-reset__rule-icon::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 4px;
	width: 6px;
	height: 3px;
	border-left: 2px solid #059669;
	border-bottom: 2px solid #059669;
	transform: rotate(-45deg);
}

.em-reset__message {
	min-height: 0;
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	text-align: left;
}

.em-reset__message:empty {
	display: none;
}

.em-reset__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	border: 0;
	border-radius: 12px;
	background: var(--em-reset-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	margin-bottom: 12px;
	transition: background 0.2s ease;
}

.em-reset__submit:hover {
	background: var(--em-reset-primary-hover);
}

.em-reset__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.em-reset__back-btn,
.em-reset__back-wrap .em-reset__back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	border: 2px solid var(--em-reset-primary);
	border-radius: 12px;
	background: #fff;
	color: var(--em-reset-primary);
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease;
}

.em-reset__back-btn:hover {
	background: #fce4ec;
	color: var(--em-reset-primary-hover);
}

.em-reset__back-wrap {
	margin-top: 8px;
}

.em-reset__secure {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 20px;
	padding: 16px 18px;
	border-radius: 14px;
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
}

.em-reset__secure-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #059669;
	color: #fff;
	display: grid;
	place-items: center;
}

.em-reset__secure strong {
	display: block;
	font-size: 15px;
	color: #065f46;
	margin-bottom: 2px;
}

.em-reset__secure p {
	margin: 0;
	font-size: 13px;
	color: #047857;
	line-height: 1.4;
}

@media (max-width: 520px) {
	.em-reset__card {
		padding: 28px 20px 24px;
	}

	.em-reset__title {
		font-size: 24px;
	}

	.em-reset__rules {
		grid-template-columns: 1fr;
	}
}

/* Shared legacy auth bits */
.em-auth__form .em-field {
	margin-bottom: 1rem;
}
.em-auth__form label {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
	color: #333;
}
.em-auth__form input[type="text"],
.em-auth__form input[type="password"],
.em-auth__form input[type="tel"],
.em-auth__form input[type="email"] {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	box-sizing: border-box;
}
.em-field--inline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9rem;
}
.em-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 8px;
	padding: 0.55rem 1rem;
	cursor: pointer;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
}
.em-btn--primary {
	background: #8b1e1e;
	color: #fff;
}
.em-btn--secondary {
	background: #f3e8e8;
	color: #8b1e1e;
}
.em-auth__message,
.em-ff-otp__msg {
	min-height: 1.1rem;
	font-size: 0.85rem;
	margin: 0.4rem 0 0;
}
.em-auth__message.is-success,
.em-ff-otp__msg.is-success,
.em-notice--success {
	color: #1b7a3d;
}
.em-ff-otp__test-code {
	margin-top: 0.55rem;
	padding: 0.55rem 0.75rem;
	border-radius: 8px;
	background: #fff7ed;
	border: 1px dashed #f59e0b;
	color: #9a3412;
	font-size: 0.92rem;
	font-weight: 600;
	text-align: center;
}
.em-ff-otp__test-value {
	font-size: 1.15rem;
	letter-spacing: 0.12em;
	font-variant-numeric: tabular-nums;
	color: #7c2d12;
}
.em-auth__message.is-error,
.em-ff-otp__msg.is-error,
.em-notice--error {
	color: #b42318;
}
.em-notice {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin-bottom: 1rem;
	background: #f7f7f7;
}
.em-btn.em-otp-blocked {
	opacity: 0.9;
}
.em-link {
	color: #8b1e1e;
}

/* ---- Progressive OTP panel ---- */
.em-ff-otp {
	margin: 0.35rem 0 0.75rem;
	width: 100%;
	box-sizing: border-box;
}
.em-ff-otp.is-hidden {
	display: none !important;
}
.em-ff-otp.is-ready .em-ff-otp__panel,
.em-ff-otp.is-sent .em-ff-otp__panel {
	display: block;
	padding: 0.75rem 0.85rem;
	border: 1px solid #f0d4d4;
	border-radius: 10px;
	background: #fffaf9;
	animation: emOtpIn 0.22s ease;
}
.em-ff-otp.is-ready .em-ff-otp__code-row {
	display: none;
}
.em-ff-otp.is-sent .em-ff-otp__code-row {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin-top: 0.65rem;
}
.em-ff-otp.is-verified {
	margin-top: 0.25rem;
}
.em-ff-otp.is-verified .em-ff-otp__panel {
	display: none !important;
}
.em-ff-otp__head {
	margin-bottom: 0.55rem;
}
.em-ff-otp__title {
	display: block;
	color: #8b1e1e;
	font-size: 0.9rem;
	margin-bottom: 0.15rem;
}
.em-ff-otp__hint {
	margin: 0;
	color: #6b7280;
	font-size: 0.8rem;
	line-height: 1.35;
}
.em-ff-otp__actions {
	display: flex;
	gap: 0.5rem;
}
.em-ff-otp__actions .em-btn {
	width: auto;
	min-width: 110px;
}
.em-ff-otp__code {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.55rem 0.7rem;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}
.em-ff-otp__verify {
	flex: 0 0 auto;
	width: auto !important;
	min-width: 90px;
}
.em-ff-otp__verified-chip {
	display: none;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
	font-size: 0.85rem;
	font-weight: 600;
}
.em-ff-otp__verified-chip[hidden] {
	display: none !important;
}
.em-ff-otp.is-verified .em-ff-otp__verified-chip {
	display: inline-flex !important;
}
.em-ff-otp.is-verified .em-ff-otp__panel,
.em-ff-otp.is-verified .em-ff-otp__panel[hidden] {
	display: none !important;
}
.em-ff-otp__check {
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #059669;
	color: #fff;
	font-size: 0.7rem;
}

/* Fluent Form 10 — password rules (hidden until field focus) */
.em-ff-password-rules {
	display: none;
	margin-top: 0.5rem;
}

.em-ff-password-rules.is-visible {
	display: grid;
}

.fluentform .em-ff-password-rules {
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 480px) {
	.fluentform .em-ff-password-rules {
		grid-template-columns: 1fr;
	}
}

/* ---- Complete Profile / email verification notice ---- */
.em-complete-profile {
	max-width: 560px;
	margin: 2rem auto;
	padding: 0 1rem;
}
.em-complete-profile__card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
	padding: 2rem 1.75rem 1.75rem;
	text-align: center;
}
.em-complete-profile__icon {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}
.em-complete-profile__title {
	margin: 0 0 0.85rem;
	font-size: 1.35rem;
	line-height: 1.35;
	font-weight: 700;
	color: #111827;
}
.em-complete-profile__lead,
.em-complete-profile__body {
	margin: 0 0 0.75rem;
	font-size: 0.98rem;
	line-height: 1.55;
	color: #4b5563;
}
.em-complete-profile__email {
	margin: 0.25rem 0 1rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--em-brand);
	word-break: break-all;
}
.em-complete-profile__help {
	margin: 1.25rem 0 0.5rem;
	padding: 1rem 1.1rem;
	background: #fafafa;
	border: 1px solid #efefef;
	border-radius: 10px;
	text-align: left;
}
.em-complete-profile__help-title {
	margin: 0 0 0.55rem;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
}
.em-complete-profile__tips {
	margin: 0;
	padding-left: 1.15rem;
	color: #4b5563;
	font-size: 0.92rem;
	line-height: 1.55;
}
.em-complete-profile__tips li {
	margin-bottom: 0.35rem;
}
.em-complete-profile__message {
	min-height: 1.25rem;
	margin: 0.85rem 0 0.35rem;
	font-size: 0.92rem;
}
.em-complete-profile__actions {
	margin: 1.1rem 0 0.5rem;
}
.em-complete-profile__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.7rem 1.25rem;
	border: 0;
	border-radius: 8px;
	background: var(--em-brand);
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease;
}
.em-complete-profile__btn:hover,
.em-complete-profile__btn:focus {
	background: var(--em-brand-hover);
	color: #fff !important;
}
.em-complete-profile__btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
.em-complete-profile__footer {
	margin: 1rem 0 0;
	font-size: 0.9rem;
}
.em-complete-profile__footer a {
	color: var(--em-brand);
	font-weight: 600;
	text-decoration: none;
}
.em-complete-profile__footer a:hover {
	text-decoration: underline;
}

@keyframes emOtpIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
	.em-field--inline {
		flex-direction: column;
		align-items: flex-start;
	}
	.em-ff-otp.is-sent .em-ff-otp__code-row {
		flex-direction: column;
		align-items: stretch;
	}
	.em-ff-otp__verify {
		width: 100% !important;
	}
	.em-complete-profile__card {
		padding: 1.5rem 1.1rem 1.25rem;
	}
	.em-complete-profile__title {
		font-size: 1.15rem;
	}
	.em-complete-profile__btn {
		width: 100%;
	}
}
