/*
 * App-wide type system: Fraunces (serif, headings/titles) + IBM Plex Sans
 * (body/menu/content) + IBM Plex Mono (codes, numbers, monospace content).
 *
 * Loaded after bootstrap.min.css / app.min.css on purpose. Almost every
 * selector in this template reads font-family from the Bootstrap 5
 * custom properties (--bs-font-sans-serif / --bs-font-monospace) rather
 * than hardcoding a family, so redeclaring those two variables here
 * re-themes the whole app — sidebar, buttons, tables, forms, cards —
 * without having to touch every view individually.
 */

:root {
    --bs-font-sans-serif: "IBM Plex Sans", sans-serif;
    --bs-font-monospace: "IBM Plex Mono", monospace;
    --font-serif: "Fraunces", serif;
}

body {
    font-family: var(--bs-font-sans-serif);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.card-title, .modal-title,
.page-title-box h4,
.font-size-18, .font-size-20, .font-size-22, .font-size-24 {
    font-family: var(--font-serif);
}

/*
 * Forms: explicit rather than relying on inherit() through Bootstrap's
 * reboot, so a form's font doesn't silently break if some page-specific
 * CSS resets font-family on a wrapper in between. Labels stay sans
 * (Plex Sans) alongside input values on purpose — serif is reserved for
 * headings, not small dense UI text like form labels.
 */
label, .form-label,
.form-control, .form-select, .form-check-label,
input, select, textarea, button, .btn {
    font-family: var(--bs-font-sans-serif);
}
