@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 100;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 200;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 300;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 400;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 500;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 600;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 700;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 800;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

@font-face {
	font-family: Estedad;
	font-style: normal;
	font-weight: 900;
	src: url('assets/webfonts/IRANSansWeb_Medium.woff') format('woff')
}

/* Open Sans font for LTR/English */

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 100;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('woff')
}

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 200;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('woff')
}

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 300;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('woff')
}

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 400;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('truetype');
}

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 500;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('truetype');
}

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 600;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('truetype');
}

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 700;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('truetype');
}

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 800;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('truetype');
}

@font-face {
	font-family: Open-Sans;
	font-style: normal;
	font-weight: 900;
	src: url('assets/webfonts/OpenSans-Medium.ttf') format('truetype');
}



/* Default font for RTL languages */
* {
	font-family: Estedad;
}

/* For LTR direction (English), use Open Sans font family */
html[dir='ltr'] *:not(.material-icons):not([class*="icon-"]):not(i) {
    font-family: Open-Sans !important;
}

/* For RTL direction (Farsi, Arabic), ensure Estedad is used */
html[dir='rtl'] *:not(.material-icons):not([class*="icon-"]):not(i) {
    font-family: Estedad !important;
}

.loginImg {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('assets/img/login/login.png');
}

/* When direction is RTL */
[dir="rtl"] .loginImg {
  background-position: center left;
}
[dir="ltr"] .loginImg {
  background-position: center right;
}

.loginImgMobile {
	background-image: url('assets/img/login/login.png');
}

.defaultBg {
	background-image: url('assets/img/dashboard/progress-complete-bg.jpg');
}

.heroBg {
	background-image: url('assets/img/home/bg-hero.jpg');
}

@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

#fullLoader {
	z-index: 99999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

#fullLoader.global-skeleton-loader,
#pageLoader.global-skeleton-loader {
	position: fixed;
	inset: 0;
	z-index: 99999;
	width: 100%;
	height: 100%;
	align-items: flex-start;
	justify-content: stretch;
	overflow: hidden;
	background: #f7f9fc;
}

#fullLoader.global-skeleton-loader {
	display: flex;
}

#pageLoader.global-skeleton-loader {
	display: none;
}

.global-skeleton-loader .skeleton-shell {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.global-skeleton-loader .skeleton-header {
	height: 88px;
	background: #fff;
	border-bottom: 1px solid #e8eef6;
}

.global-skeleton-loader .skeleton-header-content,
.global-skeleton-loader .skeleton-content {
	width: min(100% - 48px, 1180px);
	margin: 0 auto;
}

.global-skeleton-loader .skeleton-header-content {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 100%;
}

.global-skeleton-loader .skeleton-block {
	display: block;
	overflow: hidden;
	background: linear-gradient(100deg, #e8edf4 25%, #f7f9fc 42%, #e8edf4 60%);
	background-size: 220% 100%;
	border-radius: 8px;
	animation: global-skeleton-shimmer 1.45s ease-in-out infinite;
}

.global-skeleton-loader .skeleton-logo {
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	border-radius: 50%;
}

.global-skeleton-loader .skeleton-navigation {
	display: flex;
	align-items: center;
	gap: 24px;
	flex: 1;
}

.global-skeleton-loader .skeleton-navigation .skeleton-block {
	width: 82px;
	height: 14px;
}

.global-skeleton-loader .skeleton-header-action {
	width: 116px;
	height: 38px;
	flex: 0 0 116px;
}

.global-skeleton-loader .skeleton-content {
	padding: 28px 0 48px;
}

.global-skeleton-loader .skeleton-breadcrumb {
	width: 190px;
	height: 16px;
	margin-bottom: 28px;
}

.global-skeleton-loader .skeleton-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	align-items: center;
	gap: 56px;
	min-height: 290px;
	padding: 34px;
	background: #fff;
	border: 1px solid #e8eef6;
	border-radius: 16px;
}

.global-skeleton-loader .skeleton-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.global-skeleton-loader .skeleton-kicker {
	width: 104px;
	height: 18px;
}

.global-skeleton-loader .skeleton-title {
	width: min(100%, 390px);
	height: 34px;
}

.global-skeleton-loader .skeleton-line {
	width: 100%;
	height: 13px;
}

.global-skeleton-loader .skeleton-line-short {
	width: 72%;
}

.global-skeleton-loader .skeleton-button {
	width: 132px;
	height: 40px;
	margin-top: 8px;
}

.global-skeleton-loader .skeleton-visual {
	width: 100%;
	height: 220px;
	border-radius: 12px;
}

.global-skeleton-loader .skeleton-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 34px 0 18px;
}

