/* style-portal.css */
/* -------------------- CSS Reset -------------------- */
* {
	margin: 0px;
	padding: 0px;

	font-weight: 600;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
/* no link underline */
a,
ul,
ol {
	text-decoration: none;
	list-style: none;
	color: var(--text);
}

/* -------------------- Font declare ---------------- */
@font-face {
	font-family: "Sahel";
	src: url("/fonts/Sahel-FD.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Sahel";
	src: url("/fonts/Sahel-FD-Bold.woff") format("woff");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

html[dir="rtl"] {
	font-family:
		"Sahel",
		sans-serif,
		system-ui,
		-apple-system,
		BlinkMacSystemFont;
}

html[dir="ltr"] {
	font-family:
		system-ui,
		sans-serif,
		-apple-system,
		BlinkMacSystemFont;
}

html {
	scroll-behavior: smooth;
}
/* -------------------- Themes Light / Dark -------------------- */
/* Global Transition */
:root,
.light-theme {
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease,
		fill 0.25s ease,
		box-shadow 0.25s ease;
}
/* Default Theme: Dark */
:root {
	--bg: black;
	--bg-img: url("/img/bg/dark-bg.jpg");
	--header-accent: #ffffff0f;
	--glassy: #ffffff20;
	--glass-border: 1px solid rgba(126, 126, 126, 0.3);
	--text: #f1f1f1;
	--card-bg: linear-gradient(to right, #43434378, #151f3e43);
	--site-title: linear-gradient(
		to bottom,
		rgba(255, 255, 255) 30%,
		rgb(255 255 255 / 0%) 80%
	);
	--h-subt: #b8e3ff;
	--page-title: linear-gradient(
		to bottom,
		rgba(255, 255, 255) 30%,
		rgb(255 255 255 / 0%) 80%
	);
	--accent: orange;
	--accent-hover: rgb(255, 89, 0);
	--section-title: linear-gradient(
		to Right,
		var(--accent) 30%,
		rgba(182, 238, 16, 0.958) 80%
	);
	--menu-bg: #242424;
	--form-comment: Chartreuse;
	--form-item-bg: rgba(116, 116, 116, 0.5);
	--form-focus-bg: rgba(174, 124, 67, 0.23);
	--form-sectiontitle-text: lime;
	--form_sectiontitle-bg: rgba(224, 255, 255, 0.252);
	--form-placeholder-text: rgb(179, 179, 179);
	--radio-group-color: lime;

	--box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
	--modal-bg: rgba(255, 255, 255, 0.1);
	--modal-font-color: orange;
	--li-1: red;
	--li-2: orange;
	--li-3: yellow;
	--li-4: lime;
	--li-5: cyan;
	--mix-theme: black;
	--theme-icon: orange;
	--theme-icon-bg: rgba(255, 255, 255, 0.2);
}
/* Light Theme */
.light-theme {
	--bg: white;
	--bg-img: url("/img/bg/light-bg.jpg");
	--header-accent: rgba(0, 128, 128, 0.5);
	--glassy: #ffffff31;
	--glass-border: 1px solid rgba(126, 126, 126, 0.3);
	--text: #111827;
	--text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
	--card-bg: transparent;
	--site-title: linear-gradient(
		to bottom,
		rgba(255, 255, 255) 30%,
		rgb(255 255 255 / 0%) 80%
	);
	--h-subt: lime;
	--page-title: linear-gradient(
		to bottom,
		var(--accent) 30%,
		rgba(165, 165, 165, 0.3) 80%
	);
	--accent: teal;
	--accent-hover: rgb(0, 209, 209);
	--section-title: linear-gradient(
		to Right,
		var(--accent) 30%,
		rgb(146, 192, 8) 80%
	);
	--menu-bg: #ececec;
	--form-comment: seagreen;
	--form-item-bg: rgba(223, 223, 223, 0.874);
	--form-focus-bg: rgba(184, 204, 209, 0.444);
	--form-sectiontitle-text: green;
	--form_sectiontitle-bg: rgba(102, 233, 152, 0.25);
	--form-placeholder-text: rgba(44, 184, 200, 0.674);
	--radio-group-color: lime;

	--box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
	--modal-bg: white;
	--modal-font-color: cyan;

	--li-1: red;
	--li-2: darkorange;
	--li-3: magenta;
	--li-4: green;
	--li-5: blue;
	--mix-theme: white;

	--theme-icon: white;
	--theme-icon-bg: rgba(0, 0, 75, 0.8);
}
/* Body */
.header-portal,
.footer-portal {
	position: fixed;
	width: 100%;
	height: 20px;
	background-color: var(--header-accent);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	z-index: 1000;
}
.header-portal {
	top: 0;
	justify-content: center;
}
.footer-portal {
	bottom: 0;
	justify-content: space-between;
	padding: 0 1rem;
	color: white;
	font-size: 0.6rem;
}
.header-portal img,
.footer-portal img {
	height: 17px;
	padding: 1px 0;
}
body {
	background: var(--bg-img), var(--bg);
	background-attachment: fixed;
	background-size: 100%;
	background-repeat: repeat-y;
	background-position: top left;
	color: var(--text);
	overflow-x: hidden;
	user-select: none;
}

button,
img {
	user-select: none;
}
/* icons */
.side-menu {
	position: fixed;
	inset-inline-end: 0.5rem;
	inset-block-start: 2rem;
	z-index: 10000;
	cursor: pointer;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}
.side-icons,
.lang-item {
	box-shadow: var(--box-shadow);
	display: flex;
	text-align: center;
	border: var(--glass-border);
	backdrop-filter: blur(25px);
	padding: 10px;
	transition: all 200ms ease;
	border-radius: 6px;
	aspect-ratio: 1/1;
}
.side-icons.theme-switcher {
	color: var(--theme-icon);
	background: var(--header-accent);
	/* border-start-start-radius: 3rem;  for mobile*/
}
.theme-icon {
	height: 25px;
}
.theme-switcher .theme-icon {
	transition: all 0.3s ease-in-out;
	transform: rotate(0) scale(1);
}
.theme-switcher:hover .theme-icon {
	transform: rotate(130deg) scale(1.25);
}
/* Language Switcher */
.lang-menu {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	cursor: auto;
}
.lang-item {
	overflow: hidden;
	padding: 10px;
	height: 2.5rem;
	width: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	justify-items: center;
}
.lang-item .lang-flag {
	position: absolute;
	transform: scale(0.01);
	display: flex;
	align-items: center;
	justify-content: center;
	justify-items: center;
	opacity: 0;
	transition: all 0.25s ease;
	box-shadow: 0 3px 8px #0002;
	pointer-events: none;
}
.lang-item .lang-flag img {
	width: 40px;
	height: auto;
	border-radius: 8px;
}
.lang-item:hover .lang-flag {
	transform: scale(1.05) translateY(9%);
	opacity: 1;
	pointer-events: auto;
}

/* ---------------------Scroll Bar ---------------------- */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: linear-gradient(to bottom, rgb(255, 255, 255), #3e3e3e)
		transparent;
	border-radius: 15px;
}

::-webkit-scrollbar-thumb {
	background: var(--accent);
	border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--accent-hover);
	cursor: pointer;
}

/* ----------------------- Body ------------------------ */
.subtitle {
	font-size: 1.8rem;
	color: var(--accent);
	text-shadow: var(--text-shadow);
	font-weight: 800;
	border-inline-start-style: solid;
	border-inline-start-color: var(--accent-hover);
	border-inline-start-width: 0.4rem;
	padding-inline-start: 1rem;
}
.subtitle:hover {
	animation: 1500ms textcolorchange linear infinite;
}
@keyframes textcolorchange {
	0% {
		color: var(--accent);
	}
	50% {
		color: var(--accent-hover);
	}
	100% {
		color: var(--accent);
	}
}
.body-text {
	background: linear-gradient(120deg, #db3ced 20%, var(--accent) 50%);
	-webkit-background-clip: text;
	background-clip: text;
	padding: 20px 0;
	color: transparent;
	background-size: 200%;
	transition: all 200ms ease-in-out;
	font-size: 1.3rem;
	font-weight: 600;
	text-align: justify;
}
.body-img {
	width: 100%;
	object-fit: contain;
	border-radius: 12px;
}
.card {
	padding: 20px;
	backdrop-filter: blur(2px);
	background: var(--card-bg);
	border-radius: 8px;
	border: 1px solid #ffffff22;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
	height: auto;
	overflow: visible;
}
.list {
	list-style: circle;
	list-style-position: inside;
}
.olist {
	list-style: decimal;
	list-style-position: outside;
	padding-inline-start: 1.5rem;
}
.list li,
.olist li {
	padding-inline-start: 1rem;
	color: var(--text);
	font-weight: 300;
	font-size: 1rem;
	text-align: justify;
}
/* ------------------------------ Contact Page ------------------------- */
.contact-box {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: auto;
	gap: 1rem;
	grid-template-areas:
		"item1	item1	item2	item2   item2   item2"
		"item1	item1	.		.		.		.	"
		"item1	item1	item3	item3	item4	item4"
		"item1	item1	item5	item5	item6	item6"
		".		.		.		.		.		.	"
		"item7	item7	item8	item8	item9	item9";
}
.item {
	display: flex;
	flex-direction: column;
	align-items: start;
	text-align: start;
	gap: 10px;
	border-radius: 8px;
	padding: 20px;
	border: solid 1px rgba(128, 128, 128, 0.155);
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
	transition: all 200ms ease-in-out;
}
.item h4 {
	color: var(--accent);
}
.item1 {
	padding: 0;
	grid-area: item1;
	overflow: hidden;
}
.item1 img {
	height: 100%;
	object-fit: cover;
}
.item2 {
	grid-area: item2;
	display: flex;
	justify-content: center;
	align-items: center;
}
.item3 {
	grid-area: item3;
}
.item4 {
	grid-area: item4;
}
.item5 {
	grid-area: item5;
}
.item6 {
	grid-area: item6;
}
.item7 {
	grid-area: item7;
}
.item8 {
	grid-area: item8;
}
.item9 {
	grid-area: item9;
}
.item10 {
	grid-area: item10;
}
.contact-app-icons {
	display: flex;
	gap: 1rem;
	justify-content: space-around;
}

/* ---------------- Social Icons ---------------- */

.social-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin: 10px 0;
	padding: 0;
	list-style: none;
}

.social-icons li a {
	position: relative;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--glassy);
	border: 1px solid #ffffff22;
	backdrop-filter: blur(6px);
	transition: all 200ms ease;
}

.social-icons li a:hover {
	background: var(--accent);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.social-icons img {
	width: 26px;
	height: 26px;
	filter: brightness(0) invert(1);
	transition: transform 200ms ease;
}

/* ---------------- Tooltip ---------------- */
.tooltip {
	position: absolute;
	bottom: 115%;
	left: 50%;
	transform: translateX(-50%) translateY(6px);

	background: var(--accent);
	color: #fff;
	padding: 6px 10px;
	border-radius: 8px;

	font-size: 0.75rem;
	white-space: nowrap;

	opacity: 0;
	pointer-events: none;
	transition: all 200ms ease;

	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.has-tooltip:hover .tooltip {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 6px;
	border-style: solid;
	border-color: var(--accent) transparent transparent transparent;
}

.customer-guide-box {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	backdrop-filter: blur(5px);
	border: solid 1px var(--form-comment);
	padding: 10px;
}
.cts-note {
	display: flex;
	color: var(--form-comment);
	font-size: 1rem;
	gap: 0.4rem;
	border-bottom: solid 1px var(--form-comment);
	margin-bottom: 5px;
}
.cts-note-text {
	font-size: 0.8rem;
	text-align: justify;
	padding-bottom: 5px;
}
.cts-note-text-list {
	list-style: decimal;
	font-size: 0.8rem;
	padding: 0 1rem;
	text-indent: 0.2rem;
	text-align: justify;
}
.cts-note-text-list li {
	font-weight: 500;
	margin: 2px 0;
}
/* ------------------------------- buttons btn ---------------------------------- */
.p-btn,
.s-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	gap: 0.5rem;
	padding: 0.2rem 0.5rem;
	border-radius: 0.4rem;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	text-align: center;
	transition: all 100ms ease-in-out;
	-webkit-box-reflect: below 10px
		linear-gradient(to bottom, rgba(0, 0, 0, 0.001), rgba(0, 0, 0, 0.15));
}
.p-btn {
	background-color: var(--accent);
	color: white;
}
.p-btn-default,
.p-btn-flip {
	gap: 0.5rem;
	padding: 0.2rem 0.5rem;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	justify-content: space-around;
	transition: all 0.3s ease;
}
.p-btn-flip {
	position: absolute;
	inset: 0;
	background-color: black;
	transform: translate(0%, 100%);
}

.p-btn-default span {
	color: white;
}

.p-btn-flip span {
	color: white;
}

.p-btn:hover .p-btn-default {
	transform: translate(0%, -100%);
}

.p-btn:hover .p-btn-flip {
	transform: translate(0%, 0%);
}
.s-btn {
	display: flex;
	gap: 0.5rem;
	padding: 0.2rem 0.5rem;
	justify-content: space-between;
	border: 2px solid var(--accent);
	background: transparent;
	color: var(--accent);
}

.s-btn:hover {
	transform: scale(1.1);
	background-color: var(--accent);
	color: white;
}
.disabled {
	background-color: color-mix(in srgb, white, rgba(128, 128, 128, 0.5) 40%);
	color: color-mix(in srgb, white, var(--text) 30%);
	border: var(--glass-border);
	pointer-events: none;
}

/* ------------------------------- FORMS ---------------------------- */

.customer-info-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	gap: 1rem;
	grid-template-areas:
		"ft1	ft1		ft1		ft1"
		"f1		f2		f3		f4"
		"f5		f6		f6		f6"
		"f7		f8		f8		f8"
		".	.	.	."
		".	.	.	."
		"ft2	ft2 	ft2		ft2"
		"f9		f10		f11		f12"
		"ft3	ft3		ft3		ft3"
		"f13	f14		f15		f15"
		"f16	f16		f16		f16"
		"ft4	ft4		ft4		ft4"
		"f17	f17		f18		f18"
		"f19	f19		f20		f20"
		"f19p	f19p	f19p	f19p"
		"f21	f22		f23		f23"
		"f24	f24		f24		f25";
}
.f {
	background-color: var(--form-item-bg);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 10px;
	border-radius: 8px;
	overflow: hidden;
	transition: all 300ms ease;
	border: var(--glass-border);
}
.f label {
	color: rgb(240, 130, 130);
	text-align: center;
	color: var(--accent);
}
.f input,
.f select,
.f textarea {
	font-family: inherit;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 3px 10px;
	width: 100%;
	outline: none;
	background-color: transparent;
	font-size: 0.8rem;
	color: var(--text);
	caret-color: var(--accent);
}

.f select {
	margin: 10px 0;
	color: var(--accent-hover);
}
.f input:focus,
.f textarea:focus {
	border-bottom: solid 2px var(--accent);
}
.f:focus-within {
	background-color: var(--form-focus-bg);
}
.f img {
	max-height: 100px;
	width: auto;
}
.ft {
	color: var(--form-sectiontitle-text);
	border-inline-start: solid 4px var(--form-sectiontitle-text);
	border-radius: 12px;
	justify-content: right;
	padding-inline-start: 1rem;
	background-color: var(--form_sectiontitle-bg);
}
.f-comment {
	font-size: 0.7rem;
	color: var(--form-comment);
	font-weight: bold;
	text-align: center;
}
.f .radio-group {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	align-items: center;
	border-radius: 15px;
	padding: 8px;
	accent-color: var(--radio-group-color);
}
.edu-item,
.exp-item,
.skill-item {
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
}
.hidden {
	display: none;
	opacity: 0;
	/* remove opacity 0 if BUG */
}
.ft1 {
	grid-area: ft1;
}
.ft2 {
	grid-area: ft2;
}
.ft3 {
	grid-area: ft3;
}
.ft4 {
	grid-area: ft4;
}
.ft5 {
	grid-area: ft5;
}

.f1 {
	grid-area: f1;
}
.f2 {
	grid-area: f2;
}
.f3 {
	grid-area: f3;
}
.f4 {
	grid-area: f4;
}
.f5 {
	grid-area: f5;
}
.f6 {
	grid-area: f6;
}
.f7 {
	grid-area: f7;
}
.f8 {
	grid-area: f8;
}
.f9 {
	grid-area: f9;
}
.f10 {
	grid-area: f10;
}

.f11 {
	grid-area: f11;
}
.f12 {
	grid-area: f12;
}
.f13 {
	grid-area: f13;
}
.f14 {
	grid-area: f14;
}
.f15 {
	grid-area: f15;
}
.f16 {
	grid-area: f16;
}
.f17 {
	grid-area: f17;
}
.f18 {
	grid-area: f18;
}
.f19 {
	grid-area: f19;
}
.f19p {
	grid-area: f19p;
}

.f20 {
	grid-area: f20;
}

.f21 {
	grid-area: f21;
}
.f22 {
	grid-area: f22;
}
.f23 {
	grid-area: f23;
}
.f24 {
	grid-area: f24;
}
.f25 {
	grid-area: f25;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Placeholder format */
input::placeholder,
textarea::placeholder {
	color: var(--form-placeholder-text);
	font-size: 0.75rem;
	opacity: 1;
	padding-inline-start: 0.2rem;
	text-align: center;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: var(--form-placeholder-text);
	font-size: 0.75rem;
	padding-inline-start: 0.2rem;
	text-align: center;
}

/* Firefox */
input::-moz-placeholder,
textarea::-moz-placeholder {
	color: var(--form-placeholder-text);
	font-size: 0.75rem;
	opacity: 1;
	padding-inline-start: 0.2rem;
	text-align: center;
}

.pasteur-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 1rem;
}

.pasteur-stage {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Login */
.login-container {
	display: flex;
	justify-content: center;
	align-items: center;
	justify-items: center;
	gap: 1rem;
	margin: 5rem;
}
.login-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-items: center;
	gap: 2rem;
	border: var(--glass-border);
	background: var(--glassy);
	backdrop-filter: blur(5px);
	box-shadow: var(--box-shadow);
	border-radius: 1rem;
	padding: 2rem;
	width: fit-content;
}
.login-container h2 {
	color: var(--accent);
	font-size: 2rem;
	font-weight: 1000;
}
.login-form .remember-me {
	font-weight: 200;
	font-size: 0.9rem;
}
.login-form .login-btns {
	display: flex;
	justify-content: space-around;
	gap: 0.5rem;
}
/* Password PW change */
.pw-change-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
.input-icon {
	position: relative;
	display: flex;
	align-items: center;
}
.input-icon .icon {
	position: absolute;
	left: 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	z-index: 1;
}

.input-icon input {
	padding-left: 40px;
	width: 100%;
}
/* Eye show password */
.toggle-password svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.toggle-password .eye-open,
.toggle-password .eye-closed {
	display: none;
	color: var(--accent);
}

.toggle-password.show-open .eye-open {
	display: block;
}

.toggle-password.show-open .eye-closed {
	display: none;
}

.toggle-password.show-closed .eye-open {
	display: none;
}

.toggle-password.show-closed .eye-closed {
	display: block;
}
/* login form items  */
.form-item {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 0.2rem;
	position: relative;
	transition: 150ms ease-in-out;
}

.form-item label {
	width: 100%;
	pointer-events: none;
	color: color-mix(in srgb, var(--accent), white 30%);
	text-align: start;
	display: flex;
	justify-content: start;
}
.form-item input,
.form-item textarea,
.form-item select {
	border: none;
	background-color: color-mix(in srgb, var(--accent) 4%, white 10%);
	border-bottom: 2px solid color-mix(in srgb, var(--accent) 50%, white 10%);
	font-family: inherit;
	font-weight: 400;
	font-size: 1.2rem;
	padding: 0 0.5rem;
	border-radius: 5px;
	color: var(--accent);
	direction: ltr;

	text-align: center;
	caret-color: var(--accent-hover);
	padding-inline-start: 1rem;
	outline: 0;
	transition: all 200ms ease;
}

.form-item select {
	font-size: 1rem;
}

.form-item input:focus,
.form-item textarea:focus {
	border-bottom: solid 2px var(--accent-hover);
}
.form-container {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}
/* -------------------------- Portals -------------------------- */
.portal-container {
	margin: 2rem;
	margin-inline-end: 4rem;
	display: flex;
	gap: 2rem;
}
.mainarea-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 1rem;
	height: 100%;
}
/* main Area */
.user-pane {
	height: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.user-pane h4,
.user-pane h2 {
	margin-bottom: 1rem;
}

.hadith {
	margin: 1rem 0;
	padding: 0.1rem;
	font-size: 0.9rem;
	text-align: center;
	font-weight: 500;
	justify-self: end;
	align-items: flex-end;
	background: rgba(0, 128, 0, 0.1);
	border-radius: 6px;
}
/* sidebar Panel menu */

.user-sidebar {
	position: sticky;
	inline-size: max-content;
	min-inline-size: 25%;
	transition: 200ms all ease;
}
.user-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-block: 1rem;
	padding: 1rem;
	background: var(--card-bg);
	border: 0.2rem solid;
	box-shadow: var(--box-shadow);
	backdrop-filter: blur(5px);
	border-radius: 6px;
	transition: all 150ms ease;
	animation: borderShifter 3s infinite ease-in-out;
}

@keyframes borderShifter {
	0% {
		border-top-color: var(--accent);
		border-right-color: transparent;
		border-bottom-color: transparent;
		border-left-color: transparent;
	}
	25% {
		border-top-color: transparent;
		border-right-color: var(--accent);
		border-bottom-color: transparent;
		border-left-color: transparent;
	}
	50% {
		border-top-color: transparent;
		border-right-color: transparent;
		border-bottom-color: var(--accent);
		border-left-color: transparent;
	}
	75% {
		border-top-color: transparent;
		border-right-color: transparent;
		border-bottom-color: transparent;
		border-left-color: var(--accent);
	}
	100% {
		border-top-color: var(--accent);
		border-right-color: transparent;
		border-bottom-color: transparent;
		border-left-color: transparent;
	}
}
.user-container:hover {
	transform: scale(1.05) rotate(2deg);
}
.user-container img {
	aspect-ratio: 1/1;
	height: 3.5rem;
	object-fit: contain;
}
.user-sidebar ul {
	margin-block: 2rem;
	padding: 0 1rem;
}

.user-controls {
	display: flex;
	flex-direction: column;
}
.user-controls a {
	margin-top: 0.2rem;
	transition: all 150ms ease;
	border: solid 1px transparent;
	border-inline-start: 0.3rem solid var(--accent);
	padding-inline-start: 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--text);
	border-radius: 5px;
}
.user-controls a:hover {
	background: var(--card-bg);
	border: var(--glass-border);
	transform: translateX(-5%) scale(1.02);
	font-weight: 1000;
	border-inline-start: 0.3rem solid var(--accent);
	padding-inline-start: 1rem;
}
/* active links */
.user-controls .active-link {
	background: rgba(128, 128, 128, 0.2);
	border-radius: 4px;
	border-inline-start-color: cyan;
} /* active links */
.user-controls .active-link:hover {
	border-inline-start-color: cyan;
}
.active-link a {
	font-weight: 1000;
}
/* logout */
.user-sidebar .user-logout:hover {
	background: rgba(255, 0, 0, 0.5);
	color: white;
	border-inline-start-color: red;
}
.ui-box {
	position: absolute;
	inset-inline-end: 0.5rem;
	inset-block-start: 0.5rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
	width: fit-content;
	z-index: 1000;
}
.notif-box .ui-box {
	inset-block-start: unset;
	flex-direction: row;
	inset-block-end: 0.5rem;
}

