/*
 * styleConsent.css — the GDPR analytics consent bar built by consent.js.
 * A fixed bottom bar (accept/decline) plus the About modal's privacy
 * section. Light-theme palette matched to the setup dialogs (accent
 * #2e5e8c). Display only (§1.2); shown solely on the hosted site.
 */

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0.9rem 1.2rem;
  background: #fff;
  color: #222;
  border: 1px solid #d4d9de;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  font-size: 0.9rem;
}

.consent-text {
  margin: 0;
  flex: 1 1 20rem;
  line-height: 1.4;
}

.consent-learn {
  /* Inherits .link-btn (styleInfo.css); nudge to sit inline with the text. */
  white-space: nowrap;
}

.consent-actions {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.consent-actions button {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
}

.consent-accept {
  border: none;
  background: #2e5e8c;
  color: #fff;
}

.consent-accept:hover { background: #24496d; }

.consent-decline {
  background: #fff;
  color: #2e5e8c;
  border: 1px solid #2e5e8c;
}

.consent-decline:hover { background: #eef3f8; }

/* About modal's privacy block. */
.about-privacy {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #e3e6ea;
}

.about-privacy h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}
