.analytics-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(14, 23, 38, 0.12);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(14, 23, 38, 0.18);
  color: #0e1726;
}

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

.analytics-consent__copy {
  max-width: 48rem;
}

.analytics-consent__copy strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.analytics-consent__copy p {
  margin: 0;
  color: #5a6883;
  font-size: 0.9rem;
  line-height: 1.5;
}

.analytics-consent__copy a {
  color: #2f6fed;
  font-weight: 650;
}

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

.analytics-consent__button {
  min-height: 2.65rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(14, 23, 38, 0.16);
  border-radius: 0.72rem;
  background: #ffffff;
  color: #0e1726;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent__button--accept {
  border-color: #2f6fed;
  background: #2f6fed;
  color: #ffffff;
}

.analytics-consent__button:focus-visible,
.analytics-consent__copy a:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.35);
  outline-offset: 3px;
}

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

  .analytics-consent__actions {
    width: 100%;
  }

  .analytics-consent__button {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent__button {
    transition: none;
  }
}
