/* Custom CSS for Car Management Dashboard */

/* Import Vazir Font */
@font-face {
    font-family: 'Vazir'; /* نام دلخواه برای فونت */
    src: url('../fonts/Vazir-Medium.woff2') format('woff2'); /* مسیر فونت نسبت به فایل CSS */
    font-weight: 500; /* یا مقدار مناسب با وزن فونت */
    font-style: normal;
}
/* Vazir Light */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Light.woff2') format('woff2');
    font-weight: 300; /* Light */
    font-style: normal;
}

/* Vazir Medium */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Medium.woff2') format('woff2');
    font-weight: 500; /* Medium */
    font-style: normal;
}

/* Apply Vazir Font to all elements EXCEPT FontAwesome icons */
* {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
}

/* Preserve FontAwesome font-family for icons */
.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
}

/* Ensure FontAwesome icons display properly */
.fa-solid,
.fas {
    font-weight: 900;
}

.fa-regular,
.far {
    font-weight: 400;
}

.fa-brands,
.fab {
    font-weight: 400;
}

/* Improve font rendering for Vazir */
body {
    font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Font weights for Vazir */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}