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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Classic Ivory & Ink — elegant navy script with true gold accents */
  --gold: #bf9b52;
  --gold-light: #e7d9b8;
  --gold-dark: #9a7b3c;
  --ink: #26314f;
  --cream: #ffffff;
  --cream-dark: #f7f4ee;
  --text: #2e3644;
  --text-light: #75798a;
  --white: #ffffff;
  --green: #5a8f5a;
  --red: #c0392b;
  --shadow: 0 4px 30px rgba(38, 49, 79, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

/* ===== LOADING ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 2px solid var(--gold-light);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, var(--cream) 100%);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  opacity: 0.3;
}

.hero::before {
  top: -100px;
  right: -100px;
}

.hero::after {
  bottom: -100px;
  left: -100px;
}

.ornament {
  color: var(--gold);
  font-size: 2rem;
  letter-spacing: 12px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.couple-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.couple-names .amp {
  display: block;
  font-size: 0.55em;
  color: var(--ink);
  margin: -12px 0;
}

.hero-frame {
  position: absolute;
  inset: 16px;
  border: 1.6px solid var(--gold);
  pointer-events: none;
}

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 0.8px solid var(--gold-light);
}

.frame-corner {
  --fc: clamp(70px, 10vw, 120px);
  position: absolute;
  width: var(--fc);
}

.frame-corner.c-tl { top: calc(var(--fc) * -0.125); left: calc(var(--fc) * -0.125); }
.frame-corner.c-tr { top: calc(var(--fc) * -0.125); right: calc(var(--fc) * -0.125); transform: scaleX(-1); }
.frame-corner.c-bl { bottom: calc(var(--fc) * -0.125); left: calc(var(--fc) * -0.125); transform: scaleY(-1); }
.frame-corner.c-br { bottom: calc(var(--fc) * -0.125); right: calc(var(--fc) * -0.125); transform: scale(-1, -1); }

.hero-doves {
  width: 190px;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-blessing {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

.hero-invite-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 2;
  color: var(--text);
  max-width: 560px;
  margin: 26px auto 0;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

.date-bar {
  width: 1.5px;
  height: 44px;
  background: var(--gold);
}

.hero-address {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  line-height: 1.8;
  color: var(--text);
  margin-top: 30px;
  opacity: 0;
  animation: fadeUp 1s ease 1.3s forwards;
}

.hero-address strong {
  font-weight: 600;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}

.scroll-indicator .arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(5px, 5px); }
}

/* ===== GREETING SECTION ===== */
.greeting {
  padding: 100px 20px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.greeting-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold-dark);
  margin-bottom: 30px;
}

.greeting-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 2;
  color: var(--text-light);
  font-weight: 300;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 10px;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 15px auto 40px;
}

/* ===== TIMELINE ===== */
.timeline {
  background: var(--white);
}

.timeline-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
}

.timeline-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.timeline-content .time {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  background: linear-gradient(135deg, #faf8f2 0%, #f2ecdd 100%);
  color: var(--ink);
  padding: 60px 20px;
  text-align: center;
}

.countdown-section .section-title {
  color: var(--ink);
}

.countdown-section .section-divider {
  background: rgba(191, 155, 82, 0.5);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.8;
}

/* ===== RSVP ===== */
.rsvp-section {
  background: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.rsvp-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.rsvp-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.rsvp-btn {
  padding: 18px 40px;
  border: 2px solid var(--gold);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--gold-dark);
}

.rsvp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(201, 169, 110, 0.3);
}

.rsvp-btn.confirm {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-color: transparent;
}

.rsvp-btn.confirm:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}

.rsvp-btn.decline {
  border-color: #ddd;
  color: var(--text-light);
}

.rsvp-btn.decline:hover {
  border-color: var(--red);
  color: var(--red);
}

.rsvp-extra {
  display: none;
  margin-top: 20px;
}

.rsvp-extra.show {
  display: block;
  animation: fadeUp 0.4s ease;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0d8c8;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.3s ease;
  resize: none;
}

