/**
 * ExpertMatrimony Registration Wizard — Task 1.1 revised UI.
 */

.em-reg {
	--em-reg-primary: #b22222;
	--em-reg-primary-hover: #a61d1d;
	--em-reg-border: #e5e7eb;
	--em-reg-focus: #b22222;
	--em-reg-heading: #1f2937;
	--em-reg-muted: #4b4f59;
	--em-reg-placeholder: #9ca3af;
	--em-reg-radius-field: 10px;
	--em-reg-radius-btn: 12px;
	--em-reg-back-bg: #fff6e5;
	--em-reg-back-bg-hover: #ffecc8;
	--em-reg-back-bg-active: #ffe3b0;
	width: 100%;
	max-width: 540px;
	margin: 0 auto;
	overflow-x: hidden;
	position: relative;
	font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.em-reg *,
.em-reg *::before,
.em-reg *::after {
	box-sizing: border-box;
}

.em-reg__card {
	overflow: visible;
	background: #fff;
	border: 0;
	box-shadow: none;
}

.em-reg__body {
	position: relative;
	padding: 28px 28px 32px;
}

.em-reg__back-icon {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 3;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--em-reg-back-bg);
	color: #b22222;
	cursor: pointer;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	outline: none;
	transition: all 0.2s ease;
}

.em-reg__back-icon svg {
	width: 18px;
	height: 18px;
	display: block;
	flex-shrink: 0;
}

.em-reg__back-icon:hover {
	background: var(--em-reg-back-bg-hover);
	color: #b22222;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.em-reg__back-icon:active {
	background: var(--em-reg-back-bg-active);
	color: #b22222;
	transform: translateY(0);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.em-reg__back-icon:focus,
.em-reg__back-icon:focus-visible {
	outline: none;
	box-shadow:
		0 4px 12px rgba(0, 0, 0, 0.08),
		0 0 0 3px rgba(178, 34, 34, 0.15);
}

.em-reg__back-icon:hover:focus,
.em-reg__back-icon:hover:focus-visible {
	box-shadow:
		0 6px 16px rgba(0, 0, 0, 0.12),
		0 0 0 3px rgba(178, 34, 34, 0.15);
}

.em-reg__top {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 48px;
	padding-right: 68px;
	margin-bottom: 16px;
}

.em-reg__top .em-reg__label,
.em-reg__top .em-reg__heading {
	margin: 0;
	padding-right: 0;
}

.em-reg__heading {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--em-reg-heading);
	margin: 0 0 8px;
}

.em-reg__subheading {
	font-size: 16px;
	line-height: 1.5;
	color: var(--em-reg-muted);
	margin: 0 0 24px;
	padding-right: 52px;
}

.em-reg__label {
	display: block;
	font-size: 20px;
	font-weight: 600;
	color: var(--em-reg-heading);
	margin-bottom: 10px;
}

.em-reg__step {
	display: none;
}

.em-reg__step.is-active {
	display: block;
}

.em-reg__step.is-leaving {
	display: block;
	animation: emRegLeave 0.22s ease forwards;
}

.em-reg__step.is-entering {
	display: block;
	animation: emRegEnter 0.22s ease;
}

@keyframes emRegLeave {
	from {
		opacity: 1;
		transform: translateX(0);
	}
	to {
		opacity: 0;
		transform: translateX(-14px);
	}
}

@keyframes emRegEnter {
	from {
		opacity: 0;
		transform: translateX(14px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.em-reg__step.is-leaving,
	.em-reg__step.is-entering {
		animation: none;
	}
}

.em-reg__control.form-control,
.em-reg__control.form-select {
	height: 48px;
	border-radius: var(--em-reg-radius-field);
	border: 1px solid var(--em-reg-border);
	font-size: 16px;
	color: var(--em-reg-heading);
	padding: 0.5rem 0.9rem;
	box-shadow: none;
	background-color: #fff;
}

/* Country code select — room for text + native caret (esp. mobile). */
.em-reg select.em-reg__control.form-select {
	padding-right: 2.25rem;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231F2937' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 12px 8px;
}

.em-reg__control.form-control::placeholder {
	color: var(--em-reg-placeholder);
}

.em-reg__control.form-control:focus,
.em-reg__control.form-select:focus {
	border-color: var(--em-reg-focus);
	box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.12);
	outline: none;
}

.em-reg__radios {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.em-reg__radio {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--em-reg-border);
	border-radius: var(--em-reg-radius-field);
	cursor: pointer;
	font-size: 16px;
	color: var(--em-reg-heading);
	margin: 0;
	background: #fff;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.em-reg__radio:has(input:checked) {
	border-color: var(--em-reg-primary);
	background: #fff5f5;
}

.em-reg__radio input {
	accent-color: var(--em-reg-primary);
	width: 18px;
	height: 18px;
}

.em-reg__check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--em-reg-border);
	border-radius: 12px;
	cursor: pointer;
	font-size: 15px;
	color: var(--em-reg-heading);
	margin: 0;
	background: #fff;
}

