.sab-bf-wrap {
  max-width: 640px;
  --sab-blue: #2a2a86;
  --sab-red: #da2128;
  --sab-yellow: #ffe600;
  font-family: 'Poppins', sans-serif;
}
.sab-bf-form {
  background: #fffdf9;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.25);
  font-family: 'Poppins', sans-serif;
  border-top: 4px solid var(--sab-yellow);
}
.sab-bf-title {
  font-size: 1.5rem;
  margin: 0 0 6px;
  color: var(--sab-blue);
  font-weight: 600;
}
.sab-bf-sub {
  color: #5c564d;
  font-size: 0.9rem;
  margin: 0 0 22px;
}
.sab-bf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.sab-bf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sab-bf-field.full {
  grid-column: 1 / -1;
}
.sab-bf-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5c564d;
}
.sab-bf-req {
  color: var(--sab-red);
}
.sab-bf-optional {
  color: #9a9284;
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
  font-size: 0.72rem;
}
.sab-bf-field-error {
  display: none;
  color: var(--sab-red);
  font-size: 0.78rem;
  margin-top: 6px;
}
.sab-bf-checks.sab-bf-invalid {
  border-color: var(--sab-red);
}
.sab-bf-checks.sab-bf-invalid + .sab-bf-field-error {
  display: block;
}
.sab-bf-field input,
.sab-bf-field select,
.sab-bf-field textarea {
  border: 1.5px solid #e6dcc7;
  border-radius: 10px;
  padding: 12px 14px;
  background: #faf3e6;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  box-sizing: border-box;
}
.sab-bf-field input:focus,
.sab-bf-field select:focus,
.sab-bf-field textarea:focus {
  outline: none;
  border-color: var(--sab-blue);
  box-shadow: 0 0 0 3px rgba(42, 42, 134, 0.12);
}
.sab-bf-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  background: #faf3e6;
  border: 1.5px solid #e6dcc7;
  border-radius: 10px;
  padding: 14px 16px;
}
.sab-bf-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: #241f1a;
  cursor: pointer;
}
.sab-bf-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sab-blue);
  cursor: pointer;
  flex-shrink: 0;
}
/* Honeypot: hidden from sighted real users, still present in DOM for bots to fall into */
.sab-bf-hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0;
  width: 0;
  overflow: hidden;
}
.sab-bf-submit {
  width: 100%;
  background: var(--sab-red);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px -10px rgba(218, 33, 40, .6);
}
.sab-bf-submit:hover {
  transform: translateY(-2px);
}
.sab-bf-submit:focus-visible {
  outline: 3px solid var(--sab-yellow);
  outline-offset: 2px;
}
.sab-bf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.sab-bf-message {
  margin-top: 14px;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}
.sab-bf-message.success {
  display: block;
  background: #e8f5e9;
  color: #1f4d2c;
}
.sab-bf-message.error {
  display: block;
  background: #fdecea;
  color: #8f1015;
}
@media (max-width: 600px) {
  .sab-bf-row {
    grid-template-columns: 1fr;
  }
  .sab-bf-form {
    padding: 26px 20px;
    border-radius: 18px;
  }
  .sab-bf-checks {
    flex-direction: column;
    gap: 12px;
  }
  .sab-bf-title {
    font-size: 1.25rem;
  }
}