.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(201, 169, 110, 0.4);
}

/* ===== RESPONSE MESSAGE ===== */
.response-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.response-message.show {
  display: block;
  animation: fadeUp 0.6s ease;
}

.response-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.response-message h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.response-message p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== ALREADY RESPONDED ===== */
.already-responded {
  text-align: center;
  padding: 30px;
}

.already-responded .status-badge {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 15px;
}

.status-badge.confirmed {
  background: rgba(90, 143, 90, 0.1);
  color: var(--green);
  border: 1px solid rgba(90, 143, 90, 0.3);
}

.status-badge.declined {
  background: rgba(192, 57, 43, 0.1);
  color: var(--red);
  border: 1px solid rgba(192, 57, 43, 0.3);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer .hearts {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ===== NOT FOUND ===== */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.not-found h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold-dark);
  margin-bottom: 15px;
}

.not-found p {
  color: var(--text-light);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .greeting {
    padding: 60px 20px;
  }

  .section {
    padding: 60px 15px;
  }

  .rsvp-card {
    padding: 35px 25px;
    border-radius: 16px;
  }

  .countdown {
    gap: 20px;
  }

  .countdown-number {
    font-size: 2.5rem;
  }

  .timeline-item {
    gap: 15px;
  }

  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 400px) {
  .rsvp-card {
    padding: 30px 20px;
  }

  .rsvp-btn {
    padding: 15px 30px;
    font-size: 0.8rem;
  }
}


/* =============================================
   ADMIN PANEL STYLES
   ============================================= */

.admin-body {
  background: #f5f5f7;
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
}

/* Login */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: var(--white);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-card h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.login-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 30px;
}

.login-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-align: center;
  letter-spacing: 3px;
}

.login-input:focus {
  outline: none;
  border-color: var(--gold);
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(201, 169, 110, 0.4);
}

.login-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 10px;
  display: none;
}

/* Admin Dashboard */
.admin-panel {
  display: none;
}

.admin-panel.show {
  display: block;
}

.admin-header {
  background: var(--white);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--gold-dark);
}

.admin-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-btn {
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
}

.nav-btn:hover,
.nav-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.logout-btn {
  padding: 8px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.2s;
}

.logout-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.admin-content {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  text-align: center;
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-number.gold { color: var(--gold-dark); }
.stat-number.green { color: var(--green); }
.stat-number.red { color: var(--red); }
.stat-number.gray { color: var(--text-light); }

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Progress Bar */
.progress-section {
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.progress-bar-container {
  height: 12px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  transition: width 0.5s ease;
}

.progress-fill.confirmed { background: var(--green); }
.progress-fill.declined { background: var(--red); }
.progress-fill.pending { background: #ddd; }

.progress-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

.legend-dot.confirmed { background: var(--green); }
.legend-dot.declined { background: var(--red); }
.legend-dot.pending { background: #ddd; }

/* Tab panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Guest List */
.guest-list-card {
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.guest-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.guest-list-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--text);
}

.filter-bar {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 6px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-light);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.guest-table {
  width: 100%;
  border-collapse: collapse;
}

.guest-table th {
  text-align: left;
  padding: 12px 15px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid #f0f0f0;
}

.guest-table td {
  padding: 14px 15px;
  font-size: 0.85rem;
  border-bottom: 1px solid #f8f8f8;
  vertical-align: middle;
}

.guest-table tr:hover {
  background: #fafafa;
}

.guest-name {
  font-weight: 500;
}

.guest-companions {
  color: var(--text-light);
  font-size: 0.8rem;
}

.status-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.status-pill.confirmed {
  background: rgba(90, 143, 90, 0.1);
  color: var(--green);
}

.status-pill.declined {
  background: rgba(192, 57, 43, 0.1);
  color: var(--red);
}

.status-pill.pending {
  background: rgba(0,0,0,0.05);
  color: var(--text-light);
}

.link-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-link-btn {
  padding: 4px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: transparent;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-light);
  white-space: nowrap;
}

.copy-link-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.copy-link-btn.copied {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.delete-btn {
  padding: 4px 10px;
  border: 1px solid #f0e0e0;
  border-radius: 6px;
  background: transparent;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #ccc;
}

.delete-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.guest-message {
  max-width: 200px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Add Guest Form */
.add-guest-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.add-guest-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 25px;
}

.add-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.add-form .form-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 0;
}

.add-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
}

.add-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.add-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 169, 110, 0.3);
}