.em-reg__check input {
	margin-top: 3px;
	accent-color: var(--em-reg-primary);
	width: 18px;
	height: 18px;
}

.em-reg__actions {
	display: flex;
	gap: 12px;
	margin-top: 8px;
}

.em-reg__btn {
	height: 48px;
	border-radius: var(--em-reg-radius-btn) !important;
	font-size: 16px;
	font-weight: 600;
	padding: 0 18px;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.em-reg__btn--primary {
	background: var(--em-reg-primary) !important;
	color: #fff !important;
}

.em-reg__btn--primary:hover,
.em-reg__btn--primary:focus {
	background: var(--em-reg-primary-hover) !important;
	color: #fff !important;
}

.em-reg__btn--primary:disabled,
.em-reg__btn--primary.is-loading {
	opacity: 0.85;
	cursor: not-allowed;
	pointer-events: none;
}

.em-reg__btn-spinner {
	display: none;
	width: 1em;
	height: 1em;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
	animation: em-reg-spin 0.7s linear infinite;
}

.em-reg__btn.is-loading .em-reg__btn-spinner {
	display: inline-block;
}

@keyframes em-reg-spin {
	to {
		transform: rotate(360deg);
	}
}

.em-reg__review {
	margin: 0 0 24px;
	padding: 0;
	border: 1px solid var(--em-reg-border);
	border-radius: 14px;
	overflow: hidden;
}

.em-reg__review li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid #f3f4f6;
	font-size: 14px;
}

.em-reg__review li:last-child {
	border-bottom: 0;
}

.em-reg__review li span:first-child {
	color: var(--em-reg-muted);
}

.em-reg__review li strong,
.em-reg__review-value {
	color: var(--em-reg-heading);
	font-weight: 600;
	text-align: right;
	word-break: break-word;
}

.em-reg__review-value--regular {
	font-weight: 400;
}

.em-reg__success-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #ecfdf5;
	color: #059669;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
}

#popmake-8596 .em-reg,
.popmake-content .em-reg,
.pum-content .em-reg {
	max-width: 540px;
}

#popmake-8596 .pum-content,
#popmake-8596 .popmake-content {
	padding: 12px !important;
}

@media (max-width: 575.98px) {
	.em-reg__body {
		padding: 22px 18px 24px;
	}

	.em-reg__heading {
		font-size: 24px;
	}

	.em-reg__label {
		font-size: 18px;
	}

	.em-reg__radios {
		grid-template-columns: 1fr;
	}

	.em-reg select.em-reg__control.form-select {
		padding-left: 0.65rem;
		padding-right: 2rem;
		font-size: 14px;
		background-position: right 0.65rem center;
		background-size: 10px 7px;
	}
}

/* Validation & password UI — custom only (no Bootstrap / native icons). */
.em-reg input:invalid,
.em-reg select:invalid,
.em-reg textarea:invalid {
	box-shadow: none;
}

.em-reg .form-control.is-invalid,
.em-reg .form-select.is-invalid,
.em-reg .form-control.is-valid,
.em-reg .form-select.is-valid,
.em-reg .was-validated .form-control:invalid,
.em-reg .was-validated .form-control:valid,
.em-reg .was-validated .form-select:invalid,
.em-reg .was-validated .form-select:valid {
	background-image: none !important;
	padding-right: 0.9rem !important;
}

.em-reg__error {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #b22222;
}

.em-reg__age {
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--em-reg-heading);
}

