/* website-standard template: assets/css/consent.css (POLICY-08, POLICY-15).
   The consent questions are BARS along the bottom of the screen, never popups: no overlay, no dimming, no focus trap;
   the page keeps working underneath. consent.js pads the page bottom by the bar's height (--consent-pad) so the bar
   never hides the footer's Privacy choices control. Restyle with the site's tokens; keep the two buttons equal. */
:root { --consent-pad: 0px; }
body { padding-bottom: var(--consent-pad); }

.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: var(--consent-bg, #111); color: var(--consent-fg, #f2f2f2);
  border-top: 1px solid var(--consent-line, rgba(255, 255, 255, .15));
  font-size: 15px; line-height: 1.45;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; max-width: 62ch; }
.consent a { color: inherit; text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; }

/* Equal weight for yes and no (app LEGAL-04): same size, same style, neither pre-selected or highlighted. */
.consent button {
  min-width: 110px; min-height: 40px; padding: 8px 16px; cursor: pointer;
  font: inherit; font-weight: 600; border-radius: 6px;
  background: transparent; color: inherit; border: 1px solid currentColor;
}
.consent button:focus-visible { outline: 3px solid var(--consent-focus, #6cb4ff); outline-offset: 2px; }

@media (max-width: 560px) {
  .consent { justify-content: flex-start; }
  .consent__actions { width: 100%; }
  .consent button { flex: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .consent:not([hidden]) { animation: consent-in .2s ease-out; }
  @keyframes consent-in { from { transform: translateY(100%); } to { transform: none; } }
}
