/* Shared RSVP card (js/rsvp.js). One look for every event page. */
.rsvp-card { position: relative; z-index: 6; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 34px 32px; box-shadow: 0 18px 44px -18px rgba(29,55,73,0.35); border: 1px solid #ece4cc; box-sizing: border-box; text-align: left; }
@media (max-width: 520px) { .rsvp-card { padding: 26px 20px; } }
.rsvp-card .rsvp-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #2f9da7; margin-bottom: 8px; }
.rsvp-card h2 { font-family: 'Roboto Slab', serif; font-weight: 900; font-size: 30px; color: #1d3749; margin: 0 0 8px; line-height: 1.1; }
.rsvp-card .rsvp-intro { font-size: 15px; color: #575863; line-height: 1.55; margin: 0 0 20px; }
.rsvp-card .rsvp-intro a { color: #f2664c; }

.rsvp-party { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 0 0 16px; }
.rsvp-party.one { grid-template-columns: 1fr; }
.rsvp-step { border: 1px solid #e0d8b8; border-radius: 10px; padding: 12px 14px; text-align: center; }
.rsvp-step .l { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1d3749; margin-bottom: 8px; }
.rsvp-step .ctl { display: flex; align-items: center; justify-content: center; gap: 14px; }
.rsvp-step button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #1d3749; background: #fff; color: #1d3749; font-size: 18px; font-weight: 800; cursor: pointer; line-height: 1; padding: 0; }
.rsvp-step button:hover { background: #1d3749; color: #faf5ea; }
@media (max-width: 520px) {
  .rsvp-party { gap: 10px; }
  .rsvp-step { padding: 10px 6px; }
  .rsvp-step .ctl { gap: 8px; }
}
.rsvp-step output { font-family: 'Roboto Slab', serif; font-weight: 900; font-size: 26px; color: #1d3749; min-width: 28px; }

.rsvp-field { display: block; margin: 0 0 14px; }
.rsvp-field span { display: block; font-size: 13px; color: #1d3749; font-weight: 600; margin-bottom: 5px; }
.rsvp-field input, .rsvp-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; font-family: inherit; font-size: 15px; color: #1d3749; background: #fff; box-sizing: border-box; }
.rsvp-field input:focus, .rsvp-field textarea:focus { outline: 0; border-color: #f2664c; box-shadow: 0 0 0 3px rgba(242,102,76,0.15); }
.rsvp-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.rsvp-submit { width: 100%; padding: 14px; border: 0; border-radius: 8px; background: #f2664c; color: #faf5ea; font-family: 'Roboto Slab', serif; font-weight: 800; font-size: 16px; cursor: pointer; }
.rsvp-submit:hover { background: #db5440; }
.rsvp-submit:disabled { opacity: .6; cursor: default; }

.rsvp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rsvp-btn { flex: 1 1 180px; padding: 12px 16px; border-radius: 8px; border: 0; background: #1d3749; color: #faf5ea; font-family: 'Roboto Slab', serif; font-weight: 800; font-size: 15px; cursor: pointer; }
.rsvp-btn:hover { background: #2a4a61; }
.rsvp-btn--ghost { background: transparent; color: #1d3749; border: 1.5px solid #1d3749; }
.rsvp-btn--ghost:hover { background: #1d3749; color: #faf5ea; }

.rsvp-status { margin: 14px 0 0; font-size: 14px; line-height: 1.5; min-height: 20px; }
.rsvp-status:empty { min-height: 0; margin: 0; }
.rsvp-status.is-success { color: #1f7a52; font-weight: 600; }
.rsvp-status.is-error { color: #c0392b; font-weight: 600; }
.rsvp-foot { margin: 12px 0 0; font-size: 13px; color: #6b6c75; text-align: center; }
.rsvp-foot a { color: #f2664c; font-weight: 600; }
.rsvp-count { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #f0ead6; font-size: 13px; font-weight: 600; color: #1d3749; }
.rsvp-count .dot { width: 8px; height: 8px; border-radius: 50%; background: #f2664c; }
