/* Vazirmatn Font - فقط فایل‌های محلی موجود */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.ttf') format('truetype');
}

/* اعمال فونت Vazirmatn بر روی تمام المان‌ها */
*,
*::before,
*::after {
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif !important;
}

html {
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif !important;
}

body {
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif !important;
}

/* تمام المان‌های فرم */
input,
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="color"],
input[type="file"],
textarea,
select,
button,
.btn {
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif !important;
}

/* placeholder */
input::placeholder,
textarea::placeholder,
.search-input-modern::placeholder {
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif !important;
    opacity: 0.7;
}

/* المان‌های خاص */
.search-input-modern,
.search-input-wrapper input,
.navbar input,
.modal input,
.modal textarea,
.card input,
.card textarea,
.form-control,
.form-select {
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif !important;
}

/* Font Awesome compatibility layer (internal standard icon system) */
.fa,
.fas,
.fa-solid,
.far,
.fa-regular,
.fab,
.fa-brands {
    font-family: "Font Awesome 6 Free" !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
}

.fab,
.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.far,
.fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

.fa,
.fas,
.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.fa::before,
.fas::before,
.fa-solid::before,
.far::before,
.fa-regular::before,
.fab::before,
.fa-brands::before {
    font-family: inherit !important;
    font-weight: inherit !important;
}
