/*
 * Persian panel: Latin digits wherever the text runs left to right.
 *
 * The panel's font is Yekan Bakh FaNum, which draws 0-9 as ۰-۹ -- right for
 * Persian text, wrong inside a file name, a path, an IP address or an English
 * message, where "backup-۱۰.۱۳.۲۰۲۶" is neither language. Content whose
 * direction resolves to left-to-right -- inputs and the entries marked
 * dir="auto" that hold English, and anything explicitly dir="ltr" -- uses the
 * regular Vazirmatn instead, which keeps Latin digits. Persian stays as it was.
 *
 * Loaded only when the panel is in Persian; see AdminPanelProvider.
 */
@font-face { font-family: 'Vazirmatn'; src: url('Vazirmatn-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('Vazirmatn-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('Vazirmatn-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('Vazirmatn-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

[dir='ltr'],
[dir='auto']:dir(ltr),
input:dir(ltr),
textarea:dir(ltr) {
    font-family: 'Vazirmatn', ui-sans-serif, system-ui, sans-serif;
}
