@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap");
@font-face {
	font-family: font__Light;
	src: url("./font/IBMPlexSansArabic-Light.ttf");
}
@font-face {
	font-family: font__Regular;
	src: url("./font/IBMPlexSansArabic-Regular.ttf");
}
@font-face {
	font-family: font__Medium;
	src: url("./font/IBMPlexSansArabic-Medium.ttf");
}
@font-face {
	font-family: font__SemiBold;
	src: url("./font/IBMPlexSansArabic-SemiBold.ttf");
}
@font-face {
	font-family: font__Bold;
	src: url("./font/IBMPlexSansArabic-Bold.ttf");
}
body {
	color: var(--text__color);
	background-color: #fff;
	font-family: "font__Regular", sans-serif;
	/* font-family: "Cairo", sans-serif; */
	/* background-color: #fdfdfd; */
}
body.dark-theme {
	color: #fff;
	background-color: #090110;
}
* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}
.main-header .nav-link .header-badge,
.main-header .nav-item .header-badge {
	background-color: var(--red__color) !important;
	color: #fff !important;
}
/* ==== unset all buttons ======= */
button:focus,
a:focus {
	outline: none;
}
/* ============= GLOBAL VARIABLES ================== */

:root {
	/* ====== COLORS ====== */
	/* --main__color: #00a099; */
	--main__color: #009f98;
	--main__dark: rgba(135, 118, 151, 0.1);
	/* --light__blue: #98f3ee11; */
	/* --light__blue: #3f66fb14 ; */
	--light__blue: #eef9f8;
	--text__color: #191e38;
	--gray__color: #c2c9d1;
	--red__color: #f13637;
	--yellow__color: #f3bb1b;
	--green__color: #3dc03c;
	--gold__color: #fd8e3a;
	--blue__color: #3f66fb;
	/* ====== FONT SIZE ====== */
	--ft__14: 14px;
	--ft__16: 16px;
	--ft__18: 18px;
	--ft__20: 20px;
	--ft__22: 22px;
	--ft__24: 24px;
	--ft__28: 28px;
	/* ====== FONT FAMILY ====== */

	/* ====== FONT WEIGTH ====== */
	--ft__w__ligth: 300;
	--ft__w__regular: 400;
	--ft__w__medium: 500;
	--ft__w__semiBold: 600;
	--ft__w__bold: 700;
	--ft__w__extraBold: 900;
	/* =================== */
	--radius: 15px;
	--box__shadow: 0 0px 17px -9px rgb(0 0 0 / 11%);
	--transition: 0.4s ease-in;
}
/* ============= GLOBAL CLASSES ================== */
.horizontal-content {
	/* min-height: calc(100vh - 169px) !important; */
	min-height: auto !important;
}
.dashboard__container {
	margin-top: 75px;
	margin-bottom: 75px;
	min-height: calc(100vh - 319px);
}
.page__title {
	margin-bottom: 24px;
	font-weight: var(--ft__w__semiBold);
	color: var(--text__color);
	font-size: var(--ft__22);
	position: relative;
	width: fit-content;
	overflow: hidden;
	font-family: "font__Bold", sans-serif;
	text-transform: uppercase;
}
.page__title::first-letter {
	color: var(--main__color);
}
.page__title::after {
	content: "";
	position: absolute;
	bottom: -0;
	left: 1%;
	width: 100%;
	height: 100%;
	background-color: #fff;
	animation: 0.6s heading 0.6s ease-in-out forwards;
}
@keyframes heading {
	to {
		transform: translateX(100%);
	}
}
.main__card {
	border-radius: var(--radius);
	background-color: #fff;
	box-shadow: var(--box__shadow);
	overflow: hidden;
	border: 1px solid #00a0983f;
}
.main__card .card__title {
	font-size: var(--ft__18);
	font-weight: var(--ft__w__semiBold);
	font-family: "font__SemiBold", sans-serif;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #00a0983f;
	background-color: var(--light__blue);
}
.main__card .card__footer {
	padding: 20px;
	border-top: 1px solid #00a0983f;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--light__blue);
}
.main__btn {
	padding: 8px 20px;
	/* background-color: var(--main__color); */
	/* color: #fff; */
	font-weight: var(--ft__w__semiBold);
	font-family: "font__SemiBold", sans-serif;
	border-radius: 50px;
	transition: var(--transition);
	position: relative;
	background-color: #fff;
	color: var(--main__color);
	border: 2px solid var(--main__color);
	overflow: hidden;
	/* z-index: 10; */
	z-index: 0;
}
.main__btn:hover {
	color: #fff;
}
.main__btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--main__color);
	transform: translateX(-100%);
	transition: var(--transition);
	z-index: -1;
}
.main__btn:hover::after {
	transform: translate(0);
}
/* ============ tabel ================== */
.dataTables_wrapper .row {
	padding: 20px;
}
.dataTables_wrapper .row:last-of-type {
	/* border-top: 1px solid #00a0983f; */
	padding: 14px 20px;
	background-color: var(--light__blue);
}
.dataTables_wrapper .row:first-of-type {
	/* border-bottom: 1px solid #00a0983f; */
	background-color: var(--light__blue);
}
.dataTables_wrapper .row:first-of-type label {
	margin-bottom: 0;
	font-size: var(--ft__14);
	font-weight: var(--ft__w__semiBold);
	font-family: "font__SemiBold", sans-serif;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
}
div.dataTables_wrapper div.dataTables_info,
.dataTables_wrapper .dataTables_paginate,
.dataTables_info {
	margin-top: 0 !important;
}
div.dataTables_wrapper div.dataTables_info {
	font-family: "font__SemiBold", sans-serif;
}
div.table-responsive
	> div.dataTables_wrapper
	> div.row
	> div[class^="col-"]:first-child {
	display: flex;
	align-items: center;
	font-weight: var(--ft__w__semiBold);
}
div.dataTables_wrapper div.dataTables_length select {
	width: auto;
	display: inline-block;
	width: 100px;
	outline: none;
	/* border: 1px solid #4a4a69b5; */
	text-align: center;
	font-weight: var(--ft__w__semiBold);
}
div.dataTables_wrapper div.dataTables_length select:focus {
	border-color: var(--main__color);
}
div.dataTables_wrapper div.dataTables_filter input {
	margin-left: 0.5em;
	display: inline-block;
	width: auto;
	/* border: 1px solid #4a4a69b5; */
	width: 500px;
	max-width: 100%;
}
.product-details > table thead th,
table.dataTable thead tr:first-child th {
	background-color: var(--main__color);
	text-align: center !important;
	padding: 15px 20px;
	font-family: "font__Bold", sans-serif;
	color: #fff;
}
.dataTables_wrapper table.dataTable {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
table.dataTable thead th,
table.dataTable thead td {
	color: #fff;
}
.product-details tr > td,
table.table-bordered.dataTable td {
	text-align: center;
	font-family: "font__Light", sans-serif;
}
div.table-responsive
	> div.dataTables_wrapper
	> div.row:nth-child(2)
	.col-sm-12 {
	overflow-x: scroll;
	width: 100%;
}
div.table-responsive > div.dataTables_wrapper > div.row:nth-child(2) {
	border: 1px solid #00a0983f;
	border-left: 0;
	border-right: 0;
}
.dataTables_wrapper .dataTables_filter {
	width: 100%;
}
.dark-theme.rtl .form-select {
	background-image: unset;
}
/* ============ status ================== */
.status {
	background-color: var(--gold__color);
	width: 100px;
	text-align: center;
}
.status.accepted {
	background-color: var(--blue__color);
}
.status.rejected {
	background-color: var(--red__color);
}
.status.delivered {
	background-color: var(--green__color);
}
.status.status.operation {
	background-color: var(--text__color);
}
.status.shipping {
	background-color: var(--yellow__color);
}
/* ========== Start language Popup ============ */
.lang__modal .modal-content {
	border: none;
}
.lang__modal#country-selector .modal-header {
	background-color: var(--main__color);
	border-bottom: none !important;
	color: #fff;
}
.lang__modal .modal-title {
	font-family: "font__SemiBold", sans-serif;
}
.lang__modal#country-selector .modal-body:before,
.lang__modal#country-selector .modal-body {
	background-color: #fff;
}
.lang__modal .btn-country {
	border: 1px solid var(--main__color);
}
.lang__modal .btn-country.active {
	background-color: var(--main__color);
	color: #fff;
}
.lang__modal .country-selector img {
	border-radius: 4px;
	height: 41px;
	width: 54px;
	object-fit: cover;
	box-shadow: none !important;
}
/* ========== End language Popup ============ */
/* ======== DARK ========== */
.dark-theme .main__card {
	/* background-color: rgb(20, 8, 30); */
	background-color: transparent;
	color: #fff;
	border: 1px solid #ffffff1c;
}
.dark-theme .main__card .card__footer,
.dark-theme .main__card .card__title {
	background-color: rgb(22 13 29);
	border-bottom: 1px solid #cccccc40;
}
.dark-theme .main__card .card__footer {
	border-top: 1px solid #cccccc40;
	border-bottom: none;
}
.dark-theme .product-details > table thead th,
.dark-theme .product-details > table thead th,
.dark-theme table.dataTable thead tr:first-child th {
	background-color: #1f162694;
}
.dark-theme .table tbody tr,
.dark-theme .table-bordered thead th {
	background-color: #2a2e3f6b;
}
.dark-theme
	div.table-responsive
	> div.dataTables_wrapper
	> div.row:nth-child(2) {
	border: 1px solid #ffffff1c;
	border-left: 0;
	border-right: 0;
}
.dark-theme .order__page .main__card {
	background-color: transparent;
}
.dark-theme .main__btn {
	border-color: #fff;
	color: #fff;
	background-color: transparent;
}
.dark-theme .main__btn:hover {
	border-color: var(--main__color);
}
.dark-theme .page__title {
	color: #fff;
}
.dark-theme .page__title::after {
	background-color: var(--main__color);
}
.dark-theme .dataTables_wrapper .row:first-of-type {
	background-color: #160d1d;
	/* border-bottom: 1px solid #cccccc40; */
	border-radius: 15px 15px 0 0;
}
.dark-theme .dataTables_wrapper .row:last-of-type {
	background-color: #160d1d;
	/* border-top: 1px solid #cccccc40; */
	border-radius: 0 0 15px 15px;
}
.dark-theme input {
	border-color: #c9c9c9 !important;
}
/* ============== HEADER =============== */
.dark-theme .main__sidebar,
.dark-theme .main__header {
	background-color: #160d1d;
	border-color: #cccccc0d !important;
}
.dark-theme .main-footer {
	background-color: var(--main__dark);
	border-color: #cccccc0d;
}
/* ========== inputs & textarea ========== */
textarea.form-control:focus,
input.form-control:focus {
	border: 1px solid var(--main__color) !important;
}
textarea.form-control {
	height: auto !important;
	min-height: 150px !important;
	resize: none !important;
}
label.form-label {
	opacity: 0.8;
	color: var(--text__color);
	font-family: "font__Medium", sans-serif;
}
/* ====== inputs in dark ====== */
.dark-theme .form-control,
.dark-theme textarea.form-control,
.dark-theme input.form-control {
	border: 1px solid #626161 !important;
	background-color: transparent;
}
.dark-theme textarea.form-control:focus,
.dark-theme input.form-control:focus {
	border: 1px solid #fff !important;
}
.dark-theme select option,
.dark-theme div.dataTables_wrapper div.dataTables_length select {
	background-color: #fff;
	color: var(--text__color);
}
/* ========== end inputs & textarea ========== */
@media (max-width: 767px) {
	div.dataTables_wrapper div.dataTables_filter input {
		width: 100%;
	}
	div.dataTables_wrapper div.dataTables_filter {
		margin-top: 14px;
	}
}
#ui_notifIt {
	z-index: 100000000;
}
.header-icons .new.nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
}
/* ============ loader ========= */
.lds-roller {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}
.lds-roller div {
	animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	transform-origin: 40px 40px;
}
.lds-roller div:after {
	content: " ";
	display: block;
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	/* background: #fff; */
	background-color: var(--main__color);
	margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
	animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
	top: 63px;
	left: 63px;
}
.lds-roller div:nth-child(2) {
	animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
	top: 68px;
	left: 56px;
}
.lds-roller div:nth-child(3) {
	animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
	top: 71px;
	left: 48px;
}
.lds-roller div:nth-child(4) {
	animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
	top: 72px;
	left: 40px;
}
.lds-roller div:nth-child(5) {
	animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
	top: 71px;
	left: 32px;
}
.lds-roller div:nth-child(6) {
	animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
	top: 68px;
	left: 24px;
}
.lds-roller div:nth-child(7) {
	animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
	top: 63px;
	left: 17px;
}
.lds-roller div:nth-child(8) {
	animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
	top: 56px;
	left: 12px;
}
@keyframes lds-roller {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

div.dataTables_wrapper div.dataTables_processing {
	margin: 0 !important;
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff8f !important;
	backdrop-filter: blur(2px);
}
#table__loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
/* trash__btn */
.trash__btn {
	background-color: #f1363730;
	color: var(--red__color) !important;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	cursor: pointer;
	margin-right: 4px;
	transition: 0.3s ease-in-out;
	opacity: 0.6;
}
.trash__btn:lang(ar) {
	margin-right: 0;
	margin-left: 4px;
}
.trash__btn:hover {
	opacity: 1;
	transform: scale(1.04);
}
.trash__btn i {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: auto;
}
/* =================================== */
.product-details tr > td,
table.table-bordered.dataTable td,
table.table-bordered.dataTable thead tr:first-child th,
table.table-bordered.dataTable thead tr:first-child td {
	display: table-cell !important;
}
/* ====================================== */
.chat__link__btn {
	position: fixed;
	bottom: 78px;
	right: 21px;
	font-size: 45px;
	color: var(--main__color);
	opacity: 0.7;
	transition: 0.3s linear;
}
.chat__link__btn:hover {
	opacity: 1;
	animation: animateB 0.5s linear infinite alternate-reverse;
	color: var(--main__color);
}
@keyframes animateB {
	to {
		transform: scale(1.089999);
	}
}