.ui-btns {
	height: 2.5rem;
	aspect-ratio: 1/1;
	border: var(--glass-border);
	background: var(--header-accent);
	color: white;
	border-radius: 6px;
	transition: all 150ms ease;
	backdrop-filter: blur(2px);
	display: flex;
	justify-content: center;
	align-items: center;
}
.ui-btns:hover {
	transform: scale(1.1);
	cursor: pointer;
}
.ui-btns.delete:hover {
	background: red;
}
.ui-svg {
	height: 1.8rem;
}
/* PR Public Relations */
.news-add .form-item {
	flex-direction: column;
	direction: rtl;
}
.news-add input,
.news-add textarea {
	width: 100%;
	direction: rtl;
}
.news-box {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--card-bg);
	border: var(--glass-border);

	padding: 1rem;
	margin-block: 0.5rem;
	border-radius: 8px;
}
.news-box h3 {
	color: var(--accent);
	border-bottom: 1px solid var(--accent);
	margin-bottom: 0.5rem;
	padding-bottom: 0.2rem;
	width: fit-content;
}
.news-box p {
	font-size: 0.8rem;
	padding-inline-end: 3rem;
	text-align: justify;
}
.news-imgs {
	display: flex;
	justify-content: flex-start;
	gap: 1rem;
	margin-block: 1rem;
}
.news-image-container {
	margin-block: 0.5rem;
	display: flex;
	gap: 0.2rem;
	border-radius: 8px;
	background-color: var(--glassy);
	padding: 0.5rem;
}
.news-image-container .form-item {
	flex: 1;
}
.news-imgs img {
	object-fit: cover;
	width: 120px;
	height: auto;
	border-radius: 8px;
}
.news-box .show-in-main {
	height: 2.5rem;
	aspect-ratio: 1/1;
	display: flex;
	justify-content: center;
	align-items: center;
	right: 5.5rem;
	border: none;
	top: 1.5rem;
	border-radius: 4px;
	color: white;
	cursor: default;
	background-color: yellowgreen;
}

