/**
 * @file
 * The Google Analytics consent box (js/analytics.js): a small card at the
 * foot of the window, dark whatever the page's ground (`.otb-on-dark`).
 */

.otb-consent {
  position: fixed;
  z-index: 1000;
  inset-block-end: 1rem;
  inset-inline: 1rem;
  max-inline-size: 32rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--border-radius-sm);
  background: var(--color-bg-primary);
  color: var(--color-text-heading);
  box-shadow: var(--shadow-lg);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.otb-consent__text {
  margin: 0 0 0.75rem;
}

.otb-consent__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.otb-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media print {
  .otb-consent {
    display: none;
  }
}
