/* WEBOLAR Forms – optional base styles. Adapt colours to the client website. */

/* Honeypot: invisible for humans, still present for bots. Do not use display:none on the input itself. */
.webolar-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.webolar-form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.webolar-form-status[hidden],
.webolar-form-status:empty {
  display: none;
}

.webolar-form-status.is-loading { background: #eef3fb; color: #23436e; }
.webolar-form-status.is-success { background: #e8f6ee; color: #1d6b3d; }
.webolar-form-status.is-error   { background: #fdecec; color: #9b1c1c; }

form[data-webolar-form] .is-invalid,
form[data-webolar-form] [aria-invalid="true"] {
  border-color: #d64545 !important;
  outline-color: #d64545;
}

form[data-webolar-form].is-sending [type="submit"] {
  cursor: progress;
  opacity: 0.75;
}
