/* Base Reset & Typography */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f6f4f0; /* Soft, warm linen tone */
  color: #2c2c2c;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
}

h1 {
  font-size: 36px;
  letter-spacing: 3px;
  margin: 10px 0 5px 0;
}

h2 {
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Central Card Layout (Mimics heavy invitation card stock) */
.wedding-card {
  background-color: #ffffff;
  width: 100%;
  max-width: 520px;
  padding: 40px 30px;
  border-radius: 4px;
  border: 1px solid #e3ded6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.header-section {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #f0ede6;
  padding-bottom: 20px;
}

.wedding-date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #8c8275; /* Muted champagne gold/taupe */
}

.subtitle {
  font-size: 13px;
  color: #666666;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  margin-top: 5px;
}

/* Navigation Tabs */
.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  background-color: #faf9f6;
  border: 1px solid #dcd6cd;
  color: #555555;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background-color: #f0ece4;
}

.tab-btn.active {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
  font-weight: 500;
}

/* Tab Panels */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-box {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
}

.instruction {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

/* Form Styles */
label {
  display: block;
  margin-top: 15px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: #444;
}

input[type="text"], select {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 2px;
  border: 1px solid #dcd6cd;
  background: #faf9f6;
  color: #1a1a1a;
  font-size: 14px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

input:focus, select:focus {
  outline: none;
  border-color: #1a1a1a;
  background: #ffffff;
}

/* Elegant Buttons */
.wedding-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 15px 0 0 0;
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.wedding-btn:hover {
  background-color: #3b3b3b;
}

.wedding-btn.outline {
  background-color: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.wedding-btn.outline:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* Results Box */
.results {
  background-color: #f4f0eb;
  border-left: 3px solid #8c8275;
  padding: 15px;
  margin-top: 20px;
  border-radius: 2px;
}

.results p {
  margin: 0;
  font-size: 14px;
  color: #2c2c2c;
  line-height: 1.5;
}

.registry-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}