/* ===== RSVP PAGE STYLES ===== */

.rsvp-section {
  padding: 7rem 1.5rem;
}

.rsvp-container {
  max-width: 448px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-container h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-select {
  background-color: white;
  cursor: pointer;
}

.form-select option {
  padding: 0.5rem;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  background: black;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-submit:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

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

/* Status Messages */
.status-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.875rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.status-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Confirmation Message */
.confirmation-box {
  background: linear-gradient(135deg, #f3f4f6 0%, #faf8f5 100%);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  display: none;
  margin-bottom: 2rem;
  border: 2px solid #000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.confirmation-box.show {
  display: block !important;
  animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.confirmation-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  color: #000;
}

.confirmation-box p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin: 0.5rem 0;
  color: #111827;
}
