/* contact.css
   Extra styles for the contact page only. It sits on top of the shared /tools/tools.css
   (fields, buttons, header, footer) and adds the message box, the hidden honeypot field and
   the two result boxes. No inline styles are used anywhere. */

.contact-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 32px 24px 56px;
}
.contact-card { padding: 28px; }

/* The visible line about what not to enter */
.contact-warning {
  margin: 0 0 22px;
  padding: 12px 16px;
  background: var(--cream-light);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  font-weight: 600;
  color: var(--navy-dark);
}

/* The message box */
.field-textarea {
  min-height: 150px;
  resize: vertical;
  font-family: var(--sans);
  line-height: 1.5;
}

/* The honeypot: out of sight for people, still present in the page for automated scripts */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* After pressing Send: one of these two boxes appears */
.result-box {
  margin: 0 0 22px;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--navy);
  border-left-width: 6px;
  border-radius: 6px;
  color: var(--text-dark);
}
.result-box p { margin: 0; }
.result-box a { font-weight: 700; }
.result-box:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.result-failure { border-color: var(--error); }
.tools-body .result-box[hidden] { display: none; }

.btn[disabled] { opacity: 0.65; cursor: wait; }

.contact-alt { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.contact-alt a { font-weight: 700; }

@media (max-width: 599px) {
  .contact-main { padding: 20px 16px 40px; }
  .contact-card { padding: 18px; }
}

@media print {
  .contact-card { border: 1px solid #000; }
}
