/* ==========================================================================
   CHUẨN HÓA FONT CHỮ DỰ ÁN - INTER (SIL OPEN FONT LICENSE 1.1)
   Tác giả: Quyết Ngô - Ngày tạo: 20261104
   ========================================================================== */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   FONT ALIASES TOÀN DIỆN (Normal + Italic)
   Ánh xạ toàn bộ tên font cũ về Inter để triệt tiêu 100% rủi ro fallback
   ========================================================================== */
@font-face {
    font-family: "erp";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "erp";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Jost";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Jost";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Leckerli One";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Leckerli One";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "OpenSans";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "OpenSans";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Opensans";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Opensans";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "OpenSans-Light";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "OpenSans-Light";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "asap";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "asap";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Asap";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Asap";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Gill Sans";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Gill Sans";
    src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    font-family: "Inter", Arial, sans-serif;
    --bs-body-font-family: "Inter", Arial, sans-serif;
    --font-primary: "Inter", Arial, sans-serif;
    --font-sans-serif: "Inter", Arial, sans-serif;
}

body, button, input, select, textarea {
    font-family: "Inter", Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", Arial, sans-serif !important;
}

.accounting-table,
.money,
.quantity,
.salary,
.revenue,
.dx-datagrid .dx-row > td[data-type="number"],
.text-numeric {
    font-variant-numeric: tabular-nums;
}
