/* Document shell for the supplied JobTread form. The form's own look comes
   only from the client's snippet; this file sets the page font and keeps the
   frame from scrolling, since the parent sizes it to the content height. */
html,
body {
  margin: 0;
  overflow: hidden;
  background: transparent;
}

/* The supplied card's drop shadow extends past the frame on every side, so it
   is clipped at the card edge. Partial room for it would show a hard-edged
   gray band under the card on the parent's white form card, so the body
   gets no padding. */
body {
  color: #1a1a2e;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Contact errors added by the bridge (floridian-jobtread-bridge.js). The
   outline leaves the supplied focus ring, a box-shadow, in place. */
.jt-field-error {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.jt-field-error[hidden] {
  display: none;
}

.jtwf input[aria-invalid="true"] {
  outline: 2px solid #b42318;
  outline-offset: 1px;
}
