html.incyte-popups-open {
  overflow: hidden;
}

.incyte-popups-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 21, 32, 0.78);
  padding: 24px;
  z-index: 9999;
  transition: opacity 0.25s ease;
  opacity: 0;
}

.incyte-popups-overlay--visible {
  display: flex;
  opacity: 1;
}

/* Variant hooks for Incyte vs external destinations. */
.incyte-popups-overlay--internal,
.incyte-popups-dialog--internal,
.incyte-popups-overlay--external,
.incyte-popups-dialog--external {
  /* Intentionally blank to allow custom overrides via the admin CSS field. */
}

.incyte-popups-dialog {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  text-align: center;
  font-family: inherit;
}

.incyte-popups-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #101935;
}

.incyte-popups-subtitle {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: #222b45;
}

.incyte-popups-text--empty {
  display: none;
}

.incyte-popups-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .incyte-popups-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.incyte-popups-button {
  cursor: pointer;
  border: none;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.incyte-popups-button:focus-visible {
  outline: 3px solid #004c97;
  outline-offset: 2px;
}

.incyte-popups-button--primary {
  background: #004c97;
  color: #fff;
}

.incyte-popups-button--primary:hover {
  background: #003a74;
}

.incyte-popups-button--secondary {
  background: #f4f6fb;
  color: #004c97;
}

.incyte-popups-button--secondary:hover {
  background: #e7ecf9;
}

.incyte-popups-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
