/* ============================================================
   FRONTEND GLOBAL STYLES — American Luxury Wedding Design
   Fonts: Cormorant Garamond + Great Vibes + Inter
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=Great+Vibes&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --ivory:        #FAF8F2;
  --cream:        #F0EBE0;
  --gold:         #C9A96E;
  --gold-dark:    #A8843F;
  --gold-light:   rgba(201, 169, 110, 0.12);
  --gold-border:  rgba(201, 169, 110, 0.35);
  --charcoal:     #1C1917;
  --charcoal-mid: #44403C;
  --muted:        #78716C;
  --border:       #E7E5E4;
  --white:        #FFFFFF;
  --error:        #B91C1C;
  --success:      #15803D;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script:  'Great Vibes', cursive;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  4px;
  --radius-md:  12px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.22);
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* ---- GOLD ORNAMENT DIVIDER ---- */
.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-border);
}
.ornament-icon {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

/* ---- BUTTONS ---- */
.btn-outline-gold {
  display: inline-block;
  padding: 13px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}
.btn-solid-gold {
  display: inline-block;
  padding: 13px 40px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  width: 100%;
}
.btn-solid-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}
.btn-solid-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- FORM FIELDS ---- */
.field-group {
  margin-bottom: 20px;
}
.field-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.field-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}
.field-input::placeholder { color: #C2BEBA; }
select.field-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
textarea.field-input { resize: vertical; min-height: 100px; }

/* ---- TOGGLE SWITCH ---- */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.toggle-label-text {
  font-size: 14px;
  color: var(--charcoal-mid);
  flex: 1;
}
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.toggle input:checked + .toggle-slider { background: var(--gold); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ---- ALERT BANNERS ---- */
.alert-banner {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-banner.error {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.25);
  color: var(--error);
}
.alert-banner.success {
  background: rgba(21, 128, 61, 0.08);
  border: 1px solid rgba(21, 128, 61, 0.25);
  color: var(--success);
}

/* ---- GLASS CARD ---- */
.glass-card {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* ---- PAGE LOGO ---- */
.page-logo {
  max-height: 70px;
  max-width: 180px;
  object-fit: contain;
}

/* ---- FOOTER ---- */
.page-footer {
  text-align: center;
  padding: 32px 20px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ============================================================
   LOGIN PAGE (index.php)
============================================================ */
.login-page {
  display: flex;
  min-height: 100vh;
}
.login-bg-panel {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  display: none;
}
.login-bg-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,25,23,0.4) 0%, rgba(28,25,23,0.15) 100%);
}
.login-form-panel {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: var(--white);
  position: relative;
  z-index: 1;
}
.login-tagline {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 4px;
}
.login-site-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--charcoal);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.login-subtitle {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
}

/* intl-tel-input override */
.iti { width: 100%; }
.iti__selected-flag { background: var(--ivory) !important; }
.iti--separate-dial-code .iti__selected-flag { background: var(--ivory) !important; }
.iti__dropdown-content { border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.iti__search-input { font-family: var(--font-body); font-size: 14px; border-bottom: 1px solid var(--border); padding: 10px 14px; }
.iti__country { font-size: 13px; padding: 8px 14px; }
.iti__country.iti__highlight { background: var(--gold-light); }
.iti__dial-code { color: var(--muted); }

@media (min-width: 900px) {
  .login-bg-panel { display: block; }
  .login-form-panel { max-width: 460px; }
}

@media (max-width: 899px) {
  .login-page {
    background-size: cover;
    background-position: center;
  }
  .login-form-panel {
    margin: auto;
    padding: 40px 28px;
    background: transparent;
    max-width: 100%;
  }
  .login-page.mobile-bg .login-form-panel > * {
    position: relative;
    z-index: 1;
  }
}

/* ============================================================
   INVITE FORM PAGE (invite_form.php)
============================================================ */
.invite-page { background: var(--ivory); min-height: 100vh; }

.invite-hero {
  position: relative;
  background: var(--charcoal);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}
.invite-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.invite-hero-content { position: relative; z-index: 1; }
.invite-script-title {
  font-family: var(--font-script);
  font-size: 52px;
  color: var(--gold);
  margin-bottom: 0;
  line-height: 1;
}
.invite-couple-subtitle {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
.invite-form-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 20px 40px;
}
.invite-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.invite-section-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.invite-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.partner-fields { display: none; }
.partner-fields.visible { display: block; }

/* Food menu display */
.menu-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 36px; box-shadow: var(--shadow-sm); }
.menu-type-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--charcoal);
  margin: 20px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold-border);
}
.menu-type-title:first-child { margin-top: 0; }
.menu-items-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.menu-items-list li {
  background: var(--cream);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--charcoal-mid);
}
.venue-submitted-msg {
  text-align: center;
  padding: 60px 20px;
}
.venue-submitted-msg .check-circle {
  width: 64px;
  height: 64px;
  background: rgba(21, 128, 61, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--success);
}

