/* ── Consent banner ───────────────────────────────────────────────────────── */

#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #F5F3EE;          /* matches --color-background */
  border-top: 3px dotted #663399;     /* matches --color-border */
  z-index: 9999;
  padding: 0.65rem 1rem;
  font-family: 'Roboto Mono', 'Courier New', monospace;
  font-size: 0.82em;
}

.consent-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.consent-banner-inner p {
  margin: 0;
  flex: 1;
  min-width: 12rem;
  line-height: 1.4;
}

.consent-banner-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Shared button base ───────────────────────────────────────────────────── */

.consent-btn,
.embed-allow-btn {
  font-family: 'Roboto Mono', 'Courier New', monospace;
  font-size: 0.82em;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  background: none;
  cursor: pointer;
  line-height: 1.4;
}

/* Primary (allow) */
.consent-btn-allow {
  border: 2px solid #232333;
  color: #232333;
}
.consent-btn-allow:hover,
.consent-btn-allow:focus {
  background-color: #232333;
  color: #F5F3EE;
  outline: 2px solid #232333;
  outline-offset: 2px;
}

/* Secondary (deny / block) */
.consent-btn-deny,
.consent-btn-block {
  border: 2px solid #737373;
  color: #737373;
}
.consent-btn-deny:hover,
.consent-btn-deny:focus,
.consent-btn-block:hover,
.consent-btn-block:focus {
  background-color: #737373;
  color: #F5F3EE;
  outline: 2px solid #737373;
  outline-offset: 2px;
}

/* ── Embed placeholder ────────────────────────────────────────────────────── */

.embed-placeholder {
  border: 2px dashed #663399;         /* matches --color-border */
  border-radius: 5px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #737373;                     /* matches --color-text-muted */
  margin: 1.25rem 0;
  font-family: 'Roboto Mono', 'Courier New', monospace;
}

.embed-placeholder p {
  margin: 0 0 0.75rem;
  font-size: 0.88em;
  line-height: 1.5;
}

.embed-allow-btn {
  border: 2px solid #dc143c;          /* matches --color-primary */
  color: #dc143c;
}
.embed-allow-btn:hover,
.embed-allow-btn:focus {
  background-color: #dc143c;
  color: #ffffff;
  outline: 2px solid #dc143c;
  outline-offset: 2px;
}

/* ── Consent settings panel (Privacy page) ────────────────────────────────── */

.consent-settings-panel {
  border: 1px solid #663399;
  border-radius: 5px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-family: 'Roboto Mono', 'Courier New', monospace;
  font-size: 0.9em;
}

.consent-settings-panel p {
  margin: 0 0 0.75rem;
}

.consent-settings-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Dark mode overrides live in themes/archie/assets/css/dark.css */
