/* ============================
   CONTACT FORM LAYOUT
   ============================ */

.form-container {
  max-width: 28rem;              /* centered card width */
  margin: 4rem auto;             /* center on page */
  padding: 2rem 2rem;
  background: rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.25);
  text-align: center;
  box-sizing: border-box;
}

.form-container h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}

/* ============================
   INPUTS + TEXTAREA
   ============================ */

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  margin-bottom: 1.25rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
  outline: none;
}

/* Make textarea taller by default */
#contactForm textarea {
  min-height: 8rem;
}

/* ============================
   BUTTON ROW
   ============================ */

#contactForm .button-row,
#contactForm div[style*="display:flex"] {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

#sendBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================
   INFO MESSAGE
   ============================ */

.info-message {
  text-align: center;
  margin: 2rem auto;
  font-size: 1.1rem;
  max-width: 26rem;
}

/* ============================
  space for the dynamic text message that appears after form submission
   ============================ */

#formStatus {
  margin-top: 1.5rem; /* adjust to taste */
}
