/* ============================================================================
   Brand tokens — Mar Holidays Travel Network
   Mirrors the booker's assets/css/main.css so the campaign builder previews in
   the real brand colors/effects (not admin placeholders) and matches the booker.

   Loaded by the admin today for Mar Holidays only. Future: the admin picks the
   brand stylesheet by channel id and loads the matching CDN, so each platform
   designs and renders in its own brand.

   SCOPED to the campaign canvas/preview (.scb-canvas = builder lienzo, .sc-root =
   rendered output) so the brand tokens never bleed into the admin platform UI.

   Tokens are NAMESPACED as --sc-brand-* on purpose: admin.css defines its own
   --primary-color / --secondary-color on :root for the platform chrome, and
   reusing those names here made the campaign button inherit the admin color even
   inside the canvas. A dedicated namespace that admin.css never declares removes
   that collision entirely.
   ============================================================================ */
.scb-canvas, .sc-root {
  --sc-brand-primary: #4CB8C4;
  --sc-brand-primary-bg: linear-gradient(90deg, #4CB8C4 54.09%, #3CD3AD 119.38%);
  --sc-brand-primary-light: #EAF7F8;
  --sc-brand-primary-darker: #e6e6e6;
  --sc-brand-secondary: #FD4659;
  --sc-brand-secondary-dark: #b3132c;
  --sc-brand-secondary-bg: #20A79C;
  --sc-brand-neutral: #ffffff;
  --sc-brand-neutral-dark: #585857;
  --sc-brand-warning: #F6E7BB;

  /* Brand typography (mirrors the booker: Open Sans for body, Cormorant Garamond for display). */
  --sc-brand-font-body: 'Open Sans', system-ui, sans-serif;
  --sc-brand-font-head: 'Cormorant Garamond', serif;

  /* The canvas/preview and rendered output default to the brand body font. */
  font-family: var(--sc-brand-font-body);

  /* Generic campaign variables the renderer (.sc-*) and the builder preview (.r-*) consume.
     The booker's own main.css defines these on its body; we mirror them INSIDE the canvas so
     every element previews in brand instead of the admin palette, WITHOUT leaking to the
     platform chrome (which keeps its own --primary-color/--secondary-color on :root). */
  --primary-color: var(--sc-brand-primary);
  --primary-bg-color: var(--sc-brand-primary-bg);
  --primary-light-bg: var(--sc-brand-primary-light);
  --secondary-color: var(--sc-brand-secondary);
  --secondary-color-dark: var(--sc-brand-secondary-dark);
  --secondary-bg-color: var(--sc-brand-secondary-bg);
  --neutral-color: var(--sc-brand-neutral);
  --neutral-dark-color: var(--sc-brand-neutral-dark);
  --warning-color: var(--sc-brand-warning);
}
