/* Página pública de confirmación (plan base): sencilla, elegante y pensada para celular.
   Usa los mismos tokens de color y tipografía que la app (styles.css). */

.rsvp-page {
  min-height: 100vh;
  background: radial-gradient(120% 60% at 50% 0%, var(--accent-soft) 0%, var(--bg) 55%);
}

.rsvp {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 16px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.center {
  text-align: center;
}

.rsvp-hero {
  text-align: center;
  padding-top: 12px;
}

.rsvp-hero .eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.rsvp-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 9vw, 3rem);
  line-height: 1.05;
  margin: 10px 0 8px;
}

.rsvp-hero .date {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
}

.rsvp-hero .divider {
  width: 56px;
  height: 1px;
  margin: 18px auto;
  background: var(--accent);
}

.rsvp-for {
  font-weight: 600;
}

.rsvp .card {
  box-shadow: var(--shadow);
}

.rsvp form h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 4px;
}

.person {
  margin: 4px 0;
}

.person legend {
  color: var(--ink);
  font-size: 1rem;
}

/* Botones Asistiré / No podré ir (radios con estilo). */
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.choice label {
  position: relative;
  margin: 0;
  font-weight: 500;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: block;
  text-align: center;
  padding: 11px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  background: var(--surface);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.choice span:hover {
  border-color: var(--accent);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.choice input[value="attending"]:checked + span {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.choice input[value="declined"]:checked + span {
  background: var(--idle);
  border-color: var(--idle);
  color: #fff;
}

.person .dietary {
  margin-top: 4px;
}

.rsvp form button[type="submit"] {
  margin-top: 12px;
}

.summary {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  text-align: left;
}

.summary li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.summary li:last-child {
  border-bottom: 0;
}

.thanks {
  text-align: center;
}

.thanks h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.9rem;
}

.notice-text {
  background: var(--wait-soft);
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
}
