/* =========================
   RSVP - CAMADA DO MODAL
   ========================= */
.overlayRsvp {
  z-index: 60; /* Fica acima dos overlays de manual e presentes. */
}

.overlayRsvp .rsvpBox {
  position: relative;
  width: 86%;
  max-height: 86%;
  overflow: auto;
  background: #fff;
  color: #2b1f25;
  border-radius: 32px;
  padding: 80px 56px 56px;
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* =========================
   RSVP - TITULO
   ========================= */
.rsvpTitulo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  text-align: center;
  margin-bottom: 36px;
  color: #c75c8a;
  letter-spacing: 1px;
}

/* =========================
   RSVP - CAMPOS DO FORMULARIO
   ========================= */
#rsvpForm {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rsvpLabel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 26px;
  font-weight: 600;
}

.rsvpLabel input,
.rsvpLabel textarea {
  width: 100%;
  padding: 18px 22px;
  border-radius: 16px;
  border: 2px solid #f1d6e0;
  background: #fdf7fa;
  font: 500 26px/1.3 inherit;
  color: inherit;
  resize: vertical;
}

/* Tamanho dos textos digitados nos campos do RSVP. */
.rsvpLabel input[name="nome"],
.rsvpLabel input[name="nome"]::placeholder,
.rsvpLabel textarea[name="observacoes"],
.rsvpLabel textarea[name="observacoes"]::placeholder {
  font-size: 42px;
  font-weight: 500;
}

.rsvpLabel input:focus,
.rsvpLabel textarea:focus {
  outline: none;
  border-color: #c75c8a;
  background: #fff;
}

/* =========================
   RSVP - BUSCA E INTEGRANTES
   ========================= */
.rsvpBuscaResultado {
  min-height: 30px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #c75c8a;
}

.rsvpBuscaResultado.err {
  color: #c0392b;
}

.rsvpBuscaResultado.ok {
  color: #2e8b57;
}

.rsvpIntegrantes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rsvpIntegrantes[hidden] {
  display: none;
}

.rsvpIntegrantesTitulo,
.rsvpTotal {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.rsvpListaConvidados {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rsvpConvidadoOpcao {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid #f1d6e0;
  border-radius: 16px;
  background: #fdf7fa;
  font-size: 26px;
  font-weight: 600;
  cursor: pointer;
}

.rsvpConvidadoOpcao input {
  width: 28px;
  height: 28px;
  accent-color: #c75c8a;
  flex: 0 0 auto;
}

/* =========================
   RSVP - BOTAO DE ENVIO
   ========================= */
.rsvpSubmit {
  margin-top: 10px;
  padding: 22px 28px;
  border-radius: 60px;
  background: linear-gradient(135deg, #e391b3, #c75c8a);
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform .15s ease, filter .2s ease;
}

.rsvpSubmit:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.rsvpSubmit:active {
  transform: translateY(0);
}

.rsvpSubmit[disabled] {
  opacity: .6;
  cursor: progress;
}

/* =========================
   RSVP - MENSAGENS DE RETORNO
   ========================= */
.rsvpMsg {
  min-height: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 24px;
}

.rsvpMsg.ok {
  color: #2e8b57;
}

.rsvpMsg.err {
  color: #c0392b;
}
