/* The reply pill that follows the guest on a published invitation (invite-cta.js) */
.rsvp-float {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 15;
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: calc(100vw - 24px);
  opacity: 0;
  transform: translate(-50%, 28px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.rsvp-float.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.rsvp-float .btn {
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--rv-radius, 999px);
  background: var(--cta, var(--invite-accent));
  color: var(--on-cta, var(--invite-on-accent, #fff));
  font-family: var(--rv-body, inherit);
  font-size: 16px;
  font-weight: 700;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--invite-bg) 78%, transparent),
    0 14px 34px color-mix(in srgb, var(--invite-text) 35%, transparent);
}
.rsvp-float .btn:focus-visible {
  outline: 3px solid var(--invite-text);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .rsvp-float {
    transition: none;
  }
}
html.lite .rsvp-float {
  transition: none;
}