.current-images {
	display: flex;
	gap: 1rem;
	margin: 10px 0;
	flex-wrap: wrap;
}
.current-image-item {
	position: relative;
	display: inline-block;
}
.current-image-item img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--accent);
}
.remove-current-img {
	position: absolute;
	top: -8px;
	right: -8px;
	color: white;
	border: none;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	cursor: pointer;
	font-size: 12px;
}
.img-preview {
	display: flex;
	gap: 1rem;
	display: none;
	margin-top: 10px;
}
.img-preview img {
	max-width: 140px;
	border-radius: 10px;
	object-fit: contain;
	width: 100%;
	background: var(--glassy);
}
.form {
	display: flex;
	gap: 1rem;
	flex-direction: column;
}
.form label {
	color: var(--accent);
}
.form .subject,
.form .text,
.form .img,
.form .check-box,
.form .category {
	margin-top: 1rem;
	border: var(--glass-border);
	border-radius: 10px;
	padding: 1rem;
	backdrop-filter: blur(5px);
}
.form .check-box {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
}
.form select {
	direction: rtl;
	width: 100%;
}
.form input,
.form textarea,
.form select {
	box-sizing: border-box;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.5rem;
	color: var(--text);
	border-radius: 10px;
	border: var(--glass-border);
	background: var(--form-item-bg);
	outline: none;
	caret-color: var(--accent-hover);
}
.form input:focus,
.form textarea:focus {
	border-bottom: 2px solid var(--accent-hover);
}
/* Notification Box / Portal page */
.notif-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	gap: 1rem;
}
.notif-box {
	position: relative;
	border: var(--glass-border);
	border-radius: 10px;
	background-color: var(--glassy);
	padding: 0.5rem;
	margin-block: 0.2rem;
}
.notif-box h4 {
	color: var(--accent);
	font-size: 1rem;
	border-bottom: var(--glass-border);
	padding-bottom: 0.5rem;
	margin-block: 0.5rem;
}
.notif-box h5 {
	color: var(--text);
	font-size: 0.9rem;
	text-align: justify;
	margin-block: 0.5rem;
}
.notif-box h6,
small {
	color: gray;
	font-size: 0.7rem;
	justify-self: flex-start;
}
.ui-actions {
	display: flex;
	justify-content: space-around;
	gap: 0.5rem;
}
.ui-actions .s-btn {
	font-size: 0.9rem;
	height: auto;
	padding: 12px 0;
	border-width: 1px;
	font-weight: 200;
}

