/*
 * Nolan Media account console — colour only.
 *
 * Same rules as the login theme: PatternFly global tokens, never PatternFly's
 * hashed component classes. The account console is a Vite build, so its class
 * names carry content hashes (`._brand_1gmge_1`) that change on every upstream
 * release — a selector written against one of those breaks silently on
 * upgrade, with no error, just a quietly unstyled page.
 */

:root {
	--nm-navy: #142038;
	--nm-slate: #3e5c7e;

	--pf-v5-global--primary-color--100: var(--nm-slate);
	--pf-v5-global--primary-color--200: var(--nm-navy);
	--pf-v5-global--link--Color: var(--nm-slate);
	--pf-v5-global--link--Color--hover: var(--nm-navy);
}

/*
 * The masthead is dark by default and our logo is dark navy on transparency,
 * so out of the box it renders as an invisible rectangle. Making the bar navy
 * keeps PatternFly's light-on-dark masthead text correct — the opposite fix,
 * a white bar, would have turned every label and icon up there invisible
 * instead.
 */
.pf-v5-c-masthead {
	--pf-v5-c-masthead--BackgroundColor: var(--nm-navy);
	border-block-end: 3px solid var(--nm-slate);
}

/*
 * Renders the dark logo as a solid white wordmark against that navy bar.
 * brightness(0) crushes every colour channel to black while leaving the alpha
 * channel untouched, then invert(1) flips it to white — so the transparent
 * background stays transparent and the two-tone mark becomes one clean colour.
 * This is why the account console needs no separate light logo asset.
 */
.pf-v5-c-masthead__brand img {
	filter: brightness(0) invert(1);
	height: 34px;
	width: auto;
}
