.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #f8faf8;
  font-family: 'DM Sans', sans-serif;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, 70rem);
  margin: 0 auto;
  padding: 1rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 1rem;
  background: #123d24;
  box-shadow: 0 1rem 3rem rgb(7 24 14 / 30%);
}

.analytics-consent strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: Manrope, sans-serif;
  font-size: 1rem;
}

.analytics-consent p {
  max-width: 48rem;
  margin: 0;
  color: rgb(248 250 248 / 82%);
  font-size: 0.88rem;
  line-height: 1.5;
}

.analytics-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(7rem, 1fr));
  gap: 0.65rem;
  flex: 0 0 auto;
}

.analytics-consent button {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent button:hover,
.analytics-consent button:focus-visible {
  border-color: #fff;
  background: rgb(255 255 255 / 12%);
  outline: 2px solid transparent;
}

@media (max-width: 720px) {
  .analytics-consent__content {
    display: grid;
  }

  .analytics-consent__actions {
    width: 100%;
  }
}
