/* ============================================================
   FluxFront — Cookie-consent banner (marketing + legal pages)
   ------------------------------------------------------------
   Restyle of the compliance banner onto the new design tokens.
   The SELECTORS here are a hard contract: js/cookie-banner.js
   injects exactly #ff-cookie-banner / .ff-cookie-* — do not rename.
   Behavior, storage keys and the ffCookieConsent.whenAccepted hook
   live in js/cookie-banner.js and are unchanged. The portal / book /
   pay-success pages keep the separate global /css/cookie-banner.css.
   ============================================================ */
.ff-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000; /* above the chatbot orb while the banner is shown */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  padding: 14px 22px;
  background: var(--ink-deep);
  color: #C4C9D2;
  font-family: var(--font-body);
  font-size: var(--t-xs);
  line-height: 1.5;
  box-shadow: 0 -2px 18px rgb(var(--paper-shadow) / 0.28);
}

.ff-cookie-text {
  margin: 0;
  max-width: 720px;
}

.ff-cookie-text a {
  color: var(--teal-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ff-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.ff-cookie-btn {
  border: 0;
  border-radius: var(--r-sm);
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--d-2) var(--e-out), border-color var(--d-2) var(--e-out), color var(--d-2);
}

.ff-cookie-accept {
  background: var(--teal);
  color: var(--ink);
}
.ff-cookie-accept:hover {
  background: var(--teal-bright);
}

.ff-cookie-reject {
  background: transparent;
  color: #C4C9D2;
  border: 1px solid var(--ink-line);
}
.ff-cookie-reject:hover {
  border-color: #6E747F;
  color: #fff;
}

@media (max-width: 560px) {
  .ff-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .ff-cookie-actions {
    justify-content: center;
  }
}