.em-reg__age:not([hidden]) {
	color: #059669;
}

.em-reg__input-wrap {
	position: relative;
}

.em-reg__input-wrap .em-reg__control {
	padding-right: 2.75rem;
}

.em-reg__status-icon {
	position: absolute;
	top: 50%;
	right: 0.85rem;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	display: none;
	pointer-events: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
	z-index: 2;
}

.em-reg__input-wrap.em-reg--invalid .em-reg__status-icon,
.em-reg__input-wrap.em-reg--valid .em-reg__status-icon {
	display: block;
}

.em-reg__input-wrap.em-reg--invalid .em-reg__status-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b22222'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm.75 4.75v4.5h-1.5v-4.5h1.5zM8 12.5a.9.9 0 110-1.8.9.9 0 010 1.8z'/%3E%3C/svg%3E");
}

.em-reg__input-wrap.em-reg--valid .em-reg__status-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23059669'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm3.78 5.47L7.1 10.15 4.22 7.28l1.06-1.06L7.1 8.03l3.62-3.62 1.06 1.06z'/%3E%3C/svg%3E");
}

.em-reg__control.em-reg--invalid,
.em-reg__control.form-control.em-reg--invalid,
.em-reg__control.form-select.em-reg--invalid {
	border-color: #b22222 !important;
	background-image: none !important;
}

.em-reg__control.em-reg--valid,
.em-reg__control.form-control.em-reg--valid,
.em-reg__control.form-select.em-reg--valid {
	border-color: #059669 !important;
	background-image: none !important;
}

.em-reg__radios.em-reg--invalid {
	outline: 2px solid rgba(178, 34, 34, 0.35);
	outline-offset: 2px;
	border-radius: var(--em-reg-radius-field);
}

.em-reg__radios.em-reg--valid .em-reg__radio {
	border-color: #059669;
}

.em-reg__check.em-reg--invalid {
	border-color: #b22222;
	background: #fff5f5;
	box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.12);
}

.em-reg__check.em-reg--valid {
	border-color: #059669;
	background: #ecfdf5;
}

.em-reg__password-wrap {
	position: relative;
}

.em-reg__password-wrap .em-reg__control {
	padding-right: 5.25rem;
}

.em-reg__password-wrap .em-reg__status-icon {
	right: 2.75rem;
}

.em-reg__password-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--em-reg-muted);
	cursor: pointer;
	border-radius: 8px;
	z-index: 3;
}

.em-reg__password-toggle:hover,
.em-reg__password-toggle:focus {
	color: var(--em-reg-primary);
	outline: none;
}

.em-reg__password-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.15);
}

.em-reg__pw-checklist {
	margin: 0 0 4px;
	padding: 0;
	display: grid;
	gap: 8px;
}

.em-reg__pw-checklist li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
	color: #9ca3af;
	transition: color 0.15s ease;
}

.em-reg__pw-check-mark {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border: 2px solid #d1d5db;
	border-radius: 50%;
	background: transparent;
	position: relative;
}

.em-reg__pw-checklist li.is-valid {
	color: #059669;
}

.em-reg__pw-checklist li.is-valid .em-reg__pw-check-mark {
	border-color: #059669;
	background: #059669;
}

.em-reg__pw-checklist li.is-valid .em-reg__pw-check-mark::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.em-reg__confirm-msg {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.4;
}

.em-reg__confirm-msg.is-match {
	color: #059669;
}

.em-reg__confirm-msg.is-mismatch {
	color: #b22222;
}

.em-reg__hint {
	margin: 0 0 16px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--em-reg-muted);
}

.em-reg__hint.is-flash {
	color: #b22222;
	font-weight: 600;
}

/* Date input: hide native clear/spin affordances that clash with our icon. */
.em-reg input[type="date"].em-reg__control::-webkit-clear-button,
.em-reg input[type="date"].em-reg__control::-webkit-inner-spin-button {
	display: none;
	-webkit-appearance: none;
}

.em-reg input[type="date"].em-reg__control {
	position: relative;
	padding-right: 4.5rem;
}

/* Keep calendar picker left of our single status icon (avoids double-icon clash). */
.em-reg input[type="date"].em-reg__control::-webkit-calendar-picker-indicator {
	position: absolute;
	right: 2.6rem;
	cursor: pointer;
	opacity: 0.65;
}

