.mreeir-sl-form-wrap {
	max-width: 420px;
	margin: 0 auto;
	font-family: inherit;
}

/* ------------------------------------------------------------------ */
/* تم تیره/نارنجی مطابق طراحی درخواستی                                  */
/* ------------------------------------------------------------------ */
.mreeir-sl-dark {
	--mreeir-bg: #161923;
	--mreeir-field-bg: #1f2330;
	--mreeir-field-bg-2: #262b3a;
	--mreeir-border: #2c3140;
	--mreeir-text: #f2f3f5;
	--mreeir-muted: #9098ab;
	--mreeir-orange: #f7941d;
	--mreeir-orange-2: #ffb04d;

	background: var(--mreeir-bg);
	color: var(--mreeir-text);
	padding: 26px 22px 30px;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.mreeir-sl-dark .mreeir-sl-heading {
	font-size: 22px;
	font-weight: 800;
	margin: 4px 0 20px;
	color: var(--mreeir-text);
}

/* تب‌های بیضی‌شکل بالای فرم */
.mreeir-sl-dark .mreeir-sl-tabs {
	display: flex;
	gap: 8px;
	background: transparent;
	border-bottom: none;
	margin-bottom: 22px;
}

.mreeir-sl-dark .mreeir-sl-tab {
	flex: 1;
	padding: 10px 8px;
	background: var(--mreeir-field-bg);
	border: none;
	border-radius: 30px;
	cursor: pointer;
	font-size: 13px;
	color: var(--mreeir-muted);
	transition: background 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.mreeir-sl-dark .mreeir-sl-tab.active {
	background: linear-gradient(180deg, var(--mreeir-orange-2), var(--mreeir-orange));
	color: #1a1200;
	font-weight: 700;
}

/* فیلدها */
.mreeir-sl-dark .mreeir-sl-field {
	margin-bottom: 14px;
}

.mreeir-sl-dark .mreeir-sl-input-wrap {
	position: relative;
}

.mreeir-sl-dark input[type="text"],
.mreeir-sl-dark input[type="tel"],
.mreeir-sl-dark input[type="email"],
.mreeir-sl-dark input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	background: var(--mreeir-field-bg);
	border: 1px solid var(--mreeir-border);
	color: var(--mreeir-text);
	padding: 14px 46px 14px 16px;
	border-radius: 30px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.15s ease;
}

.mreeir-sl-dark input::placeholder {
	color: var(--mreeir-muted);
}

.mreeir-sl-dark input:focus {
	border-color: var(--mreeir-orange);
}

.mreeir-sl-dark .mreeir-sl-icon {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--mreeir-orange);
	display: flex;
	pointer-events: none;
}

.mreeir-sl-dark .mreeir-sl-icon svg {
	width: 100%;
	height: 100%;
}

/* دکمه اصلی نارنجی */
.mreeir-sl-dark .mreeir-sl-btn {
	background: linear-gradient(180deg, var(--mreeir-orange-2), var(--mreeir-orange));
	color: #1a1200;
	border: none;
	padding: 13px 20px;
	border-radius: 30px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	width: 100%;
}

.mreeir-sl-dark .mreeir-sl-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.mreeir-sl-dark .mreeir-sl-field-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.mreeir-sl-dark .mreeir-sl-btn-inline {
	width: auto;
	flex: 1;
	min-width: 160px;
}

.mreeir-sl-dark .mreeir-sl-forgot-link {
	background: none;
	border: none;
	color: var(--mreeir-muted);
	font-size: 12px;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
}

.mreeir-sl-dark .mreeir-sl-forgot-link:hover {
	color: var(--mreeir-orange);
}

/* زیرتب‌های بازیابی رمز عبور (ایمیل / شماره تماس) */
.mreeir-sl-dark .mreeir-sl-subtabs {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}

.mreeir-sl-dark .mreeir-sl-subtab {
	flex: 1;
	padding: 9px 8px;
	background: var(--mreeir-field-bg-2);
	border: 1px solid var(--mreeir-border);
	border-radius: 30px;
	cursor: pointer;
	font-size: 12px;
	color: var(--mreeir-muted);
	white-space: nowrap;
}

.mreeir-sl-dark .mreeir-sl-subtab.active {
	background: linear-gradient(180deg, var(--mreeir-orange-2), var(--mreeir-orange));
	border-color: transparent;
	color: #1a1200;
	font-weight: 700;
}

.mreeir-sl-forgot-wrap {
	margin-top: 4px;
}

.mreeir-sl-dark .mreeir-sl-hint {
	color: var(--mreeir-muted);
	font-size: 12px;
	margin: 0 0 14px;
}

/* کپچا */
.mreeir-sl-dark .mreeir-sl-captcha-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mreeir-sl-dark .mreeir-sl-captcha-row input[type="text"] {
	padding: 14px 16px;
}

.mreeir-sl-dark .mreeir-sl-captcha-img {
	border-radius: 8px;
	border: 1px solid var(--mreeir-border);
	flex-shrink: 0;
}

.mreeir-sl-dark .mreeir-sl-captcha-refresh {
	background: var(--mreeir-field-bg-2);
	border: 1px solid var(--mreeir-border);
	color: var(--mreeir-text);
	border-radius: 8px;
	cursor: pointer;
	padding: 8px 12px;
	flex-shrink: 0;
}

/* دکمه ارسال مجدد کد زیر فیلد کد تایید */
.mreeir-sl-dark .mreeir-sl-resend-otp {
	margin-top: 8px;
	background: none;
	border: none;
	color: var(--mreeir-orange);
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
	font-size: 12px;
}

.mreeir-sl-dark .mreeir-sl-resend-otp:disabled {
	color: var(--mreeir-muted);
	text-decoration: none;
	cursor: not-allowed;
}

/* پیام‌های موفقیت/خطا */
.mreeir-sl-dark .mreeir-sl-message {
	margin-top: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
}

.mreeir-sl-dark .mreeir-sl-message.success {
	background: rgba(58, 189, 105, 0.15);
	color: #6fe39a;
	border: 1px solid rgba(58, 189, 105, 0.3);
}

.mreeir-sl-dark .mreeir-sl-message.error {
	background: rgba(230, 70, 70, 0.15);
	color: #ff8f8f;
	border: 1px solid rgba(230, 70, 70, 0.3);
}

.mreeir-sl-notice {
	padding: 12px;
	background: #f2f2f2;
	border-radius: 6px;
	text-align: center;
}

/* پاپ‌آپ */
.mreeir-sl-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
}

.mreeir-sl-modal-box {
	background: transparent;
	position: relative;
	max-width: 460px;
	width: 92%;
	max-height: 90vh;
	overflow-y: auto;
}

.mreeir-sl-modal-close {
	position: absolute;
	top: -6px;
	left: -6px;
	background: var(--mreeir-orange, #f7941d);
	border: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: #1a1200;
	z-index: 2;
}

.mreeir-sl-popup-open-btn {
	width: auto;
	padding: 12px 22px;
	border-radius: 30px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
