/* Silkline quote form: functional basics only.
   Restyle freely per client, but keep .sl-hp off-screen. */

/* Honeypot: off-screen, NOT display:none (some bots skip hidden fields) */
.sl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sl-field {
  margin-bottom: 1rem;
}

.sl-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sl-field input,
.sl-field textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  /* 16px+ stops iOS zooming in on focus */
  font-size: max(1rem, 16px);
}

.sl-optional {
  font-weight: 400;
  opacity: 0.7;
}

.sl-field [aria-invalid="true"] {
  border-color: #b42318;
  outline-color: #b42318;
}

.sl-error {
  color: #b42318;
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
  min-height: 1em;
}

.sl-error:empty {
  min-height: 0;
}

.sl-status {
  font-weight: 600;
  margin: 0.75rem 0 0;
}

.sl-privacy {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 1rem;
}

.cf-turnstile {
  margin: 1rem 0;
}

form[data-silkline-form] button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
