/* NetPulse Core brand (1.3.6): typed wordmark and logo lockup.
   Fonts are served by NetPulse itself (see static/fonts/README.txt). */

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/plus-jakarta-sans-latin-ext-wght.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/plus-jakarta-sans-latin-wght.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: "Noto Sans Malayalam";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/noto-sans-malayalam-wght.woff2") format("woff2");
    unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0D00-0D7F, U+1CDA, U+1CF2, U+200C-200D, U+20B9, U+25CC, U+A830-A832;
}

/* Wordmark: "Net" + "Pulse" 800, "Core" 600 in green.
   Light:  Net #0F1E36, Pulse #1D63D6, Core #12A37A (logotype).
   Navy:   Net #FFFFFF, Pulse #4F8EF7 (#1D63D6 is only 3.0:1 on #0F1E36;
           #4F8EF7 is 5.2:1), Core #3DD39B. */
.np-wordmark {
    font-family: "Plus Jakarta Sans", "Noto Sans Malayalam", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.np-wordmark__core {
    font-weight: 600;
    letter-spacing: 0;
}

.np-wordmark--light .np-wordmark__net { color: #0F1E36; }
.np-wordmark--light .np-wordmark__pulse { color: #1D63D6; }
.np-wordmark--light .np-wordmark__core { color: #12A37A; }

.np-wordmark--navy .np-wordmark__net { color: #FFFFFF; }
.np-wordmark--navy .np-wordmark__pulse { color: #4F8EF7; }
.np-wordmark--navy .np-wordmark__core { color: #3DD39B; }

/* White: on the blue login background (white on #0864E8 is 5.4:1). */
.np-wordmark--white .np-wordmark__net,
.np-wordmark--white .np-wordmark__pulse,
.np-wordmark--white .np-wordmark__core { color: #FFFFFF; }

/* Lockup: symbol + wordmark (+ subtitle) */
.np-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.np-lockup .np-symbol {
    flex: 0 0 auto;
    display: block;
}

.np-lockup__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
}

.np-lockup .np-wordmark {
    font-size: 26px;
}

.np-lockup__subtitle {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: #5B6475;
}

.np-lockup--navy .np-lockup__subtitle {
    color: #8A9BB5;
}

.np-lockup--white .np-lockup__subtitle {
    color: #FFFFFF;
}

/* Topbar brand link (1.3.7): the logo lives in the sidebar, so the link
   is hidden on desktop and tablet. It is shown, symbol only, on phones,
   and with the wordmark on pages without a sidebar (Live Topology),
   where it is the way back to the dashboard. */
.topbar .np-brand {
    display: none;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.topbar .np-brand .np-symbol {
    width: 36px;
    height: 36px;
}

.topbar .np-brand .np-wordmark {
    font-size: 22px;
}

@media screen and (max-width: 768px) {
    .topbar .np-brand {
        display: inline-flex;
    }

    .topbar .np-brand__wordmark {
        display: none;
    }

    .topbar .np-brand .np-symbol {
        width: 32px;
        height: 32px;
    }
}

.np-document-content .page-shell:not(:has(.app-sidebar)) .topbar .np-brand,
body:has(.np-live-topology-page-marker) .topbar .np-brand,
body.np-live-topology-clean .topbar .np-brand {
    display: inline-flex;
}

/* Login and password pages without an uploaded login logo: the white
   symbol and all-white "NetPulse Core" directly on the blue background. */
html body .np-login-lockup {
    display: inline-flex;
    max-width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 0;
    background: none;
    box-shadow: none;
}

.np-login-lockup .np-wordmark {
    font-size: 30px;
}

.np-login-lockup .np-lockup__subtitle {
    font-size: 12.5px;
}

/* The login page sizes every logo image inside .mobile-brand to 340 px;
   keep the symbol at its own size. */
html body .np-login-lockup img.np-symbol {
    display: block !important;
    width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    filter: none !important;
}

@media (max-width: 520px) {
    html body .np-login-lockup img.np-symbol {
        width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
    }

    .np-login-lockup .np-wordmark {
        font-size: 24px;
    }

    .np-login-lockup .np-lockup__subtitle {
        font-size: 11px;
    }
}
