/**
 * فونت‌های سفارشی - IRANYekanXFaNum
 */

@import url('../fonts/fontawesome-pro-7.1.0-web/css/all.min.css');

/* تعریف فونت IRANYekanXFaNum با مسیرهای صحیح */
@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 100;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Thin.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Thin.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-UltraLight.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-UltraLight.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Light.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Light.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: normal;
	font-weight: 400;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Regular.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Regular.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Medium.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Medium.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-DemiBold.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-DemiBold.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: bold;
	font-weight: 700;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Bold.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Bold.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 800;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-ExtraBold.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-ExtraBold.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Black.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Black.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 950;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-ExtraBlack.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-ExtraBlack.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: 1000;
	src: url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff/IRANYekanXFaNum-Heavy.woff') format('woff'),   
	     url('../fonts/IRANYekanX/Farsi numerals/Webfonts/Woff2/IRANYekanXFaNum-Heavy.woff2') format('woff2');
	font-display: swap;
}

/* تنظیم فونت پیش‌فرض */
body {
	font-family: 'IRANYekanXFaNum', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* انیمیشن‌های سفارشی */
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: scale(0.9) translateY(20px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.animate-spin {
	animation: spin 0.8s linear infinite;
}

/* Scrollbar سفارشی */
.custom-scrollbar::-webkit-scrollbar {
	width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
	background: linear-gradient(to bottom, #475569, #64748b, #475569);
	border-radius: 10px;
	transition: background 0.3s;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(to bottom, #64748b, #94a3b8, #64748b);
}

/* استایل‌های اضافی برای responsive */
@media (max-width: 640px) {
	/* بهبود نمایش مودال در موبایل */
	#uploadModal > div {
		width: 95% !important;
		padding: 1.5rem !important;
	}
}

