.wpg-consent,
.wpg-consent-manager,
[data-wpg-analytics-manage] {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wpg-consent {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #f8f4ff;
  background: rgba(16, 11, 34, 0.98);
  border: 1px solid rgba(255, 201, 112, 0.52);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

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

.wpg-consent-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}

.wpg-consent-copy p {
  margin: 0 0 4px;
  color: #d9d0e8;
  font-size: 0.9rem;
  line-height: 1.45;
}

.wpg-consent-copy a {
  color: #ffc970;
  font-size: 0.86rem;
  text-underline-offset: 3px;
}

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

.wpg-consent-actions button,
.wpg-consent-manager,
[data-wpg-analytics-manage] {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #f8f4ff;
  background: #29203f;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.wpg-consent-actions button:focus-visible,
.wpg-consent-manager:focus-visible,
[data-wpg-analytics-manage]:focus-visible {
  outline: 3px solid #ffc970;
  outline-offset: 3px;
}

.wpg-consent-actions .wpg-consent-allow {
  color: #160e27;
  background: #ffc970;
  border-color: #ffc970;
}

.wpg-consent-manager {
  position: fixed;
  z-index: 9998;
  right: 14px;
  bottom: 14px;
  min-height: 36px;
  padding: 7px 11px;
  color: #dcd4eb;
  background: rgba(16, 11, 34, 0.94);
  border-color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .wpg-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .wpg-consent-actions {
    width: 100%;
  }

  .wpg-consent-actions button {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpg-consent *,
  .wpg-consent-manager {
    scroll-behavior: auto;
  }
}
