/* Styling for the Web3Forms contact form on /contact. The theme has no rules
   for this area — HubSpot used to inject its own — so these reproduce the look
   the embed had: label above a rounded pale field, orange submit button. */

.contact-form {
  max-width: 560px;
}

.contact-form__group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  color: #33475b;
  font-size: 14px;
  font-weight: 400;
}

.contact-form__required {
  margin-left: 2px;
  color: #f2545b;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd6e2;
  border-radius: 20px;
  background: #f5f8fa;
  color: #33475b;
  font-size: 15px;
  line-height: 1.4;
}

.contact-form textarea {
  border-radius: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: #0046c0;
  background: #fff;
}

.contact-form__submit {
  margin-top: 6px;
  padding: 12px 26px;
  border: 0;
  border-radius: 4px;
  background: #ff7a59;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form__submit:hover:not(:disabled) {
  background: #ff5c35;
}

.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: default;
}

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.contact-form__botcheck {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
}

.contact-form__status {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 15px;
}

.contact-form__status--ok {
  border: 1px solid #b7e1c1;
  background: #eafaf0;
  color: #1c6b3c;
}

.contact-form__status--error {
  border: 1px solid #f3c0c3;
  background: #fdeaeb;
  color: #a3282e;
}
