/* Inter Font - Google Fonts (Primary UI Font) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Hack Font - Local (Code/Numbers only) */
@font-face {
    font-family: 'Hack';
    src: url('../fonts/hack-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hack';
    src: url('../fonts/hack-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hack';
    src: url('../fonts/hack-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Hack';
    src: url('../fonts/hack-bolditalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Apply Inter font globally for UI */
html, body, input, textarea, select, button, table, th, td,
h1, h2, h3, h4, h5, h6, p, a, span, div, li, label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Keep Hack for code, numbers, and monospace elements */
code, pre, .mono, .monospace,
.order-id, .transaction-id, .balance-value, .stat-value,
.price-value, .cost-value, .numbers-count,
[data-monospace], .font-mono {
    font-family: 'Hack', 'Courier New', monospace;
}

/* Keep icon fonts untouched */
.fas, .far, .fab, .fa, .fal, .fad,
.fa-solid, .fa-regular, .fa-brands, .fa-light, .fa-duotone,
[class^="fa-"], [class*=" fa-"] {
    font-family: 'Font Awesome 6 Free' !important;
}
.fab, .fa-brands {
    font-family: 'Font Awesome 6 Brands' !important;
}
.fas::before, .far::before, .fab::before, .fa::before,
.fal::before, .fad::before,
.fa-solid::before, .fa-regular::before, .fa-brands::before,
[class^="fa-"]::before, [class*=" fa-"]::before {
    font-family: inherit !important;
}
