/* =====================================================================================
   GST theme "Flow Arrows" (Update 11): navy + sky blue, Plus Jakarta Sans.
   Loaded LAST on every screen; only overrides colours / font of mcalc-ui.css (dark mode keeps its own colours).
   ===================================================================================== */
:root {
    --brand: #1592C4; --brand-600: #0B7FA8; --brand-700: #075E7D;
    --brand-50: #E8F6FC; --brand-100: #D2EEF9; --brand-200: #B4E1F2;
    --sky: #22B8E6; --navy: #0B2540; --navy-600: #12395E;
    --ink: #0B2540; --text: #22384D; --muted: #5B7389; --faint: #8AA0B4;
    --line: #E3EBF1; --line-2: #EEF3F7; --input: #CBD8E3; --soft: #F7FAFC; --bg: #F4F8FB;
    --sh-2: 0 8px 20px rgba(11, 37, 64, .08); --sh-3: 0 14px 34px rgba(11, 37, 64, .16);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans Gujarati', sans-serif;
}
html.mc-dark { --navy: #22B8E6; --navy-600: #1592C4; }

/* Update 20 (mobile audit 9) - contrast >= 4.5:1 for text, same colours a little deeper (checked with a contrast script, int_u20_u.md):
   brand blue #1592C4 -> #1179A3 (white on it 3.54 -> 4.90; as text on white 4.90, on the page grey 4.59), darker shade for chips / hover,
   success #1f9d6b -> #187C55 (3.45 -> 5.18), danger #d64545 -> #C53030 (4.38 -> 5.47), amber chip text #8a5d07.
   Dark mode keeps the same brand (white text on brand buttons / chips) and lighter TEXT colours for success / danger / brand-coloured text. */
:root { --brand: #1179A3; --brand-600: #0B6A8F; --green: #187C55; --red: #C53030; }
.mc-chip--warn, .mc-chip--amber, .mc-u39 .mc-chip--warn, .mc-u39 .mc-chip--amber { color: #7A5206; }
.btn-success, .btn-info { color: var(--brand-600) !important; }
.mc-new-btn { box-shadow: 0 6px 14px rgba(17, 121, 163, .32) !important; }
html.mc-dark .text-success, html.mc-dark .mc-kpi__sub .up, html.mc-dark .gst-lookup-note.is-good { color: #3DBE8B !important; }
html.mc-dark .text-danger, html.mc-dark .mc-kpi__sub .down, html.mc-dark .gst-lookup-note.is-bad { color: #F07272 !important; }
html.mc-dark .btn-success, html.mc-dark .btn-info { color: var(--brand-700) !important; }
html.mc-dark .mc-user__avatar { color: #0B2540; }                      /* navy text on the sky avatar: 6.70 (white was 2.32) */
html.mc-dark .mc-chip { color: var(--ink); }
html.mc-dark .dropdown-item.text-danger { color: #F07272 !important; }

/* main buttons are navy, like the new sign in page (sky blue stays for links, chips and highlights) */
.btn-primary { background: var(--navy) !important; border-color: var(--navy) !important; box-shadow: 0 4px 12px rgba(11, 37, 64, .22) !important; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):active { background: var(--navy-600) !important; border-color: var(--navy-600) !important; }
html.mc-dark .btn-primary { color: #0B2540 !important; }
a { color: var(--brand-600); }
a:hover { color: var(--brand-700); }
:focus-visible { outline-color: var(--sky); }

/* the logo next to the company name */
.mc-brand img, .mc-drawer img[src*="newlogo"] { border-radius: 8px; }

/* public pages (sign in, register, portal): navy brand panel instead of the old cyan gradient */
.mc-public { font-family: var(--font); }
.mc-public__side { background: var(--navy) !important; color: #DCE7F0; }
.mc-public__side::after { display: none; }
.mc-public__side .mc-brand__text small, .mc-public__side p.lead { color: #B8CADB; }
.mc-public__side h1 span { color: var(--sky); }
.mc-public__feat li i { color: var(--sky); }
.mc-auth__reg i { color: var(--brand-600); }
