/* Vazir Font - Local */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Regular.woff2') format('woff2'),
         url('../fonts/Vazir-Regular.woff') format('woff'),
         url('../fonts/Vazir-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Regular.woff2') format('woff2'),
         url('../fonts/Vazir-Regular.woff') format('woff'),
         url('../fonts/Vazir-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Set Vazir as default font for body and text elements */
body {
    font-family: 'Vazir', Tahoma, Arial, sans-serif !important;
}

/* Apply Vazir to common text elements */
p, span, div, h1, h2, h3, h4, h5, h6, a, li, td, th, label, input, textarea, select, button, .nav-link, .breadcrumb-item {
    font-family: 'Vazir', Tahoma, Arial, sans-serif !important;
}

/* Ensure Font Awesome icons use their own font family */
.fas, .far, .fab, .fal, .fad, 
[class*="fa-"], 
[class^="fa "],
i[class*="fa"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
    font-weight: 900;
}

/* For Font Awesome solid icons */
.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* For Font Awesome regular icons */
.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

/* For Font Awesome brands icons */
.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}