.batch-add-section {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #f0f0f0;
}

.batch-add-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 10px;
}

.batch-add-section p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.batch-textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 15px;
}

.batch-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Settings Panel */
.settings-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.settings-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 25px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.settings-grid .form-group label {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.settings-grid input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
}

.settings-grid input:focus {
  outline: none;
  border-color: var(--gold);
}

.save-settings-btn {
  margin-top: 25px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.save-settings-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 169, 110, 0.3);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.3;
}

.empty-state p {
  font-size: 0.9rem;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 14px 24px;
  background: var(--text);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.85rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--green);
}

.toast.error {
  background: var(--red);
}

/* Admin responsive */
@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  .admin-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .guest-table {
    display: block;
    overflow-x: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .add-form {
    flex-direction: column;
  }

  .filter-bar {
    flex-wrap: wrap;
  }
}


/* =============================================
   CLASSIC IVORY & INK — refinements
   ============================================= */

.hero {
  background: radial-gradient(120% 80% at 50% -10%, #ffffff 0%, #fdfcf9 55%, #f7f3ea 100%);
}

.rsvp-card {
  position: relative;
  overflow: visible;
}

.ps-note {
  max-width: 640px;
  margin: 0 auto;
  padding: 10px 24px 70px;
  text-align: center;
}

.ps-note p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink);
}

.ps-note a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.ps-note a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-doves {
    width: 92px;
  }
  .hero-date-row {
    gap: 12px;
  }
  .date-bar {
    height: 34px;
  }
}

/* =============================================
   RSVP QUESTIONNAIRE — elegant Q&A style
   ============================================= */

.q-block {
  margin-bottom: 38px;
  text-align: center;
}

.q-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.req {
  color: #c0392b;
  font-size: 1rem;
  vertical-align: super;
}

.q-help {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-top: 6px;
}

.pill-toggle {
  display: inline-flex;
  background: #f4f1e9;
  border: 1px solid #e9e2d1;
  border-radius: 50px;
  padding: 4px;
  margin-top: 16px;
  box-shadow: inset 0 1px 3px rgba(38, 49, 79, 0.05);
}

.pill-opt {
  padding: 12px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #a8a495;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.pill-opt:hover {
  color: var(--gold-dark);
}

.pill-opt.active {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(38, 49, 79, 0.16);
}

.pill-num {
  padding: 12px 22px;
}

.line-input {
  width: 100%;
  max-width: 380px;
  border: none;
  border-bottom: 1px solid #ddd6c3;
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  padding: 12px 6px 8px;
  margin-top: 14px;
  color: var(--text);
  text-align: center;
  transition: border-color 0.3s ease;
  resize: none;
}

.line-input:focus {
  outline: none;
  border-bottom-color: var(--gold-dark);
}

.line-input::placeholder {
  color: #b6b2a3;
  font-style: italic;
}

.q-hidden {
  display: none;
}

.q-show {
  animation: fadeUp 0.45s ease;
}

.form-error {
  display: none;
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 14px;
}


@media (max-width: 400px) {
  .pill-opt {
    padding: 11px 22px;
    font-size: 1.05rem;
  }
  .pill-num {
    padding: 11px 17px;
  }
}

/* Countdown — rose gold band with a soft light sheen */
.countdown-section {
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 70%;
  height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.28) 50%, transparent 60%);
  transform: rotate(8deg);
  pointer-events: none;
}
