/* RSVP común — tusinvitaciones.online */

.rsvp-module {
  width: 100%;
  box-sizing: border-box;
}

.rsvp-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-title {
  font-family: inherit;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  margin: 0 0 22px;
  color: inherit;
}

.rsvp-search label,
.rsvp-message label {
  display: block;
  font-size: .92rem;
  margin: 0 0 8px;
}

.rsvp-search-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.rsvp-search-row input,
.rsvp-message textarea,
.rsvp-count {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(221,189,120,.65);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: inherit;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

.rsvp-search-row input {
  min-width: 0;
}

.rsvp-search-row button,
.rsvp-message button {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  background: #ddbd78;
  color: #3b2b1d;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.rsvp-search-row button:disabled,
.rsvp-message button:disabled {
  opacity: .6;
  cursor: wait;
}

.rsvp-found {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 20px 0 12px;
  padding: 14px;
  border: 1px solid rgba(221,189,120,.35);
  border-radius: 12px;
}

.rsvp-found span {
  font-size: .88rem;
  opacity: .8;
}

.rsvp-question {
  margin: 18px 0 12px;
}

.rsvp-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rsvp-choice {
  width: 100%;
  border: 1px solid rgba(221,189,120,.6);
  border-radius: 10px;
  padding: 13px 16px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.rsvp-choice:hover {
  background: rgba(221,189,120,.10);
}

.rsvp-choice:disabled {
  opacity: .55;
  cursor: default;
}

.rsvp-secondary {
  margin-top: 10px;
}

.rsvp-count-title {
  margin: 12px 0 8px;
}

.rsvp-count {
  margin-bottom: 8px;
}

.rsvp-selected {
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(221,189,120,.10);
}

.rsvp-message {
  margin-top: 16px;
}

.rsvp-message textarea {
  min-height: 100px;
  resize: vertical;
}

.rsvp-message button {
  margin-top: 10px;
}

.rsvp-status {
  margin: 14px 0 0;
}

.rsvp-error {
  color: #b4271a;
}

@media (max-width: 600px) {

  .rsvp-search-row {
    flex-direction: column;
  }

  .rsvp-search-row button {
    width: 100%;
  }

}