/* Confirm leave / discard dialog */
.em-reg__dialog {
	position: absolute;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.em-reg__dialog[hidden] {
	display: none !important;
}

.em-reg__dialog-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.45);
}

.em-reg__dialog-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 360px;
	background: #fff;
	border-radius: 14px;
	padding: 22px 20px 18px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.em-reg__dialog-title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	color: var(--em-reg-heading);
	line-height: 1.3;
}

.em-reg__dialog-message {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--em-reg-muted);
}

.em-reg__dialog-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.em-reg__btn--ghost {
	background: #fff !important;
	color: var(--em-reg-heading) !important;
	border: 1px solid var(--em-reg-border) !important;
}

.em-reg__btn--ghost:hover,
.em-reg__btn--ghost:focus {
	background: #f9fafb !important;
	color: var(--em-reg-heading) !important;
}

.em-reg__control:focus-visible,
.em-reg__back-icon:focus-visible,
.em-reg__btn:focus-visible,
.em-reg__password-toggle:focus-visible,
.em-reg__check input:focus-visible,
.em-reg__radio input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.18);
}

@media (max-width: 575.98px) {
	.em-reg__dialog {
		padding: 12px;
	}

	.em-reg__dialog-panel {
		padding: 18px 16px 14px;
	}

	.em-reg__dialog-title {
		font-size: 18px;
	}
}

/* ---- Step 3 mobile OTP ---- */
.em-reg__input-wrap--mobile {
	position: relative;
}

.em-reg__verified-badge {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	padding: 4px 10px;
	border-radius: 999px;
	background: #e8f8ee;
	color: #16a34a;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	pointer-events: none;
	z-index: 2;
	animation: em-reg-badge-in 0.35s ease-out both;
}

@keyframes em-reg-badge-in {
	from {
		opacity: 0;
		transform: translateY(-50%) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateY(-50%) scale(1);
	}
}

.em-reg__input-wrap--mobile.is-verified .em-reg__control {
	padding-right: 88px;
	background: #f7fbf8;
	border-color: #16a34a;
}

.em-reg__input-wrap--mobile.is-verified .em-reg__status-icon {
	display: none;
}

.em-reg__otp-panel {
	margin: 8px 0 18px;
	padding: 16px 14px 14px;
	border: 1px solid var(--em-reg-border);
	border-radius: 14px;
	background: #fff;
	text-align: center;
	animation: em-reg-otp-in 0.28s ease-out both;
	box-sizing: border-box;
	max-width: 100%;
	overflow: hidden;
}

.em-reg__otp-panel.is-success {
	border-color: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

@keyframes em-reg-otp-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.em-reg__otp-label {
	display: block;
	margin: 0 0 14px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--em-reg-heading);
	text-align: left;
}

.em-reg__otp {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(6px, 2vw, 10px);
	width: 100%;
	max-width: 100%;
	margin: 0 0 14px;
	padding: 0;
	box-sizing: border-box;
}

/* Strong selectors so theme/Bootstrap cannot wash out border or digit color. */
.em-reg input.em-reg__otp-digit,
.em-reg__otp input.em-reg__otp-digit,
.em-reg__otp-digit {
	flex: 1 1 0;
	min-width: 40px;
	max-width: 64px;
	width: 100%;
	height: 52px;
	min-height: 48px;
	max-height: 64px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 !important;
	border: 2px solid #c3c3c3 !important;
	border-radius: 10px;
	background-color: #ffffff !important;
	background-image: none !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	caret-color: #c62828 !important;
	text-align: center;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 48px !important;
	letter-spacing: 0;
	opacity: 1 !important;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.em-reg input.em-reg__otp-digit:focus,
.em-reg__otp-digit:focus {
	outline: none !important;
	border-color: #c62828 !important;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.16) !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	background-color: #ffffff !important;
}

.em-reg input.em-reg__otp-digit.is-error,
.em-reg__otp-digit.is-error {
	border-color: #c62828 !important;
	animation: em-reg-otp-shake 0.35s ease;
}

.em-reg input.em-reg__otp-digit.is-verified,
.em-reg__otp-digit.is-verified {
	border-color: #16a34a !important;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14) !important;
	color: #16a34a !important;
	-webkit-text-fill-color: #16a34a !important;
}

.em-reg input.em-reg__otp-digit:-webkit-autofill,
.em-reg input.em-reg__otp-digit:-webkit-autofill:hover,
.em-reg input.em-reg__otp-digit:-webkit-autofill:focus {
	-webkit-text-fill-color: #111111 !important;
	caret-color: #c62828 !important;
	box-shadow: 0 0 0 1000px #ffffff inset !important;
	transition: background-color 99999s ease-out;
}

@keyframes em-reg-otp-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-3px); }
	75% { transform: translateX(3px); }
}