.global-skeleton-loader .skeleton-section-heading .skeleton-block:first-child {
	width: 178px;
	height: 24px;
}

.global-skeleton-loader .skeleton-section-heading .skeleton-block:last-child {
	width: 72px;
	height: 14px;
}

.global-skeleton-loader .skeleton-card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.global-skeleton-loader .skeleton-card {
	padding: 14px;
	background: #fff;
	border: 1px solid #e8eef6;
	border-radius: 12px;
}

.global-skeleton-loader .skeleton-card-image {
	width: 100%;
	height: 126px;
	margin-bottom: 16px;
}

.global-skeleton-loader .skeleton-card-title {
	width: 74%;
	height: 18px;
	margin-bottom: 13px;
}

.global-skeleton-loader .skeleton-card-line {
	width: 100%;
	height: 11px;
	margin-bottom: 9px;
}

.global-skeleton-loader .skeleton-card-line-short {
	width: 62%;
	margin-bottom: 2px;
}

@keyframes global-skeleton-shimmer {
	0% {
		background-position: 100% 0;
	}

	100% {
		background-position: -120% 0;
	}
}

@media (max-width: 767px) {
	.global-skeleton-loader .skeleton-header {
		height: 70px;
	}

	.global-skeleton-loader .skeleton-header-content,
	.global-skeleton-loader .skeleton-content {
		width: calc(100% - 32px);
	}

	.global-skeleton-loader .skeleton-header-content {
		gap: 16px;
	}

	.global-skeleton-loader .skeleton-logo {
		width: 46px;
		height: 46px;
		flex-basis: 46px;
	}

	.global-skeleton-loader .skeleton-navigation {
		gap: 12px;
	}

	.global-skeleton-loader .skeleton-navigation .skeleton-block {
		width: 58px;
	}

	.global-skeleton-loader .skeleton-navigation .skeleton-block:nth-child(n + 3) {
		display: none;
	}

	.global-skeleton-loader .skeleton-header-action {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.global-skeleton-loader .skeleton-content {
		padding-top: 20px;
	}

	.global-skeleton-loader .skeleton-breadcrumb {
		width: 140px;
		margin-bottom: 20px;
	}

	.global-skeleton-loader .skeleton-hero {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 22px;
	}

	.global-skeleton-loader .skeleton-visual {
		height: 170px;
	}

	.global-skeleton-loader .skeleton-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.global-skeleton-loader .skeleton-block {
		animation: none;
	}
}

.loader {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-block;
	border-top: 3px solid #9CC48A;
	border-right: 3px solid transparent;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}

.backDropMobilMenu,
.mobileMenu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh
}

.backDropMobilMenu {
    background-color: rgba(0, 0, 0, .3);
    width: 100vw;
    z-index: 99999
}

.mobileMenu {
    background-color: #fff;
    width: min(88vw, 360px);
    max-width: 100%;
    direction: rtl;
    text-align: right;
    color: #fff;
    z-index: 999999;
    font-size: 14px;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: none
}

.mobileMenu ul {
    list-style-type: none
}

.openedMobileMenu .mobileMenu {
    animation: mobileMenuEnter .22s ease-out;
    display: block
}

body.openedMobileMenu {
    left: 0;
    overflow: hidden !important;
    position: fixed;
    right: 0;
    top: var(--mobile-menu-scroll-top, 0);
    width: 100%
}

html:has(body.openedMobileMenu) {
    overflow: hidden !important;
    overscroll-behavior: none
}

@keyframes mobileMenuEnter {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
