/**
 * JoomBoost brand overrides: "Night sky + flame" (a rocket launching at night).
 *
 * Loaded after template-variables.css when siteTheme = 'joomboost'.
 * - Flame red for actions and links. #E11D48 rather than the lighter #F43F5E, so
 *   white button text keeps a 4.5:1 contrast.
 * - Amber exhaust as the accent.
 * - Night-indigo header and footer, a warm off-white page, and indigo (not slate)
 *   surfaces in dark mode, so JoomBoost reads differently from both NextSoftware
 *   (slate + blue) and JoomCoder (royal blue + orange).
 *
 * The MUI side mirrors these in media/com_nextextmanager/shared/theme/brands/joomboost.ts.
 * Keep the two in sync.
 */

:root {
	--nxt-primary: #E11D48;
	--nxt-primary-light: #F43F5E;
	--nxt-primary-dark: #BE123C;
	--nxt-primary-contrast: #ffffff;

	--nxt-secondary: #F59E0B;
	--nxt-secondary-light: #FBBF24;
	--nxt-secondary-dark: #D97706;

	/* Warm page ground; cards and surfaces stay white */
	--nxt-bg-alt: #FFFBF5;
	--nxt-surface-hover: #FFF4EC;
	--nxt-border: #ECE7F3;
	--nxt-border-light: #F6F3FA;

	/* Night sky chrome */
	--nxt-header-bg: #1E1B4B;
	--nxt-header-text-secondary: #C7C4E8;
	--nxt-header-border: rgba(244, 63, 94, 0.18);

	--nxt-footer-bg: #1E1B4B;
	--nxt-footer-text: #D4D1EE;
	--nxt-footer-text-secondary: #9A96C8;
	--nxt-footer-heading: #FFFFFF;
	--nxt-footer-border: #2E2A66;
	--nxt-footer-bottom-bg: #151238;
}

[data-theme="dark"] {
	--nxt-primary: #F43F5E;
	--nxt-primary-light: #FB7185;
	--nxt-primary-dark: #E11D48;

	--nxt-bg: #0F0D2A;
	--nxt-bg-alt: #17143A;
	--nxt-surface: #17143A;
	--nxt-surface-hover: #221E4E;

	--nxt-text-secondary: #A9A6CF;
	--nxt-text-muted: #7470A6;

	--nxt-border: #2B2760;
	--nxt-border-light: #1C1946;

	--nxt-header-bg: #0B0920;
	--nxt-header-border: rgba(244, 63, 94, 0.14);

	--nxt-footer-bg: #0B0920;
	--nxt-footer-border: #1C1946;
	--nxt-footer-bottom-bg: #060514;
}

/* Header call-to-action (Register / Create Account / avatar), blue by default */
:root {
	--nxt-cta: #E11D48;
	--nxt-cta-hover: #BE123C;
}

/* Product page accents (tmpl/product: section labels, icons, plan cards, Download
 * button). NextSoftware keeps its blue/amber through the var() fallbacks there. */
:root {
	--nxt-brand-ink: #E11D48;
	--nxt-brand-tint: #FFF1F3;
	--nxt-brand-tint-border: #FECDD3;
	--nxt-brand-soft: rgba(225, 29, 72, 0.08);
	--nxt-brand-link: #F43F5E;
	--nxt-brand-link-text: #E11D48;
	--nxt-cta-bg: #E11D48;
	--nxt-cta-shadow: 0 10px 20px -8px rgba(225, 29, 72, 0.45);
	--nxt-plan-bg: #1E1B4B;
	/* Plan cards: top bar and check marks per tier */
	--nxt-plan-standard: #A5A3C9;
	--nxt-plan-popular: #E11D48;
	--nxt-plan-premium: #1E1B4B;
	--nxt-plan-premium-border: rgba(30, 27, 75, 0.25);
}

[data-theme="dark"] {
	--nxt-brand-ink: #FB7185;
	--nxt-brand-tint-dark: rgba(244, 63, 94, 0.15);
	--nxt-brand-tint-dark-border: rgba(244, 63, 94, 0.3);
	--nxt-brand-soft: rgba(244, 63, 94, 0.12);
	--nxt-brand-link-text: #FB7185;
	--nxt-plan-bg: #2E2A66;
	--nxt-plan-premium: #A5A3C9;
	--nxt-plan-premium-border: rgba(165, 163, 201, 0.35);
}
