/* Pictou Harbourview Market — the two forms that replace the old site's
   third-party form embeds (contact, vendor request).

   Scoped to .hvm-* so nothing here can reach the original polo skin's own
   rules. Colours and type are taken from the skin: Open Sans 300 body,
   Raleway headings, #dc143c accent, #f3dc88 section background. */

.hvm-form-card {
  background: #fff;
  border-radius: 4px;
  padding: 30px 30px 26px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
  text-align: left;
}

.hvm-form-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
}

.hvm-form-lead {
  margin: 0 0 22px;
  color: #888;
  font-size: 14px;
}

.hvm-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  min-width: 0;
}

.hvm-form legend {
  border: 0;
  margin: 18px 0 14px;
  padding: 0 0 6px;
  width: 100%;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #252525;
  border-bottom: 1px solid #eee;
}

.hvm-field { margin-bottom: 16px; }

.hvm-field > label,
.hvm-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.hvm-req { color: #dc143c; }

.hvm-hint {
  margin: -2px 0 8px;
  font-size: 12px;
  color: #999;
}

.hvm-field input[type="text"],
.hvm-field input[type="email"],
.hvm-field input[type="tel"],
.hvm-field textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  color: #565656;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-shadow: none;
  transition: border-color .15s ease;
}

.hvm-field textarea { resize: vertical; min-height: 110px; }

.hvm-field input:focus,
.hvm-field textarea:focus {
  outline: 0;
  border-color: #dc143c;
}

.hvm-field input::placeholder,
.hvm-field textarea::placeholder { color: #bbb; }

.hvm-row { display: flex; flex-wrap: wrap; gap: 0 18px; }
.hvm-row > .hvm-field { flex: 1 1 220px; }

.hvm-choice {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 300;
  color: #565656;
  cursor: pointer;
}

.hvm-choice input { margin-right: 8px; }
.hvm-choice-agree { margin-top: 14px; font-weight: 400; }

.hvm-terms {
  max-height: 230px;
  overflow-y: auto;
  padding: 14px 18px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.6;
}

.hvm-terms ul { margin: 0; padding-left: 18px; }
.hvm-terms li { margin-bottom: 8px; }

.hvm-btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #fff;
  background: #dc143c;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background .15s ease;
}

.hvm-btn:hover,
.hvm-btn:focus { background: #b41525; }

.hvm-form-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: #999;
}

.hvm-form-note a { text-decoration: underline; }

.hvm-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.5;
}

.hvm-alert p { margin: 0 0 6px; }
.hvm-alert ul { margin: 0; padding-left: 18px; }

.hvm-alert-ok   { background: #eef8ee; border: 1px solid #cfe8cf; color: #2c6e2c; }
.hvm-alert-err  { background: #fdeef0; border: 1px solid #f4ccd3; color: #a3172f; }
.hvm-alert-info { background: #fff8e1; border: 1px solid #f0e0a8; color: #7a6212; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hvm-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hvm-form-card { padding: 22px 18px 20px; }
  .hvm-row { display: block; }
}
