/* Add code kingshuk 12/11/2026 : Global Typography System, rewritten to the "Infinity by Eureka UI Design Guideline" (section 4).
   Roboto  = all content: body, headings, labels, inputs, tables, menus, alerts, tooltips, third-party widgets.
   Manrope = every button (guideline --font-button), 14px, weight 600, uppercase.
   The old Montserrat heading font and its @font-face files are no longer used.
   Self-hosted fonts (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. */

@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;
}

/* Add code kingshuk 12/11/2026 : Manrope variable font (guideline section 4.1), used for buttons only */
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("fonts/eureka/manrope-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: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("fonts/eureka/manrope-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: var(--eureka-font-body);
    --eureka-font-button: "Manrope", "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 (guideline 4.2: 14px fluid token, weight 400, letter-spacing .2px) ---- */
html body,
html body.dark {
    font-family: var(--eureka-font-body);
    font-size: var(--14, 14px);
    font-weight: 400;
    letter-spacing: .2px;
}
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);
}

/* ---- Buttons: Manrope, 14px token, weight 600, uppercase (guideline 4.1, 4.5, 9.7) ---- */
html body button,
html body .btn,
html body input[type="button"],
html body input[type="submit"],
html body input[type="reset"],
html body .swal2-styled {
    font-family: var(--eureka-font-button);
    font-size: var(--14, 14px);
    font-weight: 600;
    text-transform: uppercase;
}

/* ---- Headings: Roboto 500 (guideline 1.3 / 4.4: page title 24px, section title 20px) ---- */
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,
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 .step-title, html body .kui-rail-title, html body .kui-section {
    font-family: var(--eureka-font-body);
    font-weight: 500;
}

/* Weight scale: 400 regular text; 500 labels, values, headings, table headers (guideline --font-weight); 600 buttons */
html:root { --eureka-fw-regular: 400; --eureka-fw-button: 600; --eureka-fw-medium: 500; }
html body b, html body strong, html body .fw-medium, html body .fw-semibold, html body th, html body .fw-bold, html body .fw-bolder, html body .font-weight-bold { font-weight: var(--eureka-fw-medium); }
html body .lead { font-weight: var(--eureka-fw-regular); } /* Bootstrap's .lead is 300 */

/* Add code kingshuk 12/11/2026 : tabs, accordion headers, dropdown items and close icons are rendered with <button> but are not guideline buttons: they keep Roboto, no uppercase (guideline 9.3 tabs 14px / 500) */
html body .nav-link, html body button.nav-link, html body .accordion-button, html body button.dropdown-item, html body .btn-close {
    font-family: var(--eureka-font-body);
    text-transform: none;
}
html body button.dropdown-item { font-weight: 400; }