/* Modal Notif Delete edit */
.ui-modal {
	font-family: inherit;
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
	justify-content: center;
	align-items: center;
	z-index: 1000;
}
.ui-modal-content {
	max-width: 95%;
	font-family: inherit;
	background: var(--modal-bg);
	border: var(--glass-border);
	backdrop-filter: blur(10px);
	padding: 20px 30px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	overflow: visible;
}
.ui-modal-content h3 {
	border-bottom: 1px solid var(--accent);
	margin-bottom: 1rem;
	color: var(--modal-font-color);
	text-align: center;
	font-size: 1.5rem;
}
.notif-actions {
	font-family: inherit;
	display: flex;
	justify-content: space-around;
	margin-top: 10px;
	gap: 1rem;
}
.ui-modal-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.ui-modal-form input,
.ui-modal-form textarea {
	width: 100%;
	direction: rtl;
	text-align: justify;
	font-size: 1rem;
}
.ui-modal-form textarea {
	font-size: 0.9rem;
	height: 100%;
}
/* UI - message msg */
.ui-msg {
	position: fixed;
	inset-inline-end: 3.3rem;
	inset-block-start: 2.25rem;
	height: 2.5rem;
	width: fit-content;
	display: flex;
	justify-content: center;
	align-items: center;
	justify-items: center;
	z-index: 1000;
	backdrop-filter: blur(5px);
	box-shadow: var(--box-shadow);
	transform: translateX(-150%);
	transition: all 200ms ease-in-out;
	font-size: 0.9rem;
	color: var(--accent);
	border-start-start-radius: 6px;
	border-end-start-radius: 6px;
	padding: 0.5rem;
	color: white;

	visibility: hidden;
}
.ui-msg.success {
	background: rgba(98, 183, 13, 0.737);
	color: white;
}
.ui-msg.error {
	background: rgba(245, 24, 4, 0.842);
	color: white;
}
.ui-msg.warning {
	background: rgba(243, 243, 6, 0.737);
	color: black;
}
.ui-msg.act {
	animation: uiMsgslide 6s ease-in-out;
}
@keyframes uiMsgslide {
	0% {
		visibility: visible;
		transform: translateX(-150%);
	}
	10% {
		transform: translateX(0);
	}
	90% {
		transform: translateX(0);
	}
	100% {
		visibility: hidden;
		transform: translateX(-150%);
	}
}
/* force change Password */
.force-change-pw {
	content: "hello";
	background: rgba(255, 0, 0, 0.6);
	padding: 1rem;
	border: solid 1px red;
	border-radius: 10px;
	color: white;
	box-shadow: var(--box-shadow);

	font-weight: 800;
	text-align: center;
}
/* admin user list */
table {
	width: 100%;
}
.table thead {
	background: var(--header-accent);
	color: white;
}

