/* Shared typography settings to enforce the primary Persian font across all layouts */
@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/admin/fonts/vazir/Vazir-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/admin/fonts/vazir/Vazir-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/admin/fonts/vazir/Vazir.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/admin/fonts/vazir/Vazir-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/admin/fonts/vazir/Vazir-Bold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/admin/fonts/vazir/Vazir-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/admin/fonts/vazir/Vazir-Black.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: optional;
}

/* Icon fonts must override the global UI typeface (body uses !important). */
.la,
.las,
.lad,
.lal,
.lar {
    font-family: 'Line Awesome Free' !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.las,
.la,
.lad {
    font-weight: 900 !important;
}

.lar,
.lal {
    font-weight: 400 !important;
}

.lab {
    font-family: 'Line Awesome Brands' !important;
    font-weight: 400 !important;
    font-style: normal;
}

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

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

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

.la,
.las,
.lab,
.lar,
.lal,
.lad,
.fas,
.far,
.fab,
.fa {
    display: inline-block;
    min-width: 1em;
    text-align: center;
}

:root {
    --app-font-family: 'Vazirmatn', 'IRANSans', 'Vazir', 'Segoe UI', Tahoma, sans-serif;
}

body {
    font-family: var(--app-font-family) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
label,
button,
input,
select,
textarea,
small,
strong,
em,
figcaption,
blockquote,
td,
th {
    font-family: var(--app-font-family) !important;
}

a:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.la):not(.las):not(.lab):not([class*="fa-"]):not([class*="la-"]):not([class*="icon-"]) {
    font-family: var(--app-font-family) !important;
    text-decoration: none;
}

span:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.la):not(.las):not(.lab):not([class*="fa-"]):not([class*="la-"]):not([class*="icon-"]) {
    font-family: var(--app-font-family) !important;
}
