/* ==========================================================================
   CHUẨN HÓA FONT CHỮ DỰ ÁN DMS_POCARI - INTER (SIL OPEN FONT LICENSE 1.1)
   Tác giả: Quyết Ngô - Ngày tạo: 20261105
   Nguồn & giấy phép: /licenses/fonts/inter/ (LICENSE.txt, SOURCE.md, VERSION.txt, SHA256.txt)
   Self-host 100% - KHÔNG dùng CDN Google Fonts
   ========================================================================== */

/* ---------- Font chính: Inter ---------- */
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"),
         url("../fonts/inter/InterVariable.woff2") format("woff2");
    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"),
         url("../fonts/inter/InterVariable-Italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   FONT ALIASES - ánh xạ toàn bộ tên font cũ về Inter (Normal + Italic)
   ========================================================================== */
@font-face { font-family: "inter";             src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); 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"), url("../fonts/inter/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins";           src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); 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"), url("../fonts/inter/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "poppins";           src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); 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"), url("../fonts/inter/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "poppins300";        src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "bscfont";           src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat";        src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); 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"), url("../fonts/inter/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "montserrat";        src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); 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"), url("../fonts/inter/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto";            src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); 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"), url("../fonts/inter/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "roboto";            src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans Pro";   src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans Pro";   src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "erp";               src: url("../fonts/inter/InterVariable.woff2") format("woff2-variations"), url("../fonts/inter/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Biến & áp dụng toàn cục ---------- */
:root {
    --bs-font-sans-serif: "Inter", Arial, sans-serif;
    --bs-body-font-family: "Inter", Arial, sans-serif;
    --font-primary: "Inter", Arial, sans-serif;
}

body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", Arial, sans-serif !important;
}

.money,
.quantity,
.text-numeric,
.dx-datagrid .dx-row > td[data-type="number"] {
    font-variant-numeric: tabular-nums;
}
