/* =============================================
   CONTACT FORM + SUCCESS POPUP
   ============================================= */





/* Contact Form */
.contact-form {
  max-width: 420px;
  margin: 2em auto 1em auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
  background: #f8f8f8;
  border: 1px solid #00cc66;
  padding: 2em 2em 1.5em 2em;
  border-radius: 0;
  box-shadow: none;
}

.contact-form label {
  color: #0066cc;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 0.2em;
}

.contact-form input,
.contact-form textarea {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #ddd;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1em;
  padding: 0.7em 0.8em;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00cc66;
}

.contact-form button {
  background: #00cc66;
  color: #111;
  border: 1px solid #00cc66;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: bold;
  font-size: 1.05em;
  padding: 0.8em 1.5em;
  cursor: pointer;
  letter-spacing: 2px;
  transition: background 0.2s, color 0.2s;
  margin-top: 0.5em;
}

.contact-form button:hover {
  background: #0066cc;
  color: #fff;
}

/* Contact Note */
.contact-note {
  text-align: center;
  margin-top: 1.5em;
  color: #0066cc;
  font-size: 1em;
}

/* Success Popup */
.form-success-popup {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-content {
  background: #ffffff;
  border: 2px solid #00cc66;
  color: #1a1a1a;
  padding: 2.5em 3em;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.form-success-close {
  position: absolute;
  top: 0.5em;
  right: 1em;
  color: #00cc66;
  font-size: 2em;
  cursor: pointer;
  font-weight: bold;
}

.form-success-content h2 {
  margin-top: 0;
  color: #0066cc;
}

.form-success-content p {
  color: #1a1a1a;
}

/* Push contact content below fixed header */
main.wrapper,
.ascii-section#contact-section {
  padding-top: 80px !important;   /* Adjust this number if needed */
  margin-top: 0;
}