.table tbody td {
	padding-inline-start: 0.2rem;
	font-size: 0.9rem;
	font-weight: 400;
	padding: 0.5rem;
	border: var(--glass-border);
}
.tb-btn {
	font-size: 0.9rem;
	font-weight: 600;
	font-family: inherit;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	justify-items: center;
	aspect-ratio: 1/1;
	height: 1rem;
	width: 100%;
	justify-self: center;
	margin: 0.5rem 0.2rem;
	padding: 0.8rem;
	border-radius: 8px;
	border: var(--glass-border);
	outline: 0;
	box-shadow: var(--box-shadow);
}
.tb-btn:hover {
	transform: translateX(5%);
}
/* add user btn */
.tb-add-btn {
	display: flex;
	align-items: flex-end;
	justify-items: flex-end;
	justify-content: flex-end;
	margin: 0.5rem 0;
}
.tb-add-btn a {
	border: var(--glass-border);
	border-width: 3px;
	background: var(--card-bg);
	padding: 0.5rem;
	border-radius: 8px;
	margin: 0 0.2rem;
}
.tb-add-btn a:hover {
	background-color: var(--accent-hover);
	color: white;
}
.suggestion-table {
	display: grid;
	grid-template-columns: auto 1fr 1fr 1fr 1fr;
	grid-template-areas:
		"sug1 sug2 sug3 sug4 sug5"
		"sug1 sug6 sug6 sug6 sug6";
	gap: 1rem;
	margin-block: 1rem;
	border: var(--glass-border);
	box-shadow: var(--box-shadow);
	border-radius: 10px;
}
.suggestion-table div {
	padding: 0.8rem;
	border-radius: 10px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	font-size: 0.9rem;
	font-weight: 600;
	border: var(--glass-border);
}
.suggestion-table span {
	color: var(--accent);
	border-bottom: solid 1px var(--accent);
}
.sug1 {
	grid-area: sug1;
}
.sug2 {
	grid-area: sug2;
}
.sug3 {
	grid-area: sug3;
}
.sug4 {
	grid-area: sug4;
}
.sug5 {
	grid-area: sug5;
}
.sug6 {
	grid-area: sug6;
	font-size: 0.8rem;
	font-weight: 400;
	text-align: justify;
}

