.analytics-consent {
  position: fixed;
  z-index: 100000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #161540;
}

.analytics-consent[hidden],
.analytics-consent-manage[hidden] {
  display: none !important;
}

.analytics-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(22, 21, 64, 0.14);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(22, 21, 64, 0.2);
}

.analytics-consent h2 {
  margin: 0 0 0.35rem;
  color: #161540;
  font-size: 1.05rem;
}

.analytics-consent p {
  max-width: 48rem;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

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

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

.analytics-consent__button,
.analytics-consent-manage {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent__button--primary {
  border: 1px solid #161540;
  background: #161540;
  color: #fff;
}

.analytics-consent__button--secondary {
  border: 1px solid #161540;
  background: #fff;
  color: #161540;
}

.analytics-consent-manage {
  position: fixed;
  z-index: 99999;
  left: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(22, 21, 64, 0.25);
  background: #fff;
  color: #161540;
  box-shadow: 0 0.5rem 1.5rem rgba(22, 21, 64, 0.15);
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .analytics-consent__content,
  .analytics-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (prefers-reduced-motion: reduce) {
  .analytics-consent *,
  .analytics-consent-manage {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
