/* Button Real Estate forms — matches the former Essential Addons widget styling */
.bf { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1f2937; max-width: 100%; }
.bf * { box-sizing: border-box; }
.bf-title { font-family: inherit; font-weight: 500; font-size: 30px; line-height: 1.2; margin: 0 0 20px; }
.bf-fields { display: flex; flex-direction: column; gap: 20px; }
.bf-field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bf-label { display: block; font-size: 16px; line-height: 20px; font-weight: 500; margin: 0 0 8px; padding: 0; }
.bf-req { color: #c02b0a; }
.bf-section { font-weight: 500; font-size: 18px; margin: 4px 0 0; padding: 0 0 10px; border-bottom: 1px solid #e5e7eb; }
.bf input[type="text"], .bf input[type="email"], .bf input[type="tel"], .bf input[type="number"],
.bf input[type="date"], .bf input[type="time"], .bf textarea, .bf input[type="file"] {
  display: block; width: 100%; font: inherit; font-size: 16px; color: inherit; background: #fff;
  padding: 12px 16px; border: 1px solid #e5e7eb; border-radius: 16px; outline: none; margin: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bf input:focus, .bf textarea:focus { border-color: #6dbe4a; box-shadow: 0 0 0 3px rgba(109, 190, 74, .2); }
.bf textarea { min-height: 150px; resize: vertical; }
.bf input[type="file"] { padding: 10px 16px; }
.bf-row { display: flex; flex-wrap: wrap; gap: 12px; }
.bf-sub { flex: 1 1 calc(50% - 6px); min-width: 140px; }
.bf-row--address .bf-sub--street, .bf-row--address .bf-sub--line2 { flex-basis: 100%; }
.bf-sublabel { display: block; font-size: 13px; line-height: 30px; color: #6b7280; }
.bf-desc { font-size: 13px; line-height: 1.4; color: #6b7280; margin-top: 6px; }
.bf-choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bf-choice { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; margin: 0; }
.bf-choice input, .bf-consent input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: #6dbe4a; }
.bf-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 1.4; margin: 0; cursor: pointer; }
.bf-consent input { margin-top: 3px; }
.bf-consent a { text-decoration: underline; }
.bf-error { color: #c02b0a; font-size: 13px; margin-top: 6px; }
.bf-field--invalid input, .bf-field--invalid textarea { border-color: #c02b0a; }
.bf-msg { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; font-size: 15px; background: #fef2f2; color: #991b1b; }
.bf-msg--error { margin-bottom: 16px; }
.bf-submit {
  display: block; width: 100%; margin-top: 20px; padding: 16px; border: 0; border-radius: 8px;
  background: #6dbe4a; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}
.bf-submit:hover { background: #0d5e2b; }
.bf-submit[disabled] { opacity: .6; cursor: wait; }
.bf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bf-confirmation { font-size: 16px; line-height: 1.6; }
.bf-confirmation h4 { margin: 0 0 10px; font-size: 22px; font-weight: 600; }
.bf-confirmation blockquote { margin: 12px 0; padding: 12px 16px; background: #f3f4f6; border-left: 4px solid #6dbe4a; }
.bf-recaptcha-fallback { font-size: 12px; color: #6b7280; margin-top: 8px; }
@media (max-width: 767px) {
  .bf-title { font-size: 26px; }
  .bf-submit { padding: 10px; }
  .bf-sub { flex-basis: 100%; }
}
