/* Cookie banner styles. Copy to public/assets/consent.css and load it from
   every page's <head> (not injected), so the banner never flashes unstyled.

   Retune the five variables to the CLIENT's palette and fonts, never
   WhiteCap's: the banner must read as part of their site. Rule of thumb:
   panel = the site's darkest surface (or its lightest, on a light site),
   Accept = the site's own primary button colour and shape. Check it at 390px
   and 1280px next to the site's real buttons before shipping. */
.site-consent{
  --consent-bg:#111830;        /* panel background */
  --consent-fg:#eef1f8;        /* panel text */
  --consent-accent:#ffe14d;    /* Accept fill: the site's primary button colour */
  --consent-accent-fg:#10130a; /* text on Accept */
  --consent-font:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;

  position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:80;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.9rem 1.5rem;
  max-width:1100px;margin-inline:auto;
  background:var(--consent-bg);color:var(--consent-fg);
  border:1px solid rgba(255,255,255,.18);border-radius:8px;
  padding:1rem 1.15rem;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
  font-family:var(--consent-font);font-size:.9rem;line-height:1.55;
}
.site-consent__text{margin:0;max-width:62ch}
.site-consent__text a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.site-consent__actions{display:flex;gap:.6rem;flex:none}
.site-consent__btn{
  font:inherit;font-weight:700;
  padding:.55rem 1.2rem;border-radius:6px;border:2px solid transparent;cursor:pointer;
  transition:background .15s,border-color .15s,color .15s,filter .15s;
}
.site-consent__btn--accept{background:var(--consent-accent);border-color:var(--consent-accent);color:var(--consent-accent-fg)}
.site-consent__btn--accept:hover{filter:brightness(1.08)}
.site-consent__btn--decline{background:transparent;border-color:currentColor;color:inherit}
.site-consent__btn:focus-visible{outline:2px solid currentColor;outline-offset:2px}

@media(max-width:640px){
  /* If the site has a sticky mobile call bar, raise `bottom` so the banner
     sits above it rather than covering it. */
  .site-consent{left:.75rem;right:.75rem;bottom:.75rem;padding:.9rem 1rem}
  .site-consent__actions{width:100%}
  .site-consent__btn{flex:1}
}