/* ============================================================
   PRE-RSVP PAGE (pre_rsvp_submit.php)
============================================================ */
.pre-rsvp-page {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pre-rsvp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.pre-rsvp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,25,23,0.5) 0%, rgba(28,25,23,0.3) 50%, rgba(28,25,23,0.7) 100%);
}
.pre-rsvp-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 560px;
}
.pre-rsvp-script {
  font-family: var(--font-script);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.pre-rsvp-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}
.pre-rsvp-divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
  opacity: 0.6;
}
.pre-rsvp-msg {
  font-family: var(--font-display);
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ============================================================
   RSVP SUBMIT PAGE (rsvp_Submit.php)
============================================================ */
.rsvp-page {
  min-height: 100vh;
  background-color: var(--charcoal);
}
.rsvp-hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.rsvp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,25,23,0.6) 0%, rgba(28,25,23,0.4) 60%, rgba(28,25,23,0.85) 100%);
}
.rsvp-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
}
.rsvp-hero-script {
  font-family: var(--font-script);
  font-size: 72px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.rsvp-hero-tagline {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}
.rsvp-hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.rsvp-hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(0.7); }
}

/* RSVP content sections */
.rsvp-sections {
  background: var(--ivory);
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}
.rsvp-section {
  margin-bottom: 56px;
}
.rsvp-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.rsvp-section-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.rsvp-section-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--charcoal-mid);
}
.rsvp-section-body p { margin-bottom: 8px; }
.rsvp-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.rsvp-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.rsvp-detail-link:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* RSVP CTA bar */
.rsvp-cta-bar {
  background: var(--charcoal);
  padding: 60px 24px;
  text-align: center;
}
.rsvp-already-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(21, 128, 61, 0.12);
  border: 1px solid rgba(21, 128, 61, 0.3);
  border-radius: var(--radius-sm);
  color: #4ADE80;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* RSVP top nav */
.rsvp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: transparent;
  transition: background 0.3s ease;
}
.rsvp-nav.scrolled {
  background: rgba(28,25,23,0.92);
  backdrop-filter: blur(12px);
}
.rsvp-nav-logo img { max-height: 40px; }

/* ============================================================
   MODAL — shared
============================================================ */
.modal-content {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.modal-header {
  background: var(--charcoal);
  padding: 24px 28px;
  border-bottom: none;
}
.modal-header .modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  font-weight: 400;
}
.modal-header .btn-close {
  filter: invert(1);
  opacity: 0.7;
}
.modal-body {
  padding: 28px;
  background: var(--white);
}
.modal-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 28px;
}

/* Guest name in modal */
.modal-guest-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--charcoal);
  margin-bottom: 20px;
  font-style: italic;
}

/* Attend radio group */
.attend-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.attend-option {
  flex: 1;
}
.attend-option input[type="radio"] {
  display: none;
}
.attend-option label {
  display: block;
  text-align: center;
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}
.attend-option input:checked + label {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--gold-dark);
}
.attend-option label:hover {
  border-color: var(--gold-border);
}

/* Partner section in modal */
.modal-guest-section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}
.modal-guest-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.modal-person-name {
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 12px;
}

/* Cancellation note textarea */
.cancel-note {
  display: none;
  margin-top: 16px;
}
.cancel-note.visible { display: block; }

