/* GeistSans Font Family - Modern Sans-Serif Typography */

/* Main GeistSans Font */
@font-face {
    font-family: 'GeistSans';
    src: url('/static/fonts/Geist-Regular.woff2') format("woff2");
    font-display: swap;
    font-weight: 100 900;
}

/* GeistSans Fallback - Uses Arial with adjusted metrics */
@font-face {
    font-family: 'GeistSans Fallback';
    src: local("Arial");
    ascent-override: 94.56%;
    descent-override: 27.76%;
    line-gap-override: 0.00%;
    size-adjust: 106.28%;
}

/* CSS Variables for Font */
:root {
    --font-geist-sans: "GeistSans", "GeistSans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* Global Font Application */
body {
    font-family: var(--font-geist-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Apply to all major text elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
button,
input,
textarea,
select,
.nav-link,
.btn,
.card,
.dropdown-item,
.form-control,
.form-label,
.table {
    font-family: var(--font-geist-sans);
}

/* Preserve monospace fonts for code elements */
code,
pre,
kbd,
samp,
.code,
.monospace {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}