.rsvp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  justify-content: center;
  background: rgba(20, 18, 16, 0.4);
  backdrop-filter: blur(3px);
  padding: 2.5rem 1.5rem;
  overflow-y: auto;
}

.rsvp-modal-overlay.is-open {
  display: flex;
}

.rsvp-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: fit-content;
  margin: auto 0;
  background: var(--color-bg);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(61, 31, 26, 0.18);
}

.rsvp-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  transition: background 0.15s ease;
}

.rsvp-modal-close:hover {
  background: var(--color-border);
}

.rsvp-modal-body {
  padding: 2.75rem 2.5rem 2.25rem;
}

.rsvp-modal-body .rsvp-card {
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  max-width: none;
}
