/**
 * JoomCoder brand overrides
 *
 * Loaded after template-variables.css when site_theme = 'joomcoder'. Overrides only
 * the brand-colour custom properties — surfaces, text, borders, shadows, radii stay
 * inherited from the nextsoftware default so the design system remains cohesive.
 *
 * The MUI side mirrors these in
 * media/com_nextextmanager/shared/theme/brands/joomcoder.ts — keep in sync.
 */

:root {
	/* Primary brand — JoomCoder royal blue (from the </> JoomCoder logo) */
	--nxt-primary: #2563EB;
	--nxt-primary-light: #3B82F6;
	--nxt-primary-dark: #1D4ED8;
	--nxt-primary-contrast: #ffffff;

	/* Secondary / accent — warm orange */
	--nxt-secondary: #EA580C;
	--nxt-secondary-light: #FB923C;
	--nxt-secondary-dark: #C2410C;

	/* Header shares the footer background so top & bottom chrome match.
	 * var() auto-tracks --nxt-footer-bg in both light and dark themes. */
	--nxt-header-bg: var(--nxt-footer-bg);
	--nxt-header-border: rgba(59, 130, 246, 0.15);
}

[data-theme="dark"] {
	/* --nxt-header-bg follows --nxt-footer-bg (dark) automatically; only the border differs */
	--nxt-header-border: rgba(59, 130, 246, 0.10);
}
