.analytics-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 9999;
  font-family: "Jost", Arial, sans-serif;
}

.analytics-consent__inner {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(15, 35, 65, 0.18);
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(15, 35, 65, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.analytics-consent__copy {
  max-width: 760px;
}

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

.analytics-consent__copy p {
  margin: 0 0 0.35rem;
  line-height: 1.5;
}

.analytics-consent__copy a {
  font-weight: 600;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.analytics-consent__actions button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent__allow {
  border: 1px solid #0f2341;
  background: #0f2341;
  color: #ffffff;
}

.analytics-consent__decline {
  border: 1px solid #0f2341;
  background: #ffffff;
  color: #0f2341;
}

.analytics-consent__actions button:focus-visible,
.analytics-consent__copy a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .analytics-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .analytics-consent__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-consent__actions {
    width: 100%;
  }

  .analytics-consent__actions button {
    flex: 1 1 140px;
  }
}