/* ============================================================
   THANK YOU & CANCEL PAGES
============================================================ */
.result-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  padding: 40px 20px;
}
.result-card {
  max-width: 540px;
  width: 100%;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 56px 48px;
  box-shadow: var(--shadow-md);
}
.result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 32px;
}
.result-icon.success { background: rgba(21,128,61,0.1); color: var(--success); }
.result-icon.cancel  { background: rgba(201,169,110,0.12); color: var(--gold); }
.result-script {
  font-family: var(--font-script);
  font-size: 44px;
  color: var(--gold);
  margin-bottom: 8px;
}
.result-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.result-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================
   REGISTRY DISPLAY
============================================================ */
.registry-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--charcoal);
  transition: var(--transition);
}
.registry-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.registry-item img { height: 24px; object-fit: contain; }

/* ============================================================
   GRID HELPERS (used in invite_form.php)
============================================================ */
.grid-title-name {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-address-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 140px;
  gap: 16px;
}
.grid-partner-name {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.grid-partner-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   MOBILE RESPONSIVE — all pages
============================================================ */

/* ---- Tablet & below (max 768px) ---- */
@media (max-width: 768px) {

  /* Login page */
  .login-form-panel {
    padding: 48px 24px;
    min-height: 100vh;
    justify-content: center;
    max-width: 100%;
    background: rgba(255,255,255,0.95);
  }
  .login-site-title { font-size: 22px; letter-spacing: 0.08em; }
  .login-tagline { font-size: 26px; }

  /* Invite hero */
  .invite-hero { padding: 56px 20px; }
  .invite-script-title { font-size: 40px; }
  .invite-couple-subtitle { font-size: 11px; letter-spacing: 2.5px; }
  .invite-form-container { padding: 32px 16px 32px; }
  .invite-card { padding: 24px 20px; }
  .menu-section { padding: 24px 20px; }

  /* Grids collapse to single column on mobile */
  .grid-title-name,
  .grid-two-col,
  .grid-address-bottom,
  .grid-partner-name,
  .grid-partner-contact {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  /* pre-rsvp page */
  .pre-rsvp-script { font-size: 48px; }
  .pre-rsvp-msg { font-size: 17px; }
  .pre-rsvp-content { padding: 40px 20px; }

  /* RSVP page */
  .rsvp-hero { height: 100svh; min-height: 500px; }
  .rsvp-hero-script { font-size: 52px; }
  .rsvp-hero-tagline { font-size: 11px; letter-spacing: 3px; }
  .rsvp-sections { padding: 48px 20px; }
  .rsvp-section { margin-bottom: 40px; }
  .rsvp-section-title { font-size: 26px; }
  .rsvp-nav { padding: 16px 20px; }
  .rsvp-cta-bar { padding: 48px 20px; }

  /* Result pages */
  .result-card { padding: 40px 24px; }
  .result-script { font-size: 36px; }

  /* Buttons full width on mobile */
  .btn-outline-gold,
  .btn-solid-gold { width: 100%; text-align: center; }

  /* Modal */
  .modal-header { padding: 20px; }
  .modal-body { padding: 20px; }
  .modal-footer { padding: 14px 20px; }

  /* Attend group stacks on very small */
  .attend-group { flex-direction: column; gap: 8px; }
}

/* ---- Small mobile (max 480px) ---- */
@media (max-width: 480px) {
  .login-form-panel { padding: 40px 20px; }
  .login-site-title { font-size: 20px; }
  .pre-rsvp-script { font-size: 40px; }
  .rsvp-hero-script { font-size: 44px; }
  .invite-card { padding: 20px 16px; }
  .rsvp-detail-links { flex-direction: column; }
  .rsvp-already-confirmed { flex-direction: column; text-align: center; padding: 20px; }
}

/* ---- Desktop (min 900px) ---- */
@media (min-width: 900px) {
  .login-bg-panel { display: block; }
  .login-page { background: none !important; }
  .login-form-panel {
    max-width: 460px;
    background: var(--white);
    box-shadow: none;
  }
  .attend-group { flex-direction: row; }
}
