﻿/* font family */
@font-face {
	font-family: 'YekanBakh';
	src: url('../lib/YekanBakh/YekanBakhFaNum-100Thin.woff') format('woff');
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('../lib/YekanBakh/YekanBakhFaNum-300Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('../lib/YekanBakh/YekanBakhFaNum-400Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('../lib/YekanBakh/YekanBakhFaNum-600SemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'YekanBakh';
	src: url('../lib/YekanBakh/YekanBakhFaNum-700Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('../lib/Roboto/Roboto-Regular400.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('../lib/Roboto/Roboto-Medium500.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('../lib/Roboto/Roboto-Bold700.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

body,
body span,
body option,
body input,
body select,
body textarea,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body button,
body article,
body li,
body div {
	font-family: 'Roboto';
}

body.rtl,
body.rtl span,
body.rtl option,
body.rtl input,
body.rtl select,
body.rtl textarea,
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl p,
body.rtl a,
body.rtl button,
body.rtl article,
body.rtl li,
body.rtl div {
	font-family: 'YekanBakh';
}

input {
	outline: none;
}

input.error {
	border: 1px solid #c00 !important;
}

.error-text {
	visibility: hidden;
	color: var(--state-color-Error, #c00);
	font-size: 12px;
	font-style: normal;
	font-weight: 300;
	line-height: 26px; /* 216.667% */
	min-height: 26px;
	display: none;
}

.error-text.active {
	visibility: visible;
	display: block;
}

.login-card-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 368px;
	margin-inline: auto;
	margin: 20px auto;
}

.login-card {
	border-radius: 24px;
	border: 1px solid var(--secondary-100, #e6e7ee);
	background: var(--gray-color-100, #fff);
	box-shadow: 0px 4px 56px 0px rgba(18, 18, 18, 0.08);
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 40px;
	width: 368px;
	max-width: 368px;
	position: relative;
}

.login-card > div[id] {
	width: 100%;
	max-width: 100%;
}

.login-title {
	color: #0b1655;
	text-align: center;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 40px; /* 200% */
	margin-block: 22px;
}

.login-input-group {
	position: relative;
	width: 100%;
}

.login-input-group label {
	color: var(--Gray-40);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	position: absolute;
	top: 0;
	left: 12px;
	transform: translateY(-50%);
	background-color: #fff;
	padding-inline: 12px;
	margin-bottom: 0;
}

body.rtl .login-input-group label {
	left: unset;
	right: 12px;
}

.login-input-group input {
	border-radius: 6px;
	border: 1px solid var(--Gray-90, #cbd5e1);
	max-height: 48px;
	color: var(--gray-color-700, #334155);
	font-size: 16px;
	text-align: left;
	font-style: normal;
	width: 100%;
	font-weight: 600;
	line-height: 32px; /* 200% */
	padding: 8px;
	transition: 0.5s;
	direction: ltr;
	background: #fff !important;
}

.login-input-group input:focus,
.login-input-group input:active,
.login-input-group input:focus-visible {
	border-color: var(--Gray-50);
	background: #fff !important;
}

html body input:-internal-autofill-selected {
	background: #fff !important;
}

.login-input-group a {
	color: #6a719a;
	font-size: 12px;
	font-weight: 400;
}

.login-form-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	gap: 2rem;
	align-items: flex-start;
}

.secret-code-wrapper {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	align-items: start;
	position: relative;
}

.secret-code-wrapper label {
	color: var(--gray-color-500, #495566);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px; /* 200% */
	position: absolute;
	top: 0;
	left: 12px;
	background: #fff;
	padding-inline: 12px;
	transform: translateY(-50%);
}

body.rtl .secret-code-wrapper label {
	left: unset;
	right: 12px;
}

.secret-code-fields {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	width: 100%;
}

.secret-code-fields input {
	border-radius: 6px;
	border: 1px solid var(--gray-color-200, #cbd5e1);
	color: var(--gray-color-700, #334155);
	font-size: 14px;
	max-height: 48px;
	text-align: left;
	font-style: normal;
	width: 100%;
	font-weight: 600;
	line-height: 32px; /* 200% */
	padding: 8px;
	width: calc(50% - 6px);
	direction: ltr;
}

.secret-code-fields input:focus {
	border-color: #545960;
}

.captcha-wrapper {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 6px;
	width: calc(50% - 24px);
}

body.rtl .captcha-wrapper {
	width: calc(50% - 6px);
}

.captcha-wrapper img {
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.captcha-wrapper .captcha {
	width: 100%;
}

.captcha-wrapper .captcha img {
	width: 100%;
	height: auto;
}

.captcha-container {
	flex: 0 0 100%;
}

.w-100 {
	width: 100%;
}

.login-img {
	width: 120px;
	height: 48px;
}

.btn {
	border-radius: 6px !important;
	padding-block: 8px !important;
	outline: none !important ;
	width: 100% !important;
	height: 48px !important;
	max-height: 48px !important;
	border: 1px solid transparent;
	transition: all 300ms ease-in-out !important;
	display: flex;
	align-items: center !important;
	justify-content: center !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 600 !important;
	transition: 0.5s;

	line-height: 32px !important; /* 200% */
}

.next-btn,
.profile-btn {
	border-color: #00a28f !important;
	color: #fff !important;
	background: var(--primary-600, #00a28f) !important;
}

.next-btn:hover,
.profile-btn:hover {
	border: 1px solid #00a28f !important;
	color: #00a28f !important;
	background: #fff !important;
}

.with-password,
.reset-password-link {
	text-align: center;
	background: #fff !important;
	color: #00a28f !important;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 32px;
	transition: 0.5s;
}

.with-password:hover,
.reset-password-link:hover {
	border-color: #00a28f !important;
}
.with-password {
	display: none;
}
.prev-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--gray-color-400, #545960);
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 28px; /* 200% */
	background: transparent;
	outline: none !important;
	border: none !important;
	position: absolute;
	top: 1.875rem;
	left: 1rem;
}

.prev-btn img {
	transform: rotate(180deg) translateY(-3px);
}

body.rtl .prev-btn {
	right: 1rem;
	left: unset;
}

body.rtl .prev-btn img {
	transform: rotate(0deg) translateY(0);
}

.btns-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	margin-top: 2rem;
}

.btns-group > .btn.logout-btn {
	background: #fff;
	border-color: #c00;
}

.btns-group > .btn.profile-btn {
	background: #3982fb;
	color: #fff;
	border-color: transparent;
}

.form-step {
	width: 100%;
	display: none;
}

.form-step.active {
	display: block;
}

.try-otp {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 14px;
}

.try-otp > p.counter {
	user-select: none;
}

.try-otp p {
	color: var(--gray-color-400, #545960);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px; /* 216.667% */
	margin-bottom: 0;
}

.send-otp {
	cursor: pointer;
	color: #6a719a;
	font-size: 12px;
	font-weight: 400;
	user-select: none;
}

.send-otp span:first-child {
	color: var(--primary-600, #00a28f);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px; /* 216.667% */
}

body.rtl .send-otp .ezIcon {
	transform: rotate(180deg);
}

/* .send-otp .ezIcon {
  margin-inline-start: 4px;
}

body.rtl .send-otp .ezIcon {
  margin-inline-start: 0;
  margin-inline-end: 4px;
} */

.send-otp:hover {
	text-decoration: underline;
}

@media screen and (max-width: 1000px) {
	.login-card {
		width: 100%;
	}

	.secret-code-fields {
		flex-direction: column;
	}

	.secret-code-fields input {
		width: 100%;
	}

	.captcha-wrapper {
		width: 100%;
		justify-content: center;
	}

	.login-img {
		width: 200px;
		height: 120px;
	}

	.login-card {
		padding: 1rem;
		max-width: unset;
	}

	.captcha-wrapper .captcha {
		width: 50%;
	}
}

.force-password-group {
	display: none;
	flex-wrap: wrap;
}

.fade {
	opacity: 0;
	-webkit-transition: opacity 0.15s linear;
	-o-transition: opacity 0.15s linear;
	transition: opacity 0.15s linear;
}

.fade.in {
	opacity: 1;
}

.error-msg {
	display: none;
	width: 100%;
	user-select: none;
	flex: 0 0 100%;
	font-size: 12px;
	font-style: normal;
	font-weight: 300;
	line-height: 26px; /* 216.667% */
	margin-top: 6px;
}

.error-msg.active {
	display: block;
}

.error-msg-danger {
	color: #cc0000 !important;
}

.error-msg-success {
	color: #28a745;
}

.otp-inputs {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 1rem;
}

.otp-input {
	text-align: center !important;
}

.login-code-label {
	position: static !important;
	padding: 0 !important;
	transform: translateY(0) !important;
	margin-bottom: 24px !important;
}

.logout-btn {
	color: #fff !important;
	border: 1px solid #c00 !important;
	background-color: #c00 !important;
}

.logout-btn:hover {
	color: #c00 !important;
	background: #fff !important;
}

#ProfileLogout {
	flex-direction: column-reverse;
}

.eye-icons {
	position: absolute;
	top: 50%;
	right: 1rem;
	transform: translateY(-50%);
	cursor: pointer;
}

.eye-icon,
.eye-icon-slash {
	opacity: 1;
	visibility: visible;
}

.eye-icon.active,
.eye-icon-slash.active {
	position: absolute;
	top: 0;
	right: 1rem;
	transform: translateY(-50%);
	opacity: 0;
	visibility: hidden;
}

.global-notify-container {
	margin: 16px 0;
	display: none;
	min-height: 21px;
}

.global-notify-container.active {
	display: block;
}

.spinner {
	width: 2em;
	height: 2em;
	border: 0.2em solid #ccc;
	border-top: 0.2em solid #1d72b8;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin: auto;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