/* NEW TABLE TEST */
/* ======== TABLES ======== */
.table-responsive {
	overflow-x: auto;
	margin-top: 1rem;
}

.table {
	width: 100%;
	min-width: 800px;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.table thead {
	background: var(--header-accent);
	border: var(--glass-border);
}

.table th {
	padding: 12px 10px;
	color: white;
	text-align: right;
	font-weight: 600;
}

.table td {
	padding: 10px;
	border-bottom: var(--glass-border);
	vertical-align: middle;
}

.table tr:hover {
	background: rgba(255, 255, 255, 0.03);
}

/* ======== UTILITIES ======== */

.title {
	font-weight: 500;
	color: var(--accent);
}
/* ======== TAGS ======== */
.tag,
.role {
	display: inline-block;
	padding: 3px 10px;
	background: rgba(128, 128, 128, 0.2);
	border-radius: 4px;
	font-size: 0.85rem;
}

.role {
	background: rgba(80, 101, 238, 0.3);
	color: #a0b4ff;
}

/* ======== BUTTONS ======== */
.table-header {
	margin-bottom: 1rem;
	text-align: left;
}

.btn-add {
	display: inline-block;
	padding: 8px 16px;
	background: var(--accent);
	color: white;
	border-radius: 6px;
	font-size: 0.9rem;
	transition: all 0.2s;
}

.btn-add:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
}

