﻿/* Add code kingshuk 13/10/2026 : Global Typography System
   Montserrat = every heading (h1-h6, .h1-.h5, .display-*, and the custom heading components listed below).
   Roboto     = all other text (body, labels, controls, buttons, tables, menus, alerts, tooltips, footers, third-party widgets).
   Self-hosted variable fonts (Montserrat 500-700, Roboto 400-700; latin + latin-ext, which includes the Rupee sign) live in ./fonts/eureka/.
   Selectors are prefixed "html body" so they win over the template's own body{font-family:Nunito} regardless of stylesheet order; no !important is needed.
   This one file is identical in every client project (E-KYC, C-KYC, RE-KYC, EKYCBO) and is linked once from each layout / standalone page. */

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url("fonts/eureka/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url("fonts/eureka/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/eureka/roboto-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/eureka/roboto-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html:root {
    --eureka-font-body: "Roboto", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --eureka-font-heading: "Montserrat", "Roboto", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    /* Bootstrap 5 reads these, so anything built on its variables follows automatically */
    --bs-body-font-family: var(--eureka-font-body);
    --bs-font-sans-serif: var(--eureka-font-body);
}

/* ---- Roboto: default for everything ---- */
html body,
html body.dark { /* the template's body.dark rule hard-codes Nunito with higher specificity */
    font-family: var(--eureka-font-body);
}
html body button,
html body input,
html body select,
html body textarea,
html body optgroup {
    font-family: inherit;
}
/* jQuery UI widgets hard-code Arial */
html body .ui-widget,
html body .ui-widget input,
html body .ui-widget select,
html body .ui-widget textarea,
html body .ui-widget button {
    font-family: var(--eureka-font-body);
}

/* ---- Montserrat: headings (semantic tags + custom heading components found in the views) ---- */
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .h1,
html body .h2,
html body .h3,
html body .h4,
html body .h5,
html body .h6:not(.float-end),
html body .display-1,
html body .display-2,
html body .display-3,
html body .display-4,
html body .display-5,
html body .display-6,
html body .card-title,
html body .modal-title,
html body .swal2-title,
html body .popover-header,
html body .offcanvas-title,
html body .dropdown-header,
html body .info-box-1-title,
html body .error-title,
html body .widget-heading,
html body .inv-title,
html body .add-list-title,
html body .list-title,
html body .drodpown-title,
html body .w-numeric-title,
html body .wallet-title,
html body .howto-title,
html body .otp-header-text,
html body .step-title,
html body .menu-heading .heading,
html body .kui-rail-title,
html body .kui-section {
    font-family: var(--eureka-font-heading);
}

/* Labels that sit INSIDE a heading (step pills, badges) are ordinary text, not headings */
html body .float-end.h6,
html body h1 .badge, html body h2 .badge, html body h3 .badge,
html body h4 .badge, html body h5 .badge, html body h6 .badge {
    font-family: var(--eureka-font-body);
}
