/* فونت‌های فارسی IRANSans */
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb.woff2') format('woff2'),
         url('../fonts/IRANSansWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb_Bold.woff2') format('woff2'),
         url('../fonts/IRANSansWeb_Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* اعمال فونت به تمام عناصر */
* {
    font-family: 'IRANSans', 'Tahoma', 'Arial', sans-serif !important;
}

body {
    font-family: 'IRANSans', 'Tahoma', 'Arial', sans-serif !important;
    direction: rtl;
    text-align: right;
}

/* تنظیمات خاص برای عناصر مختلف */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IRANSans', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: bold;
}

p, div, span, a, button, input, textarea, select, label {
    font-family: 'IRANSans', 'Tahoma', 'Arial', sans-serif !important;
}

/* تنظیمات برای جداول */
table, th, td {
    font-family: 'IRANSans', 'Tahoma', 'Arial', sans-serif !important;
}

/* تنظیمات برای فرم‌ها */
input, textarea, select, button {
    font-family: 'IRANSans', 'Tahoma', 'Arial', sans-serif !important;
}

/* تنظیمات برای لینک‌ها */
a {
    font-family: 'IRANSans', 'Tahoma', 'Arial', sans-serif !important;
}

/* تنظیمات برای کدها */
code, pre {
    font-family: 'Courier New', monospace !important;
}

/* بهبود خوانایی متن فارسی */
body {
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* تنظیمات responsive */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

@media screen and (min-width: 769px) {
    body {
        font-size: 16px;
    }
}