.actions {
	display: flex;
	gap: 5px;
}
.actions button,
.actions a {
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	padding: 1.5rem;
	font-family: inherit;
	height: 2rem;
	aspect-ratio: 1/1;
}
.inline-form {
	display: inline;
}

.btn-action {
	padding: 5px 10px;
	border: none;
	border-radius: 4px;
	font-size: 0.8rem;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}

.btn-action.edit {
	background: #5065ee;
	color: white;
}

.btn-action.toggle {
	background: #f39c12;
	color: white;
}

.btn-action.toggle.active {
	background: #27ae60;
}

.btn-action.delete {
	background: #e74c3c;
	color: white;
}

.btn-action:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

/* ------------- Vault ------------- */
.disclaimer {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 1rem;

	color: red;
	background: rgba(255, 2, 2, 0.1);
	border: solid 1px red;

	border-radius: 10px;
	padding: 0.5rem;
	margin: 2rem;
	animation: blink 3s infinite;
}
/* ======== FIX AUTO-FILL BROWSER STYLES ======== */
/* جلوگیری از تغییر استایل فیلدها هنگام auto-fill کروم */

/* استایل پایه برای فیلدهای معمولی */
.form-item input,
.input-icon input {
	background-color: color-mix(in srgb, var(--accent) 4%, white 10%);
	transition: background-color 0.3s ease;
}

