body
{
	direction: rtl;
	font-family: IRANSans,Tahoma;
	font-size: 12px;
}

td
{
	font-family: IRANSans,Tahoma;
	font-size: 12px;
}
input
{
	font-family: IRANSans,Tahoma;
	font-size: 12px;
}
#theLoginBtn
{
	vertical-align: middle;
	font-family: IRANSans,tahoma;
	font-size: 13px;
	line-height: normal;
	color: #000000;
	cursor: pointer;
	height: 25px;
	margin: 0px;
	border-right: gray 1px solid;
	border-top: gray 1px solid;
	border-left: gray 1px solid;
	border-bottom: gray 1px solid;
	background-color: transparent;
	background-image: url(images/search-btn-bg.gif);
	background-repeat: repeat;
	background-attachment: scroll;
	background-position: center bottom;	
}
.message
{
	color: firebrick;
}

html, body.login-otp-page {
	height: 100%;
	margin: 0;
	background-color: #cedeef;
	background-image: linear-gradient(165deg, #e8f2fa 0%, #cedeef 55%, #c5d9eb 100%);
}
body.login-otp-page {
	overflow-x: hidden;
	overflow-y: auto;
	direction: rtl;
	font-family: IRANSans, Tahoma, sans-serif;
	-webkit-font-smoothing: antialiased;
	/* تم مشترک فرم‌های ثنا (MemberFormPage / CStyle) */
	--login-primary: #1a84ba;
	--login-primary-hover: #156694;
	--login-primary-deep: #296293;
	--login-accent: #1a84ba;
	--login-line: #c5d6e8;
	--login-line-focus: #1a84ba;
	--login-muted: #6b7c8f;
	--login-text: #2c3e50;
	--login-surface: #cedeef;
}
.login-page {
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}
.login-otp-page .container {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
}
.login-otp-page form.form-signin {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 0;
	box-shadow: none;
	background: transparent;
	float: none;
	display: block;
}

/* کارت دو ستونه: فرم راست، برند چپ */
.login-shell {
	width: 100%;
	display: flex;
	flex-direction: row;
	direction: rtl;
	align-items: stretch;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(26, 132, 186, 0.18);
	overflow: hidden;
	min-height: min(560px, calc(100vh - 48px));
	position: relative;
}
/* گوشهٔ پنل برند: فضای فرم را نمی‌گیرد، همیشه دیده می‌شود */
.login-home-chip {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: #fff;
	font-size: 12px;
	font-family: inherit;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.login-home-chip:hover,
.login-home-chip:focus {
	background: rgba(255, 255, 255, 0.34);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
	outline: none;
}
.login-home-chip .fa {
	font-size: 13px;
}

.login-form-col {
	flex: 0 0 420px;
	width: 420px;
	max-width: 100%;
	padding: 24px 24px 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	min-height: min(560px, calc(100vh - 48px));
}
.login-page-toolbar {
	display: none;
}
.login-error-backdrop {
	position: fixed;
	inset: 0;
	z-index: 10050;
	background: rgba(15, 23, 42, 0.45);
}
.login-error-modal {
	position: fixed;
	inset: 0;
	z-index: 10060;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	pointer-events: none;
}
.login-error-modal-card {
	pointer-events: auto;
	position: relative;
	width: min(100%, 340px);
	background: #fff;
	border-radius: 14px;
	padding: 0;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
	direction: rtl;
	text-align: right;
	overflow: hidden;
}
.login-error-modal-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	margin: 0;
	border-bottom: none;
	background: linear-gradient(135deg, #e11d48 0%, #be123c 52%, #9f1239 100%);
}
.login-error-modal-header-main {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-width: 0;
}
.login-error-modal-close {
	position: static;
	flex-shrink: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}
.login-error-modal-close:hover {
	background: rgba(255, 255, 255, 0.38);
	color: #fff;
}
.login-error-modal-header-icon {
	font-size: 22px;
	color: #fff;
	flex-shrink: 0;
	line-height: 1;
	opacity: 0.95;
}
.login-error-modal-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}
.login-error-modal-body {
	padding: 16px 18px 14px;
	background: #fafbfc;
}
.login-error-modal-text {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.75;
	color: #334155;
}
.login-error-modal-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.login-error-modal-ok {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	color: #fff;
	background: linear-gradient(180deg, var(--login-primary, #1a84ba) 0%, var(--login-primary-deep, #296293) 100%);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(26, 132, 186, 0.35);
	transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.login-error-modal-ok:hover {
	filter: brightness(1.06);
	box-shadow: 0 4px 12px rgba(26, 132, 186, 0.45);
}
.login-error-modal-ok .fa {
	font-size: 12px;
	opacity: 0.95;
}

body.login-otp-page #msform fieldset {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	position: relative !important;
	min-width: 0;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

body.login-otp-page #msform fieldset:not(:first-of-type) {
	display: block !important;
}

body.login-otp-page #msform input,
body.login-otp-page #msform textarea {
	padding: 0 12px !important;
}

.login-art {
	flex: 1 1 auto;
	min-width: 240px;
	min-height: 100%;
	border-radius: 0;
	background: linear-gradient(165deg, #1a9fd4 0%, var(--login-primary) 42%, var(--login-primary-deep) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
	padding: 36px 28px 40px;
	box-sizing: border-box;
	position: relative;
}
.login-art::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,255,255,.12), transparent 55%);
	pointer-events: none;
}
.login-art-inner {
	text-align: center;
	max-width: 320px;
	width: 100%;
	position: relative;
	z-index: 1;
}
.login-art-logo-wrap {
	margin: 0 auto 24px;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	aspect-ratio: 1;
	padding: 0;
	box-sizing: border-box;
	background: transparent;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.login-art-logo-wrap--filled {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.login-art-logo-wrap--filled .login-art-logo {
	width: 100px;
	height: 100px;
	max-width: 100px;
	max-height: 100px;
}
.login-art-logo {
	display: block;
	width: 100px;
	height: 100px;
	max-width: 100px;
	max-height: 100px;
	object-fit: contain;
	image-rendering: auto;
	filter: drop-shadow(0 2px 6px rgba(26, 132, 186, 0.15));
}
.login-art-abbrev {
	font-size: clamp(40px, 8vw, 64px);
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.05;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.login-art-library-name {
	margin: 0 0 12px;
	font-size: clamp(15px, 2.2vw, 19px);
	font-weight: 700;
	line-height: 1.55;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.login-art h2 {
	margin: 0 0 10px;
	font-size: clamp(17px, 2.5vw, 22px);
	font-weight: 700;
	line-height: 1.5;
}
.login-help-wrap {
	position: relative;
	z-index: 30;
	margin-bottom: 12px;
}
.login-help-backdrop {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 20;
	background: rgba(232, 242, 250, 0.88);
	cursor: pointer;
}
.login-help-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #b8d4e8;
	border-radius: 8px;
	background: linear-gradient(180deg, #f4f9fc 0%, #e8f4fa 100%);
	color: var(--login-primary-deep);
	font-size: 13px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	box-sizing: border-box;
	transition: background 0.15s, border-color 0.15s;
}
.login-help-banner:hover {
	border-color: var(--login-primary);
	background: #fff;
}
.login-help-banner .fa-info-circle {
	font-size: 18px;
	color: var(--login-primary);
	flex-shrink: 0;
}
.login-help-chevron {
	font-size: 12px;
	opacity: 0.85;
	transition: transform 0.2s;
}
.login-help-banner.is-open .login-help-chevron {
	transform: rotate(180deg);
}
.login-help-panel {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 40;
	margin: 0;
	padding: 14px 14px 12px;
	border-radius: 8px;
	border: 1px solid #c5d6e8;
	background: #fff;
	box-shadow: 0 12px 32px rgba(26, 132, 186, 0.22);
	max-height: min(300px, 52vh);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.login-help-close {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--login-muted);
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	padding: 0;
}
.login-help-close:hover {
	color: var(--login-primary);
	background: #f0f7fc;
}
.login-help-list {
	margin: 0;
	padding: 4px 18px 0 0;
	text-align: right;
	font-size: 12px;
	line-height: 1.75;
	color: var(--login-text);
}
.login-help-list li {
	margin-bottom: 8px;
}
.login-help-list li:last-child {
	margin-bottom: 0;
}
.login-art p {
	margin: 0;
	font-size: 13px;
	line-height: 1.85;
	opacity: .94;
}

.login-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0 0 16px;
	padding-bottom: 0;
	border-bottom: 1px solid #e5e7eb;
	flex-shrink: 0;
	background: #fff;
	position: relative;
	z-index: 2;
}
.login-tab-host {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
}
.login-tab-host .login-tab {
	width: 100%;
}
.login-tab {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: #6b7280;
	border-radius: 0;
	padding: 10px 8px 10px;
	cursor: pointer;
	font-size: 12.5px;
	font-family: inherit;
	line-height: 1.25;
	white-space: nowrap;
	transition: color .15s, border-color .15s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.login-tab i.fa {
	font-size: 14px;
	opacity: 0.9;
	flex-shrink: 0;
}
.login-tab.active i.fa {
	color: #2563eb;
}
.login-panel-stack {
	flex: 1 1 auto;
	min-height: 400px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.login-panel-stack > .login-panel {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-height: 0;
}
.login-panel-central {
	justify-content: flex-start;
}
.login-tab:hover {
	color: var(--login-accent);
}
.login-tab.active {
	color: var(--login-text);
	border-bottom-color: var(--login-primary);
	font-weight: 700;
	background: transparent;
	box-shadow: none;
}
.login-tab.active i.fa {
	color: var(--login-primary);
}
.login-heading {
	display: block;
	text-align: right;
	font-size: 14px;
	font-weight: 600;
	color: var(--login-muted);
	margin: 0 0 16px;
	line-height: 1.6;
}
/* فیلد خط‌کش با آیکن (سبک درگاه my.gov) */
.login-panel .input-group.login-field {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	margin-bottom: 22px;
	padding: 0 0 2px;
	border: 0;
	border-bottom: 1px solid var(--login-line);
	border-radius: 0;
	background: transparent;
	transition: border-color .2s;
}
.login-panel .input-group.login-field:focus-within {
	border-bottom-color: var(--login-line-focus);
}
.login-panel .input-group.login-field .input-group-addon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: auto;
	min-width: 28px;
	padding: 10px 0 10px 12px;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--login-primary);
	font-size: 17px;
	opacity: 0.92;
}
.login-panel .input-group.login-field > div,
.login-panel .input-group.login-field .login-field-body {
	flex: 1;
	min-width: 0;
	width: auto;
}
.login-panel .input-group.login-field input[type="text"]:not(.captcha-digit),
.login-panel .input-group.login-field input[type="password"],
.login-panel .input-group.login-field input[type="tel"],
.login-panel .login-field #ValidationTxt {
	width: 100%;
	height: auto;
	min-height: 42px;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 10px 4px 10px 0 !important;
	box-sizing: border-box;
	font-size: 14px;
	color: var(--login-text);
	background: transparent !important;
	box-shadow: none !important;
}
.login-panel .input-group.login-field input::placeholder {
	color: #8fa3b8;
}
.login-panel .input-group.login-field input:focus {
	outline: none;
	background: transparent !important;
	box-shadow: none !important;
}
.login-panel .pwd-wrapper {
	position: relative;
	width: 100%;
}
.login-panel .pwd-wrapper input {
	padding-left: 2.25rem !important;
}
/* مخفی کردن چشم پیش‌فرض Edge / IE / Chrome تا فقط pwd-toggle بماند */
.login-panel .pwd-wrapper input::-ms-reveal,
.login-panel .pwd-wrapper input::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}
.login-panel .pwd-wrapper input::-webkit-credentials-auto-fill-button,
.login-panel .pwd-wrapper input::-webkit-strong-password-auto-fill-button {
	visibility: hidden;
	display: none !important;
	pointer-events: none;
	position: absolute;
	right: 0;
	margin: 0;
}
.login-panel .pwd-wrapper .pwd-toggle {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	font-size: 16px;
	color: var(--login-accent);
}
.login-panel .input-group:not(.login-field) {
	width: 100%;
	margin-bottom: 12px;
}
.phone-wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
	direction: ltr;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
	height: auto;
	margin-bottom: 0;
}
.login-field .phone-wrap {
	width: 100%;
}
.phone-prefix {
	order: 1;
	padding: 10px 12px 10px 0;
	color: var(--login-muted);
	border-right: 1px solid var(--login-line);
	border-left: 0;
	direction: ltr;
	font-size: 14px;
	white-space: nowrap;
	flex-shrink: 0;
}
.phone-wrap input {
	order: 2;
	border: 0 !important;
	height: auto !important;
	min-height: 42px;
	flex: 1;
	min-width: 0;
	background: transparent !important;
	padding: 10px 8px !important;
	direction: rtl;
	text-align: right;
}
.captcha-row {
	display: grid;
	grid-template-columns: 1fr 44px;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
	direction: rtl;
}
.captcha-row img {
	width: 100%;
	height: 44px;
	border: 0;
	border-bottom: 1px solid var(--login-line);
	border-radius: 0;
	object-fit: contain;
	background: transparent;
}
.captcha-refresh {
	width: 44px;
	height: 44px;
	border: 0 !important;
	border-radius: 6px;
	background: transparent !important;
	cursor: pointer;
	color: var(--login-primary);
	font-size: 17px;
	padding: 0;
	box-shadow: none !important;
	outline: none;
}
.captcha-refresh:hover,
.captcha-refresh:focus,
.captcha-refresh:active {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
}
/* دکمه‌های یکدست فرم ورود */
body.login-otp-page .login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 46px;
	height: auto;
	padding: 11px 14px !important;
	margin: 10px 0 0;
	border: 0;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.35;
	cursor: pointer;
	box-sizing: border-box;
	text-align: center;
	background-image: none !important;
	transition: background-color .15s, color .15s, box-shadow .15s;
}
body.login-otp-page .login-btn i.fa {
	font-size: 15px;
	flex-shrink: 0;
}
body.login-otp-page .login-btn-primary:not(:disabled):not([disabled]),
body.login-otp-page #msform .login-btn-primary.action-button:not(:disabled):not([disabled]) {
	background: var(--login-primary) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(26, 132, 186, 0.28);
}
body.login-otp-page .login-btn-primary:not(:disabled):not([disabled]):hover,
body.login-otp-page .login-btn-primary:not(:disabled):not([disabled]):focus {
	background: var(--login-primary-hover) !important;
	color: #fff !important;
	box-shadow: 0 3px 10px rgba(21, 102, 148, 0.32);
}
body.login-otp-page .login-btn-ghost {
	background: transparent !important;
	color: var(--login-accent) !important;
	min-height: 40px;
	margin-top: 4px;
}
body.login-otp-page .login-btn-ghost:hover {
	background: rgba(26, 132, 186, 0.08) !important;
}
body.login-otp-page #theLoginBtn {
	vertical-align: middle;
	height: auto;
	margin: 10px 0 0;
	border: 0 !important;
	background-image: none !important;
}
body.login-otp-page #theLoginBtn:not(:disabled):not([disabled]) {
	background-color: var(--login-primary) !important;
}
/* غیرفعال: بعد از استایل active تا override نشود */
body.login-otp-page button.login-btn-primary:disabled,
body.login-otp-page button.login-btn-primary[disabled],
body.login-otp-page #theLoginBtn:disabled,
body.login-otp-page #theLoginBtn[disabled],
body.login-otp-page #otpSendBtn:disabled,
body.login-otp-page #otpSendBtn[disabled],
body.login-otp-page #otpVerifyBtn:disabled,
body.login-otp-page #otpVerifyBtn[disabled],
body.login-otp-page #otpResendBtn:disabled,
body.login-otp-page #otpResendBtn[disabled] {
	background: #dfe5ec !important;
	background-color: #dfe5ec !important;
	background-image: none !important;
	color: #8b97a8 !important;
	border: 1px solid #c8d2de !important;
	border-radius: 6px;
	box-shadow: none !important;
	cursor: not-allowed !important;
	opacity: 0.78;
	filter: grayscale(0.2);
	pointer-events: none;
}
body.login-otp-page button.login-btn-primary:disabled:hover,
body.login-otp-page button.login-btn-primary[disabled]:hover,
body.login-otp-page #theLoginBtn:disabled:hover,
body.login-otp-page #theLoginBtn[disabled]:hover {
	background: #dfe5ec !important;
	color: #8b97a8 !important;
	box-shadow: none !important;
}
.otp-code-boxes {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 16px 0;
	direction: ltr;
}
.captcha-code-boxes {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 8px 0 4px;
	padding: 4px 0;
	direction: ltr;
	width: 100%;
}
.login-panel .captcha-code-boxes .captcha-digit {
	width: 40px;
	max-width: 15%;
	height: 46px;
	min-height: 46px;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	border: 1px solid #b8c5d4 !important;
	border-radius: 8px !important;
	box-sizing: border-box;
	direction: ltr;
	background: #fff !important;
	color: var(--login-text);
	padding: 0 !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.login-panel .captcha-code-boxes .captcha-digit:focus {
	outline: none;
	border-color: var(--login-primary, #1a84ba) !important;
	box-shadow: 0 0 0 3px rgba(26, 132, 186, 0.22) !important;
}
.captcha-code-boxes .captcha-digit {
	width: 40px;
	max-width: 15%;
	height: 46px;
	text-align: center;
	font-size: 20px;
	border: 1px solid #b8c5d4;
	border-radius: 8px;
	box-sizing: border-box;
	direction: ltr;
	background: #fff;
	color: var(--login-text);
	padding: 0;
}
.captcha-code-boxes .captcha-digit:focus {
	outline: none;
	border-color: var(--login-primary);
	box-shadow: 0 0 0 3px rgba(26, 132, 186, 0.2);
}
.otp-code-digit {
	width: 44px;
	max-width: 18%;
	height: 52px;
	text-align: center;
	font-size: 22px;
	border: 0;
	border-bottom: 2px solid var(--login-line);
	border-radius: 0;
	box-sizing: border-box;
	direction: ltr;
	background: transparent;
	color: var(--login-text);
	padding: 0;
}
.otp-code-digit:focus {
	outline: none;
	border-bottom-color: var(--login-primary);
}
.otp-code-input {
	width: 100%;
	height: 52px;
	text-align: center;
	letter-spacing: 12px;
	font-size: 22px;
	border: 0;
	border-bottom: 2px solid var(--login-line);
	border-radius: 0;
	box-sizing: border-box;
	direction: ltr;
	background: transparent;
	color: var(--login-text);
}
.otp-code-input:focus {
	outline: none;
	border-bottom-color: var(--login-primary);
}
.otp-timer {
	text-align: center;
	color: #374151;
	font-size: 13px;
	min-height: 24px;
	margin: 8px 0;
}
.otp-timer .remain {
	color: #dc2626;
	font-weight: 700;
}
.login-link {
	color: var(--login-accent);
	cursor: pointer;
}
.login-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	margin-top: 12px;
}
.login-central-hint {
	text-align: right;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.7;
	margin: 0 0 18px;
}
.login-central-actions {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.login-central-actions .login-btn-primary {
	display: none;
	margin-top: 0;
}
.login-central-actions .login-btn-primary + .login-btn-primary,
.login-central-sso-wrap .login-btn-primary {
	margin-top: 10px;
}
.login-central-sso-wrap {
	width: 100%;
}
.login-actions-shared {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid #e5e7eb;
	margin-top: auto;
	padding-top: 14px;
	flex-shrink: 0;
}
.login-footer-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 0;
	background: transparent;
	padding: 4px 2px;
	margin: 0;
	font-size: 12px;
	font-family: inherit;
	color: var(--login-accent);
	cursor: pointer;
	text-align: center;
	line-height: 1.4;
	width: auto;
	min-height: 0;
}
.login-footer-link:hover {
	color: var(--login-primary-deep);
	text-decoration: underline;
}
.login-footer-forget {
	white-space: nowrap;
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-start;
	text-align: right;
}
.login-footer-membership {
	white-space: nowrap;
	flex: 0 0 auto;
	justify-content: flex-end;
	text-align: left;
}
.login-otp-channel-hint {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 12px;
	padding: 8px 10px;
	font-size: 11px;
	line-height: 1.65;
	color: #0c4a6e;
	background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
	border: 1px solid #7dd3fc;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(14, 116, 144, 0.12);
}
.login-otp-channel-hint .fa-info-circle {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 14px;
	color: #0284c7;
}
.login-otp-channel-hint span {
	flex: 1;
	min-width: 0;
	text-align: right;
}
.login-remember {
	text-align: right;
	margin: 8px 0;
	font-size: 13px;
	color: #4b5563;
}
.login-otp-page h4.fs-title {
	display: none;
}

/* تبلت و موبایل */
@media (max-width: 900px) {
	.login-shell {
		flex-direction: column;
		direction: rtl;
		min-height: 0;
		max-width: 420px;
		margin: 0 auto;
	}
	.login-home-chip {
		top: 10px;
		left: 10px;
		padding: 6px 10px;
		font-size: 11px;
	}
	.login-panel-stack {
		min-height: 360px;
	}
	.login-art {
		order: -1;
		min-height: 200px;
		padding: 28px 20px;
		flex: 0 0 auto;
	}
	.login-art p {
		display: none;
	}
	.login-art h2 {
		font-size: 16px;
		margin-bottom: 0;
	}
	.login-art-logo-wrap {
		min-height: 100px;
		width: 100px;
		height: 100px;
		padding: 0;
		margin-bottom: 12px;
	}
	.login-art-logo {
		width: 100px;
		height: 100px;
		max-width: 100px;
		max-height: 100px;
	}
	.login-form-col {
		flex: 1 1 auto;
		width: 100%;
		padding: 22px 20px 20px;
	}
}

@media (max-width: 520px) {
	.login-page {
		padding: 12px 10px;
		align-items: flex-start;
	}
	.login-form-col {
		flex: 1 1 auto;
		width: 100%;
		padding: 18px 14px 16px;
	}
	.login-tabs {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		margin-left: -4px;
		margin-right: -4px;
		padding-left: 4px;
		padding-right: 4px;
	}
	.login-tab {
		flex: 0 0 auto;
		font-size: 12px;
		padding: 10px 12px 8px;
	}
	.login-tab-host {
		flex: 0 0 auto;
	}
}

/* صفحه خروج (مودال Search / Logout.aspx در iframe) */
html.logout-page,
body.logout-page {
	height: 100%;
	margin: 0;
	box-sizing: border-box;
	background-color: #cedeef;
	background-image: linear-gradient(165deg, #e8f2fa 0%, #cedeef 55%, #c5d9eb 100%);
}
body.logout-page {
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	direction: rtl;
	font-family: IRANSans, Tahoma, sans-serif;
}
.logout-page-wrap {
	width: 100%;
	max-width: 340px;
	margin: 0 auto;
}
body.logout-page #msform.logout-card {
	width: 100%;
	margin: 0 auto;
	float: none;
	text-align: center;
}
body.logout-page #msform fieldset {
	background: #cedeef !important;
	border: 0 !important;
	border-radius: 10px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4) !important;
	padding: 20px 22px 24px !important;
	margin: 0 !important;
	position: static !important;
	width: 100%;
	box-sizing: border-box;
}
body.logout-page #msform fieldset:not(:first-of-type) {
	display: block !important;
}
body.logout-page .logout-title {
	margin: 0 0 12px;
	padding: 10px 12px;
}
body.logout-page .logout-message {
	margin: 0 0 16px;
	padding: 10px 12px;
}
body.logout-page .logout-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}
body.logout-page .logout-icon-wrap img {
	max-width: 100%;
	height: auto;
	display: block;
}
