/* ================== Persian Font - Vazirmatn ================== */

/* Import Vazirmatn Font from CDN */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* Alternative CDN (backup) */
/* @import url('https://cdn.jsdelivr.net/npm/vazirmatn@33.0.3/Vazirmatn-font-face.css'); */

/* Apply to All Elements - EXCEPT Icons */
*:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not([class*="fa-"]) {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

/* Specific Elements */
body,
html {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

/* Form Elements */
input,
button,
select,
textarea,
option,
label {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

/* Bootstrap Classes */
.form-control,
.form-select,
.form-label,
.btn,
.badge,
.alert,
.modal,
.card,
.table {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

/* Paragraphs and Text */
p, span, div, a, li, td, th {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

/* Font Weight Classes */
.fw-light {
    font-weight: 300 !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold,
.fw-semibold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

/* RTL Support */
body {
    direction: rtl !important;
    text-align: right !important;
}

/* Code and Pre (keep English font for code) */
code,
pre,
kbd,
samp {
    font-family: 'Courier New', Courier, monospace !important;
    direction: ltr !important;
}

/* Preserve Font Awesome Icons */
i,
.fa,
.fas,
.far,
.fal,
.fab,
.fad,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
}

i.fas,
i.far,
i.fal,
i.fab,
i.fad {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

