/* GA4 consent banner (#1237). Same fixed dark/gold palette as a11y.css
   (#1c2333 / #3a4358 / #f4f1ea / #c8a55a) so this floating component reads
   consistently regardless of which page-family theme (dark-literal marketing
   pages vs. design-tokens.css app pages) it's placed on top of. */

.ga-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 32px);
  background: #1c2333;
  border-top: 1px solid #3a4358;
  box-shadow: 0 -12px 32px rgba(0,0,0,0.45);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}

.ga-consent-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #f4f1ea;
}
.ga-consent-text a {
  color: #c8a55a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ga-consent-text a:hover,
.ga-consent-text a:focus-visible {
  color: #ddd8cf;
}

.ga-consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.ga-consent-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.ga-consent-btn-ghost {
  background: transparent;
  border: 1px solid #3a4358;
  color: #9aa3b8;
}
.ga-consent-btn-ghost:hover {
  border-color: #c8a55a;
  color: #c8a55a;
}

.ga-consent-btn-primary {
  border: none;
  background: linear-gradient(135deg, #c8a55a, #a07a30);
  color: #0b1120;
}
.ga-consent-btn-primary:hover {
  opacity: .92;
}

.ga-consent-btn:focus-visible {
  outline: 2px solid #c8a55a;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .ga-consent-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .ga-consent-actions {
    justify-content: flex-end;
  }
}
