/* ==========================================================================
   CONVITE SIMPLES E ELEGANTE - ANIVERSÁRIO DE HERRY HUDSON
   Fundo Verde Esmeralda Escuro com Detalhes Dourados e Texto Claro
   ========================================================================== */

:root {
  --bg-deep: #041811;
  --bg-emerald: #0a3626;
  --bg-emerald-soft: #124d37;
  --card-bg: rgba(7, 34, 24, 0.92);
  --panel-bg: rgba(255, 255, 255, 0.05);
  --gold: #d4af37;
  --gold-light: #f3dc93;
  --gold-border: rgba(212, 175, 55, 0.38);
  --text-light: #f6faf8;
  --text-muted: #b7d2c6;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Montserrat', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.invite-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 20% 15%, rgba(26, 108, 76, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(212, 175, 55, 0.1) 0%, transparent 45%),
    linear-gradient(160deg, var(--bg-emerald) 0%, var(--bg-deep) 75%);
  position: relative;
  overflow-x: hidden;
}

.smoke-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  filter: blur(22px);
  opacity: 0.95;
}

/* ==========================================================================
   ENVELOPE INICIAL COM ETIQUETA
   ========================================================================== */
.envelope-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.envelope-stage.is-fading-out {
  opacity: 0;
  transform: scale(0.95) translateY(-10px);
  pointer-events: none;
}

.envelope-stage.is-closed {
  display: none;
}

.envelope-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.envelope-box {
  position: relative;
  width: min(92vw, 400px);
  aspect-ratio: 400 / 270;
  perspective: 1100px;
}

