.analytics-consent,
.analytics-settings {
  font-family: Arial, sans-serif;
  color: #171717;
}

.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 58rem;
  margin-inline: auto;
  padding: 1.25rem;
  border: 1px solid #707070;
  background: #fff;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 22%);
}

.analytics-consent h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.analytics-consent p {
  max-width: 42rem;
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.analytics-consent a {
  color: inherit;
  text-decoration: underline;
}

.analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.analytics-consent button,
.analytics-settings {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #171717;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

.analytics-consent__accept {
  color: #fff;
  background: #171717;
}

.analytics-consent__reject {
  color: #171717;
  background: #fff;
}

.analytics-settings {
  position: fixed;
  z-index: 9999;
  right: 0.75rem;
  bottom: 0.75rem;
  min-height: auto;
  padding: 0.35rem 0.55rem;
  border-color: #707070;
  color: #171717;
  background: #fff;
  font-size: 0.75rem;
}

.analytics-consent :focus-visible,
.analytics-settings:focus-visible {
  outline: 3px solid #1769aa;
  outline-offset: 3px;
}

@media (max-width: 42rem) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
