/**
 * analytics-consent.css — styles for the consent-gated analytics snippet.
 * Kept in a same-origin file (not inline) so the site's style-src 'self'
 * Content Security Policy allows it.
 */

/* Consent banner: fixed bottom bar, shown only before a choice is stored. */
.mayor-consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 0.9rem 1.25rem;
  background: #102b47;
  color: #ffffff;
  box-shadow: 0 -4px 24px rgba(16, 43, 71, 0.35);
}
.mayor-consent-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 46rem;
}
.mayor-consent-actions {
  display: flex;
  gap: 0.6rem;
}
/* Equal visual weight: identical sizing/typography on both buttons. */
.mayor-consent-btn {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: 0.75rem;
  cursor: pointer;
  border: 2px solid #ffffff;
}
.mayor-consent-accept {
  background: #ffffff;
  color: #102b47;
}
.mayor-consent-reject {
  background: transparent;
  color: #ffffff;
}
.mayor-consent-btn:hover {
  opacity: 0.88;
}
.mayor-consent-btn:focus-visible {
  outline: 3px solid #8fb8e8;
  outline-offset: 2px;
}

/* Footer "Cookie settings" trigger — looks like the other footer links. */
.mayor-consent-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.mayor-consent-link:hover {
  text-decoration: underline;
}
.mayor-consent-link:focus-visible {
  outline: 3px solid #397cdd;
  outline-offset: 2px;
}
.site-footer nav .mayor-consent-link,
.site-footer div .mayor-consent-link {
  color: var(--ink, #142e46);
  font-weight: 600;
  font-size: 0.95rem;
}