.envelope-back {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
  background: linear-gradient(160deg, #0b3c2b 0%, #051c14 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.62);
}

.envelope-inner-sheet {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 10%;
  bottom: 10%;
  z-index: 2;
  background: linear-gradient(180deg, #0e4733 0%, #07261b 100%);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.sheet-kicker {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.sheet-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.sheet-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.envelope-pocket-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
}

.envelope-front-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.envelope-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.envelope-flourish {
  font-size: 0.72rem;
  color: var(--gold);
  opacity: 0.85;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 57.4%;
  z-index: 5;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform 0.62s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s linear 0.24s;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

.envelope-flap-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Etiqueta clicável em cima do envelope */
.envelope-tag {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid #fff0b8;
  background: linear-gradient(135deg, #f3dc93 0%, #d4af37 55%, #b58a1e 100%);
  color: #052016;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(7, 34, 24, 0.55),
    0 0 22px rgba(212, 175, 55, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
  animation: tagPulse 2.4s infinite ease-in-out;
}

.envelope-tag:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.55),
    0 0 0 3px rgba(7, 34, 24, 0.6),
    0 0 28px rgba(243, 220, 147, 0.72);
}

.envelope-tag:active {
  transform: translate(-50%, -50%) scale(0.97);
}

.tag-pin {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #07281c;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

@keyframes tagPulse {
  0%, 100% {
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.5),
      0 0 0 3px rgba(7, 34, 24, 0.55),
      0 0 18px rgba(212, 175, 55, 0.35);
  }
  50% {
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.55),
      0 0 0 3px rgba(7, 34, 24, 0.55),
      0 0 30px rgba(243, 220, 147, 0.7);
  }
}

.envelope-hint {
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Estado abrindo */
.envelope-stage.is-opening .envelope-tag {
  opacity: 0;
  transform: translate(-50%, -65%) scale(0.9);
  pointer-events: none;
  animation: none;
}

.envelope-stage.is-opening .envelope-flap {
  transform: rotateX(172deg);
  z-index: 1;
}

.envelope-stage.is-opening .envelope-inner-sheet {
  transform: translateY(-30%);
}

/* Cartão Principal do Convite */
.invite-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: rgba(7, 34, 24, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: 24px;
  padding: 36px 26px 30px;
  text-align: center;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.invite-card.is-hidden {
  display: none;
}

.invite-card.is-revealing {
  animation: cardReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cardReveal {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

/* Cabeçalho */
.invite-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invite-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.invite-title-prefix {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.invite-name {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(212, 175, 55, 0.25);
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72%;
  margin: 18px auto 22px;
  color: var(--gold-light);
  font-size: 0.75rem;
}

.gold-divider.compact {
  width: 55%;
  margin: 12px auto 16px;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider span {
  margin: 0 10px;
}

/* Bloco de Informações do Evento */
.event-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 22px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel-bg);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
  padding: 13px 15px;
}

.detail-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-icon svg {
  width: 19px;
  height: 19px;
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-light);
}

.detail-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.35;
}

.invite-message {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Botões Principais */
.invite-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
}

@media (max-width: 390px) {
  .invite-actions {
    grid-template-columns: 1fr;
  }
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-action:hover {
  transform: translateY(-2px);
}

.btn-action:active {
  transform: scale(0.98);
}

.btn-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  border: 1px solid var(--gold-border);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.14);
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b98f22 100%);
  color: #062117;
  border: 1px solid #f0d780;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.42);
}

/* ==========================================================================
   MODAIS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 12, 8, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  display: none;
  width: 100%;
  max-width: 410px;
  max-height: 90dvh;
  overflow-y: auto;
  background: linear-gradient(170deg, #0b3324 0%, #051c14 100%);
  border: 1px solid var(--gold-border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  padding: 28px 22px 24px;
  color: var(--text-light);
  text-align: center;
  position: relative;
}

.modal-card.active {
  display: block;
}

.btn-close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-light);
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-close-modal:hover {
  background: var(--gold);
  color: #062117;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.modal-venue-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.modal-venue-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.map-actions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-map-action,
.btn-copy-address {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-map-action:hover,
.btn-copy-address:hover {
  transform: translateY(-2px);
}

.btn-gmaps {
  background: linear-gradient(135deg, #d4af37 0%, #b98f22 100%);
  color: #062117;
  font-weight: 700;
}

.btn-waze {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.btn-copy-address {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

/* Formulário RSVP */
.rsvp-form-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.96);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: #102a20;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}

.rsvp-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-custom {
  display: block;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.radio-card input:checked + .radio-custom {
  background: var(--gold);
  color: #062117;
  border-color: var(--gold-light);
  font-weight: 700;
}

.rsvp-feedback {
  display: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
}

.rsvp-feedback.success {
  display: block;
  background: rgba(39, 174, 96, 0.2);
  border: 1px solid rgba(82, 214, 138, 0.55);
  color: #b8f5cf;
}

.rsvp-feedback.error {
  display: block;
  background: rgba(220, 60, 80, 0.2);
  border: 1px solid rgba(240, 110, 125, 0.55);
  color: #ffd0d6;
}

.btn-submit-rsvp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid #f0d780;
  background: linear-gradient(135deg, #d4af37 0%, #b98f22 100%);
  color: #062117;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-submit-rsvp:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-submit-rsvp:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Link sutil para acompanhamento de confirmados no cartão do convite */
.invite-guests-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 220, 147, 0.35);
  padding-bottom: 2px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.invite-guests-link:hover {
  opacity: 0.9;
  border-color: var(--gold-light);
}

/* ==========================================================================
   PÁGINA DE ACOMPANHAMENTO E AUTENTICAÇÃO DO ADMINISTRADOR
   ========================================================================== */
.auth-card {
  max-width: 420px;
}

.auth-card .form-group input[type="email"],
.auth-card .form-group input[type="password"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.96);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: #102a20;
  outline: none;
}

.auth-card .form-group input[type="email"]:focus,
.auth-card .form-group input[type="password"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}

.confirmed-card {
  max-width: 580px;
}

.confirmed-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.admin-session-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.confirmed-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.topbar-link {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.btn-logout {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: #ffd0d6;
  background: rgba(220, 60, 80, 0.2);
  border: 1px solid rgba(240, 110, 125, 0.45);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
}

.guest-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-delete-guest {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffd0d6;
  background: rgba(220, 60, 80, 0.18);
  border: 1px solid rgba(240, 110, 125, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.btn-delete-guest:hover:not(:disabled) {
  background: rgba(220, 60, 80, 0.35);
}

.btn-delete-guest:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.confirmed-title {
  font-size: clamp(1.45rem, 5vw, 1.9rem);
}

.confirmed-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.confirmed-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.confirmed-stat-box {
  background: var(--panel-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.confirmed-stat-value {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.confirmed-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.confirmed-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.confirmed-search {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  outline: none;
}

.confirmed-search::placeholder {
  color: rgba(183, 210, 198, 0.72);
}

.confirmed-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.btn-compact {
  padding: 11px 16px;
  flex-shrink: 0;
}

.confirmed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  text-align: left;
  padding-right: 4px;
  margin-bottom: 20px;
}

.guest-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guest-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.guest-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
}

.guest-qty {
  flex-shrink: 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: #062117;
  background: var(--gold-light);
  border-radius: 999px;
  padding: 4px 10px;
}

.guest-note {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.4;
}

.guest-date {
  font-size: 0.72rem;
  color: rgba(183, 210, 198, 0.72);
}

.confirmed-empty {
  text-align: center;
  padding: 28px 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(212, 175, 55, 0.25);
  border-radius: 14px;
}

.confirmed-empty.error {
  color: #ffd0d6;
  border-color: rgba(240, 110, 125, 0.45);
}

.confirmed-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.last-updated-text {
  font-size: 0.74rem;
  color: var(--text-muted);
  min-height: 16px;
}

.btn-back-invite {
  width: 100%;
  text-decoration: none;
}

@media (max-width: 440px) {
  .confirmed-controls {
    flex-direction: column;
  }
}
