/* ==========================================================
   1. Vazirmatn Font (فونت اصلی سایت)
========================================================== */
@font-face {
  font-family: 'Vazirmatn';
  src: url('Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* اعمال فونت روی کل سایت */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, input, button, select, textarea {
  font-family: 'Vazirmatn', sans-serif !important;
}

/* ==========================================================
   2. Font Awesome Core (هسته آیکون‌ها)
========================================================== */
:root, :host {
  --fa-style-family-classic: "Font Awesome 7 Free";
  --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
  --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
}

.fa, .fas, .far, .fa-solid, .fa-regular {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

.fa, .fas, .fa-solid {
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
}

.far, .fa-regular {
  font-family: "Font Awesome 7 Free";
  font-weight: 400;
}

:is(.fa,.fas,.far,.fa-solid,.fa-regular):before {
  content: var(--fa);
}

/* ==========================================================
   3. Accounting & Admin Icons (آیکون‌های حسابداری)
========================================================== */
/* مالی و پول */
.fa-money-bill { --fa: "\f0d6"; }
.fa-wallet { --fa: "\f555"; }
.fa-coins { --fa: "\f51e"; }
.fa-sack-dollar { --fa: "\f81d"; }
.fa-credit-card { --fa: "\f09d"; }
.fa-file-invoice-dollar { --fa: "\f571"; } /* فاکتور پولی */
.fa-receipt { --fa: "\f543"; } /* رسید */

/* گزارش‌ها و آمار */
.fa-chart-line { --fa: "\f201"; } /* نمودار خطی */
.fa-chart-pie { --fa: "\f200"; }
.fa-chart-bar { --fa: "\f080"; }
.fa-calculator { --fa: "\f1ec"; } /* ماشین حساب */
.fa-percent { --fa: "\f295"; } /* درصد */

/* اسناد و فایل‌ها */
.fa-file-invoice { --fa: "\f463"; } /* فاکتور ساده */
.fa-file-pdf { --fa: "\f1c1"; }
.fa-file-excel { --fa: "\f1c3"; }
.fa-folder { --fa: "\f07b"; }
.fa-print { --fa: "\f02f"; } /* چاپ */

/* کاربران و اشخاص */
.fa-user { --fa: "\f007"; }
.fa-users { --fa: "\f0c0"; } /* مشتریان / پرسنل */
.fa-user-tie { --fa: "\f508"; } /* مدیر / کارمند */
.fa-id-card { --fa: "\f2c2"; }

/* رابط کاربری پنل (داشبورد) */
.fa-house { --fa: "\f015"; } /* خانه / داشبورد */
.fa-gauge { --fa: "\f624"; } /* داشبورد / سرعت‌سنج */
.fa-gear { --fa: "\f013"; } /* تنظیمات */
.fa-sliders { --fa: "\f1de"; }
.fa-bell { --fa: "\f0f3"; } /* اعلان‌ها */
.fa-magnifying-glass { --fa: "\f002"; } /* جستجو */

/* عملیات‌ها (اکشن‌ها) */
.fa-plus { --fa: "\f067"; } /* افزودن جدید */
.fa-pen { --fa: "\f304"; } /* ویرایش */
.fa-trash { --fa: "\f1f8"; } /* حذف */
.fa-check { --fa: "\f00c"; } /* تایید */
.fa-xmark { --fa: "\f00d"; } /* لغو / بستن */
.fa-download { --fa: "\f019"; }
.fa-upload { --fa: "\f093"; }

/*/* ==========================================================
   1. Fonts Definitions (تعریف ۴ فونت فارسی)
========================================================== */
/* 1. Vazir */
@font-face {
  font-family: 'Vazir';
  src: url('Vazir-Regular.woff2') format('woff2'), url('Vazir-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazir';
  src: url('Vazir-Bold.woff2') format('woff2'), url('Vazir-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* 2. Shabnam */
@font-face {
  font-family: 'Shabnam';
  src: url('Shabnam.woff2') format('woff2'), url('Shabnam.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Shabnam';
  src: url('Shabnam-Bold.woff2') format('woff2'), url('Shabnam-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* 3. Yekan */
@font-face {
  font-family: 'Yekan';
  src: url('Yekan.woff2') format('woff2'), url('Yekan.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* 4. Tanha */
@font-face {
  font-family: 'Tanha';
  src: url('Tanha.woff2') format('woff2'), url('Tanha.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* اعمال فونت پیش‌فرض روی سایت (به ترتیب اولویت) */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, input, button, select, textarea {
  /* در اینجا Vazir فونت اصلی است. اگر لود نشد، Shabnam و به همین ترتیب. */
  font-family: 'Vazir', 'Shabnam', 'Yekan', 'Tanha', sans-serif !important;
}

/* کلاس‌های کمکی در صورتی که بخواهید به یک بخش خاص فونت متفاوتی بدهید */
.font-vazir { font-family: 'Vazir', sans-serif !important; }
.font-shabnam { font-family: 'Shabnam', sans-serif !important; }
.font-yekan { font-family: 'Yekan', sans-serif !important; }
.font-tanha { font-family: 'Tanha', sans-serif !important; }

/* (ادامه کدهای Font Awesome و آیکون‌های حسابداری که در پیام قبلی دادم را اینجا قرار دهید...) */
