/* Cookie consent – brand CMP (native dialog) */

.bb-consent-dialog {
  border: none;
  border-radius: var(--radius-sm, 12px);
  padding: 0;
  max-width: min(32rem, calc(100vw - 2rem));
  width: 100%;
  background: var(--white, #fff);
  color: var(--text, #1a2e2e);
  box-shadow: 0 16px 48px rgba(26, 46, 46, 0.18);
}

.bb-consent-dialog::backdrop {
  background: rgba(26, 46, 46, 0.45);
}

.bb-consent-panel {
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bb-consent-title {
  margin: 0;
  font-family: var(--font-head, 'Teachers', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-darker, #234747);
  line-height: 1.25;
}

.bb-consent-body {
  margin: 0;
  font-family: var(--font, Inter, sans-serif);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted, #4a6565);
}

.bb-consent-links {
  margin: 0;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.bb-consent-links a {
  color: var(--green, #447e7e);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bb-consent-links a:focus-visible {
  outline: 2px solid var(--focus, #234747);
  outline-offset: 2px;
}

.bb-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.bb-consent-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-family: var(--font-head, 'Teachers', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.bb-consent-btn:focus-visible {
  outline: 2px solid var(--focus, #234747);
  outline-offset: 2px;
}

.bb-consent-btn--primary {
  background: var(--orange, #f6a884);
  color: var(--green-darker, #234747);
}

.bb-consent-btn--primary:hover {
  filter: brightness(0.97);
}

.bb-consent-btn--secondary {
  background: var(--green-muted, #e8f0f0);
  color: var(--green-darker, #234747);
}

.bb-consent-btn--secondary:hover {
  background: #dce8e8;
}

@media (max-width: 480px) {
  .bb-consent-actions {
    flex-direction: column-reverse;
  }

  .bb-consent-btn {
    width: 100%;
  }
}
