﻿/* ====================== تعریف فونت ====================== */
@font-face {
    font-family: 'IRANSans';
    src: url('/css/Font/IRANSansWebFaNum.woff2') format('woff2'), url('/css/Font/IRANSansWebFaNum.woff') format('woff'),url('/css/Font/IRANSansWebFaNum.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('/css/Font/IRANSansWebFaNum.woff2') format('woff2'), url('/css/Font/IRANSansWebFaNum.woff') format('woff'),url('/css/Font/IRANSansWebFaNum.ttf') format('ttf');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ====================== فونت پیش‌فرض کل سایت (قوی‌تر) ====================== */
*,
*::before,
*::after {
    font-family: 'IRANSans', Tahoma, 'Segoe UI', sans-serif !important;
}

/* ====================== تنظیمات اضافی برای تمام المان‌ها ====================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video,
input, select, textarea, button, a, span, div,
p, label, td, th, tr, table, thead, tbody,
option, optgroup, datalist, keygen,
meter, progress, details, summary,
button, input[type="button"], input[type="submit"], input[type="reset"],
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="tel"], input[type="date"],
input[type="search"], input[type="url"], textarea, select {
    font-family: 'IRANSans', Tahoma, 'Segoe UI', sans-serif !important;
}

/* ====================== تنظیم مخصوص اعداد (برای نمایش صحیح اعداد فارسی) ====================== */
input, select, textarea, button, td, th, label, span {
    font-family: 'IRANSans', Tahoma, 'Segoe UI', sans-serif !important;
}

/* ====================== تنظیم برای modal و دایالوگ‌ها ====================== */
.modal-content, .modal-content *,
.form-modal, .form-modal *,
.dialog, .dialog * {
    font-family: 'IRANSans', Tahoma, 'Segoe UI', sans-serif !important;
}

/* ====================== تنظیم برای دکمه‌ها ====================== */
button, .btn, .btn-action, .btn-login, .btn-danger {
    font-family: 'IRANSans', Tahoma, 'Segoe UI', sans-serif !important;
}

/* ====================== تنظیم برای جدول‌ها ====================== */
table, th, td, tr, thead, tbody, tfoot {
    font-family: 'IRANSans', Tahoma, 'Segoe UI', sans-serif !important;
}

/* ====================== تنظیم برای لیست‌ها ====================== */
ul, ol, li, .nav-item, .sidebar, .sidebar * {
    font-family: 'IRANSans', Tahoma, 'Segoe UI', sans-serif !important;
}

/* ====================== تنظیم برای select و dropdown ====================== */
select, option {
    font-family: 'IRANSans', Tahoma, 'Segoe UI', sans-serif !important;
}
