.analytics-consent {
  position: fixed;
  z-index: 2500;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 22px;
  color: #f7f7fb;
  background: rgba(12, 12, 16, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: 'Outfit', 'Inter', sans-serif;
}

.analytics-consent-copy {
  min-width: 0;
}

.analytics-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 700;
}

.analytics-consent-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(247, 247, 251, 0.7);
  font-size: 14px;
  line-height: 1.45;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.analytics-consent-actions button,
.analytics-settings-button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.analytics-consent-actions button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.analytics-consent-actions button:hover {
  transform: translateY(-1px);
}

.analytics-consent-primary {
  color: #09090b;
  background: #f3ff6a;
}

.analytics-consent-secondary {
  color: #f7f7fb;
  background: rgba(255, 255, 255, 0.1);
}

.analytics-settings-button {
  position: fixed;
  z-index: 2400;
  bottom: 14px;
  left: 14px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(12, 12, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font: 600 11px/1 'Outfit', 'Inter', sans-serif;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.analytics-consent-actions button:focus-visible,
.analytics-settings-button:focus-visible {
  outline: 2px solid #f3ff6a;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .analytics-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    padding: 18px;
    border-radius: 18px;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .analytics-consent-actions button {
    width: 100%;
  }
}

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