/* mnr OTP Login */
.mnr-otp-box {
	--mnr-otp-primary: #1c2b4a;
	--mnr-otp-accent: #c9a24a;
	--mnr-otp-text: #1f2430;
	--mnr-otp-muted: #6b7280;
	--mnr-otp-line: #e3e6ec;
	--mnr-otp-bg: #ffffff;
	box-sizing: border-box;
	max-width: 420px;
	margin: 24px auto;
	padding: 32px 28px 24px;
	background: var(--mnr-otp-bg);
	border: 1px solid var(--mnr-otp-line);
	border-top: 4px solid var(--mnr-otp-accent);
	border-radius: 16px;
	box-shadow: 0 12px 32px -18px rgba(20, 30, 55, .35);
	color: var(--mnr-otp-text);
	direction: rtl;
	text-align: right;
	font-family: inherit;
	line-height: 1.8;
}
.mnr-otp-box *, .mnr-otp-box *::before, .mnr-otp-box *::after { box-sizing: border-box; }
.mnr-otp-box [hidden] { display: none !important; }

.mnr-otp-head { text-align: center; margin-bottom: 22px; }
.mnr-otp-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--mnr-otp-primary); color: var(--mnr-otp-accent);
	margin-bottom: 12px;
}
.mnr-otp-title { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; color: var(--mnr-otp-primary); }
.mnr-otp-sub { margin: 0; font-size: .9rem; color: var(--mnr-otp-muted); }

.mnr-otp-step { margin: 0; }
.mnr-otp-step label { display: block; margin: 0 0 6px; font-size: .9rem; font-weight: 600; }
.mnr-otp-field { margin-bottom: 14px; }
.mnr-otp-box input.mnr-otp-phone,
.mnr-otp-box input.mnr-otp-code {
	width: 100%; height: 50px; margin: 0;
	padding: 0 14px;
	border: 1.5px solid var(--mnr-otp-line); border-radius: 10px;
	background: #fafbfc; color: var(--mnr-otp-text);
	font-size: 1.1rem; letter-spacing: .06em; text-align: center; direction: ltr;
	box-shadow: none; outline: none;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.mnr-otp-box input.mnr-otp-code { font-size: 1.4rem; letter-spacing: .35em; font-weight: 700; }
.mnr-otp-box input.mnr-otp-phone:focus,
.mnr-otp-box input.mnr-otp-code:focus {
	border-color: var(--mnr-otp-primary); background: #fff;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mnr-otp-accent) 30%, transparent);
}

.mnr-otp-box .mnr-otp-btn {
	position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; height: 50px; margin: 0; padding: 0 16px;
	border: 0; border-radius: 10px;
	background: var(--mnr-otp-primary); color: #fff;
	font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
	transition: filter .15s, transform .05s;
}
.mnr-otp-box .mnr-otp-btn:hover { filter: brightness(1.12); }
.mnr-otp-box .mnr-otp-btn:active { transform: translateY(1px); }
.mnr-otp-box .mnr-otp-btn:focus-visible { outline: 3px solid var(--mnr-otp-accent); outline-offset: 2px; }
.mnr-otp-box .mnr-otp-btn:disabled { cursor: wait; opacity: .85; }
.mnr-otp-box .mnr-otp-btn.is-loading::before {
	content: ""; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35); border-top-color: var(--mnr-otp-accent);
	animation: mnr-otp-spin .7s linear infinite;
}
.mnr-otp-box .mnr-otp-btn.is-done { background: #15803d; }
@keyframes mnr-otp-spin { to { transform: rotate(360deg); } }

.mnr-otp-sent { margin: 0 0 14px; font-size: .9rem; color: var(--mnr-otp-muted); }
.mnr-otp-num { color: var(--mnr-otp-text); unicode-bidi: isolate; }
.mnr-otp-box a { color: var(--mnr-otp-primary); text-decoration: none; border-bottom: 1px dashed var(--mnr-otp-accent); }
.mnr-otp-box a:hover { color: var(--mnr-otp-accent); }
.mnr-otp-edit { margin-inline-start: 6px; font-size: .85rem; white-space: nowrap; display: inline-block; }

.mnr-otp-resend { margin-top: 12px; min-height: 1.6em; text-align: center; font-size: .85rem; color: var(--mnr-otp-muted); }

.mnr-otp-msg { margin-top: 14px; font-size: .88rem; border-radius: 8px; }
.mnr-otp-msg:empty { display: none; }
.mnr-otp-msg.is-error { padding: 10px 12px; background: #fdecec; color: #b42318; }
.mnr-otp-msg.is-success { padding: 10px 12px; background: #ecfdf3; color: #067647; }
.mnr-otp-msg.is-info { padding: 10px 12px; background: #fdf6e7; color: #8a5a00; }

.mnr-otp-logged { text-align: center; padding: 18px; }

.mnr-otp-compact { margin: 0 0 24px; max-width: 100%; box-shadow: none; padding: 22px 20px 18px; }
.mnr-otp-compact .mnr-otp-icon { display: none; }
.mnr-otp-checkout-wrap { max-width: 460px; }

@media (max-width: 480px) {
	.mnr-otp-box { margin: 12px auto; padding: 24px 18px 18px; border-radius: 12px; }
}