/* مقابله با استایل auto-fill مرورگر */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-background-clip: text !important;
	-webkit-box-shadow: 0 0 0 1000px
		color-mix(in srgb, var(--accent) 4%, white 10%) inset !important;
	box-shadow: 0 0 0 1000px color-mix(in srgb, var(--accent) 4%, white 10%)
		inset !important;
	-webkit-text-fill-color: var(--accent) !important;
	caret-color: var(--accent-hover) !important;
	background-color: color-mix(
		in srgb,
		var(--accent) 4%,
		white 10%
	) !important;
	border-bottom: 2px solid rgba(126, 126, 126, 0.3) !important;
}

/* حالت فوکوس برای فیلدهای auto-fill شده */
input:focus:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px
		color-mix(in srgb, var(--accent) 8%, white 15%) inset !important;
	box-shadow: 0 0 0 1000px color-mix(in srgb, var(--accent) 8%, white 15%)
		inset !important;
	border-bottom: 2px solid var(--accent-hover) !important;
}

/* برای تم روشن (light theme) */
.light-theme input:-webkit-autofill,
.light-theme input:-webkit-autofill:hover,
.light-theme input:-webkit-autofill:focus,
.light-theme input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 1000px rgba(223, 223, 223, 0.874) inset !important;
	box-shadow: 0 0 0 1000px rgba(223, 223, 223, 0.874) inset !important;
	-webkit-text-fill-color: var(--accent) !important;
	background-color: rgba(223, 223, 223, 0.874) !important;
}

/* برای فیلدهای داخل فرم‌های دیگر */
.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus,
.login-form input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 1000px
		color-mix(in srgb, var(--accent) 4%, white 10%) inset !important;
	box-shadow: 0 0 0 1000px color-mix(in srgb, var(--accent) 4%, white 10%)
		inset !important;
}

/* مخفی کردن آیکون ذره‌بین و استایل‌های اضافی مرورگر */
input:-webkit-autofill::first-line {
	font-family: inherit !important;
	font-size: 1.2rem !important;
	font-weight: 400 !important;
}

/* تاخیر در اجرای transition برای جلوگیری از فلش */
input:-webkit-autofill {
	transition: background-color 5000s ease-in-out 0s !important;
}
