.bs-analytics-consent {
  position: fixed;
  z-index: 10000;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(34rem, calc(100vw - 2rem));
  padding: 1.25rem;
  border: 1px solid #d8ded9;
  border-radius: 0.75rem;
  background: #fff;
  color: #24352e;
  box-shadow: 0 10px 32px rgb(26 46 37 / 18%);
  font: inherit;
}

.bs-analytics-consent h2 {
  margin: 0 0 0.5rem;
  color: #214b39;
  font-size: 1.1rem;
}

.bs-analytics-consent p {
  margin: 0 0 0.65rem;
  line-height: 1.5;
}

.bs-analytics-consent > a {
  color: #245a43;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bs-analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.bs-analytics-button,
.bs-analytics-settings {
  min-height: 2.65rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid #245a43;
  border-radius: 0.35rem;
  background: #fff;
  color: #214b39;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.bs-analytics-button:focus-visible,
.bs-analytics-settings:focus-visible {
  outline: 3px solid #a8c4b4;
  outline-offset: 2px;
}

.bs-analytics-accept {
  background: #245a43;
  color: #fff;
}

.bs-analytics-settings {
  min-height: auto;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 480px) {
  .bs-analytics-actions > button {
    flex: 1 1 100%;
  }
}
