.nsl-lock { overflow: hidden; }

.nsl-overlay {
	position: fixed; inset: 0; z-index: 999999;
	background: rgba(8, 18, 32, .6);
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	backdrop-filter: blur(2px);
}
.nsl-overlay[hidden] { display: none; }
.nsl-dialog { width: 100%; max-width: 410px; animation: nslFadeIn .16s ease-out; }

@keyframes nslFadeIn {
	from { opacity: 0; transform: translateY(-6px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.nsl-box {
	position: relative;
	background: #ffffff;
	color: #1b2733;
	border: 1.5px solid #cbd5e1;
	border-radius: 16px;
	padding: 26px 24px 22px;
	box-shadow: 0 20px 50px rgba(11, 74, 162, .16);
	font-family: inherit;
	text-align: right;
}
.nsl-inline { padding: 24px 0; }
.nsl-inline .nsl-box {
	max-width: 410px;
	margin: 0 auto;
	border: 1.5px solid #cbd5e1;
	box-shadow: 0 8px 30px rgba(11, 74, 162, .08);
}

.nsl-close {
	position: absolute; top: 10px; left: 12px;
	width: 34px; height: 34px; border: 0; background: none;
	font-size: 26px; line-height: 1; color: #7a8794; cursor: pointer;
	padding: 0;
}
.nsl-close:hover { color: #0b4aa2; }

.nsl-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto 12px;
}
.nsl-logo svg,
.nsl-logo img {
	max-height: 44px;
	width: auto;
	display: block;
}

.nsl-title {
	margin: 0 0 18px;
	font-size: 19px;
	font-weight: 700;
	text-align: center;
	color: #1e293b;
}

.nsl-box label { display: block; margin-bottom: 6px; font-size: 13.5px; color: #334155; font-weight: 500; }

.nsl-box input.nsl-mobile,
.nsl-box input.nsl-code,
.nsl-names input,
.nsl-box input.nsl-login,
.nsl-box input.nsl-pass {
	width: 100%; height: 46px; padding: 0 14px; margin: 0 0 14px;
	border: 1px solid #cbd5e1; border-radius: 10px;
	font-size: 16px; background: #f8fafc; color: #0f172a;
	box-sizing: border-box;
	transition: border-color .15s, background .15s, box-shadow .15s;
}

.nsl-box input.nsl-mobile,
.nsl-box input.nsl-code {
	text-align: center;
	letter-spacing: 2px;
}

.nsl-box input.nsl-code {
	font-size: 22px;
	letter-spacing: 8px;
	text-indent: 8px;
	font-weight: 700;
}

/* شماره راهنمای بسیار کمرنگ و محو شدن هنگام تایپ/فوکوس */
.nsl-box input.nsl-mobile::placeholder {
	color: #cbd5e1;
	opacity: 0.7;
	font-weight: 400;
	transition: opacity .1s ease;
}
.nsl-box input.nsl-mobile:focus::placeholder {
	opacity: 0;
	color: transparent;
}
.nsl-box input.nsl-code::placeholder {
	color: #cbd5e1;
	opacity: 0.7;
}

.nsl-box input:focus {
	outline: 0;
	background: #ffffff;
	border-color: #0b4aa2;
	box-shadow: 0 0 0 3px rgba(11, 74, 162, .14);
}

.nsl-names { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.nsl-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }

/* رنگ دکمه مطابق دکمه‌های آبی سایت (#0b4aa2) */
.nsl-box button.nsl-btn,
.nsl-box .nsl-btn {
	width: 100%; height: 46px; border: 0; border-radius: 10px;
	background: #0b4aa2 !important;
	background-color: #0b4aa2 !important;
	color: #ffffff !important;
	font-size: 15.5px; font-weight: 700; cursor: pointer;
	box-shadow: 0 4px 12px rgba(11, 74, 162, .22);
	transition: background-color .15s, transform .1s, opacity .15s;
}
.nsl-box button.nsl-btn:hover,
.nsl-box .nsl-btn:hover {
	background: #083980 !important;
	background-color: #083980 !important;
}
.nsl-box button.nsl-btn:disabled,
.nsl-box .nsl-btn:disabled {
	opacity: .65; cursor: wait;
}

.nsl-sent { margin: 0 0 12px; font-size: 14px; text-align: center; color: #334155; }
.nsl-links { display: flex; justify-content: space-between; margin-top: 12px; }
.nsl-link { border: 0; background: none; padding: 4px 0; font-size: 13px; color: #0b4aa2; cursor: pointer; font-weight: 500; }
.nsl-link:hover { text-decoration: underline; }
.nsl-link:disabled { color: #94a3b8; cursor: default; text-decoration: none; }

.nsl-step[hidden] { display: none; }

.nsl-msg { min-height: 20px; margin-top: 12px; font-size: 13px; text-align: center; font-weight: 500; }
.nsl-bad { color: #dc2626; }
.nsl-ok { color: #16a34a; }

/* غیرفعال کردن منوی بازشونده/پنل کناری ورود پیش‌فرض وودمارت برای کاربران مهمان */
.wd-header-my-account .wd-dropdown-my-account,
.wd-header-my-account .wd-dropdown,
.wd-toolbar-account .wd-dropdown { display: none !important; }

.nsl-tabs { display: flex; gap: 6px; margin: 0 0 18px; background: #f1f5f9; padding: 4px; border-radius: 10px; }
.nsl-tab { flex: 1; height: 38px; border: 0; border-radius: 8px; background: transparent; color: #475569; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.nsl-tab.is-active { background: #ffffff; color: #0b4aa2; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.nsl-pane[hidden] { display: none; }

.nsl-remember { display: flex !important; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; }
.nsl-remember input { margin: 0; }
.nsl-links a.nsl-link { text-decoration: none; }
