/* RSVP Section */
.rsvp-form-container {
  background-color: var(--surface-color);
  color: var(--text-dark);
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input, 
.form-group select,
.form-group textarea,
.form-group select option {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem top 50%;
  background-size: 0.65em auto;
  padding-right: 2.5rem; /* make room for arrow */
}

.form-group input.input-readonly {
  background-color: #f5f5f5;
  color: #666;
  cursor: not-allowed;
}

.btn-rsvp-choice {
  flex: 1;
  padding: 0.4rem 0.5rem;
  border: none;
  border-radius: 12px;
  color: white;
  font-family: var(--body-font);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.9;
}
.btn-rsvp-choice:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.btn-rsvp-choice.btn-yes {
  background-color: #838e58;
}
.btn-rsvp-choice.btn-no {
  background-color: #dfc896;
}

#rsvpChoicesContainer.has-selection .btn-rsvp-choice:not(.active) {
  opacity: 0.4;
  filter: grayscale(40%);
}
#rsvpChoicesContainer.has-selection .btn-rsvp-choice.active {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: scale(1.02);
}

.btn-submit-bordered {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid #bda586;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
}
.btn-submit-bordered:hover {
  background-color: #f9f5f0;
}


.qr-card-new {
  background-color: var(--surface-color);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-align: left;
}
.qr-header {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 2rem 1.5rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.qr-header-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
  z-index: 1;
}
.qr-header-content {
  position: relative;
  z-index: 2;
}
.qr-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.qr-couple-name {
  font-family: var(--body-font);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.qr-venue {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.qr-date {
  font-size: 0.875rem;
  font-style: italic;
}

.qr-body {
  background-color: #FAFAF7;
  padding: 1.5rem;
  color: #333;
}
.qr-main {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
}
.qr-left {
  flex-shrink: 0;
  border: 3px solid var(--primary-color);
  border-radius: 8px;
  padding: 0.5rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-left img {
  width: 100px;
  height: 100px;
  display: block;
}
.qr-right {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.qr-salutation {
  font-size: 0.75rem;
  color: #555;
  margin-bottom: 0.25rem;
}
.qr-guest-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
}
.qr-info-label {
  font-size: 0.75rem;
  color: #555;
  margin-bottom: 0.25rem;
}
.qr-info-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.25rem;
}
.qr-pax-info {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a202c;
}
.qr-pax-info span {
  color: #8c2425;
}
.qr-footer-text {
  text-align: center;
  font-size: 0.8rem;
  font-style: italic;
  color: #666;
  margin-top: 1.5rem;
}
.qr-footer {
  background-color: var(--primary-color);
  padding: 1rem;
  text-align: center;
}
.qr-footer span {
  color: white;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gifts */
.gift-card {
  background-color: var(--surface-color);
  color: var(--text-dark);
  padding: 1.5rem;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
}

.bank-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.account-number {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
}
.btn-copy {
  background-color: #eee;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}
.btn-copy:hover {
  background-color: #ddd;
}
