/* Upright Build Co. — form status + honeypot for the form-relay wiring. */

/* Honeypot: must be reachable by bots but invisible to people. */
.ub-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ub-form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.4;
}
.ub-form-status.is-success,
.ub-form-status.is-error { display: block; }
.ub-form-status.is-success { background: #1a7f4b; color: #fff; }
.ub-form-status.is-error { background: #c0392b; color: #fff; }

/* The email input added at runtime to forms that shipped without one
   (gform_2) isn't covered by the theme's type-specific rules — match the
   sibling phone/text inputs exactly. */
form[id^="gform_"] input[type="email"][name="ub_email"] {
  background: #fff;
  border: 1px solid rgba(85, 85, 85, .333);
  border-radius: 10px;
  padding: 8px;
  height: 45px;
  font-size: 16px;
  width: 100%;
}