.em-reg__otp-timer {
	min-height: 1.25rem;
	margin: 0 0 10px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #4b5563;
}

.em-reg__otp-timer[hidden] {
	display: none !important;
}

.em-reg__otp-msg {
	min-height: 1.2rem;
	margin: 0 0 12px;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #4b5563;
}

.em-reg__otp-msg.is-success {
	color: #16a34a;
	font-weight: 600;
}

.em-reg__otp-msg.is-error {
	color: #c62828;
	font-weight: 600;
}

.em-reg__otp-msg[hidden] {
	display: none !important;
}

.em-reg__otp-resend {
	background: none;
	border: 0;
	padding: 4px 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--em-reg-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.em-reg__otp-resend[hidden] {
	display: none !important;
}

.em-reg__otp-resend:disabled {
	color: #9ca3af;
	text-decoration: none;
	cursor: default;
}

/* Pseudo spinner only when the button has no HTML spinner child (avoids double loaders). */
.em-reg__btn.is-loading {
	position: relative;
	pointer-events: none;
}

.em-reg__btn.is-loading:not(:has(.em-reg__btn-spinner)) {
	color: transparent !important;
}

.em-reg__btn.is-loading:not(:has(.em-reg__btn-spinner))::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: em-reg-spin 0.7s linear infinite;
}

/* Create Account / Verify OTP: one HTML spinner + visible label */
.em-reg__btn.is-loading:has(.em-reg__btn-spinner),
.em-reg__btn.is-verifying {
	pointer-events: none;
	opacity: 0.92;
	gap: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.em-reg__btn.is-loading:has(.em-reg__btn-spinner)::after,
.em-reg__btn.is-verifying::after {
	display: none !important;
	content: none !important;
}

.em-reg__btn-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: em-reg-spin 0.7s linear infinite;
	flex: 0 0 auto;
}

.em-reg__btn.is-loading .em-reg__btn-spinner,
.em-reg__btn.is-verifying .em-reg__btn-spinner {
	display: inline-block;
}

.em-reg__btn.is-loading .em-reg__btn-label,
.em-reg__btn.is-verifying .em-reg__btn-label {
	color: #fff;
}

@keyframes em-reg-spin {
	to { transform: rotate(360deg); }
}

.em-reg__dev-otp {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px dashed #c3c3c3;
	border-radius: 12px;
	background: #fffbeb;
	text-align: left;
}

.em-reg__dev-otp[hidden] {
	display: none !important;
}

.em-reg__dev-otp-title {
	display: block;
	margin: 0 0 8px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #92400e;
}

.em-reg__dev-otp-label {
	margin: 0 0 4px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #6b7280;
}

.em-reg__dev-otp-code {
	display: inline-block;
	margin: 0 0 8px;
	padding: 6px 12px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #fcd34d;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: #111827;
}

.em-reg__dev-otp-note {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: #92400e;
}

@media (max-width: 767.98px) {
	.em-reg__otp-panel {
		padding: 14px 12px 12px;
	}

	.em-reg input.em-reg__otp-digit,
	.em-reg__otp-digit {
		height: 48px;
		min-height: 48px;
		max-width: 52px;
		font-size: 20px !important;
		line-height: 44px !important;
		border-radius: 10px;
	}
}

@media (max-width: 420px) {
	.em-reg__otp-panel {
		padding: 12px 10px 10px;
	}

	.em-reg input.em-reg__otp-digit,
	.em-reg__otp-digit {
		height: 44px;
		min-height: 44px;
		min-width: 36px;
		max-width: 46px;
		font-size: 18px !important;
		line-height: 40px !important;
		border-radius: 8px;
	}
}


