.zx-form-basic {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
}
.zx-form-basic__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zx-form-basic__label {
  font-size: 0.875em;
  font-weight: 600;
}
.zx-form-basic__label--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.zx-form-basic__input {
  width: 100%;
  padding: 10px 14px;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.zx-form-basic__input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.zx-form-basic__textarea {
  min-height: 120px;
  resize: vertical;
}
/* Honeypot: hidden from humans, still present for bots. */
.zx-form-basic__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.zx-form-basic__button {
  align-self: flex-start;
  padding: 12px 24px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.zx-form-basic__button:hover {
  background: #1d4ed8;
}
/* Theme shield (docs/WIDGET-GUIDE.md "Buttons and theme CSS"): themes restyle `button:hover`/`:active` (0,1,1),
   so the hover/active colours are declared here; user controls (`.zx-<id> ...`) still win. */
.zx-form-basic__button:is(:hover, :active) {
  color: #fff;
}
.zx-form-basic__button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.zx-form-basic__status {
  font-size: 0.9em;
  min-height: 1em;
}
.zx-form-basic__status:empty {
  display: none;
}
.zx-form-basic--success .zx-form-basic__status {
  color: #15803d;
}
.zx-form-basic--error .zx-form-basic__status {
  color: #b91c1c;
}
