/* AiBOS global Persian UI font.
   Vazir webfont is self-hosted from /wwwroot/Fonts so login, public pages,
   Blazor components and printed HTML do not depend on an external CDN. */
@font-face {
    font-family: 'Vazir';
    src: url('/Fonts/Vazir-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('/Fonts/Vazir-Regular.woff2') format('woff2');
    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 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('/Fonts/Vazir-Bold.woff2') format('woff2');
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --app-font-family: 'Vazir', Tahoma, Arial, sans-serif;
    --bs-body-font-family: var(--app-font-family);
    --bs-font-sans-serif: var(--app-font-family);
}

html,
body,
button,
input,
select,
textarea,
optgroup,
table,
th,
td,
label,
a,
p,
span,
div,
nav,
aside,
main,
header,
footer,
h1,
h2,
h3,
h4,
h5,
h6,
small,
strong,
b,
code,
pre,
kbd,
samp,
.form-control,
.form-select,
.btn,
.dropdown-menu,
.modal,
.toast {
    font-family: var(--app-font-family) !important;
}
