/* =================================================================
   FONT MODERN - Plus Jakarta Sans (variable)
   Mengganti seluruh font aplikasi.
   Alias "Inter" & "Roboto" ditambahkan agar semua deklarasi font-family
   dari template (style2.css / bootstrap.css) otomatis memakai font baru,
   tanpa menyentuh font ikon (Font Awesome / Bootstrap Icons).
   ================================================================= */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

/* Alias: template memakai "Inter" */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

/* Alias: template memakai "Roboto" */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

/* Alias: template memakai "Open Sans" */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

/* Terapkan sebagai font default aplikasi */
:root {
    --app-font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bs-font-sans-serif: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bs-body-font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body, button, input, select, textarea, optgroup {
    font-family: var(--app-font);
}
