/* SHERLOCK_SIGNUP_V1 — scoped styles only.
   Used by the Sherlock Notes form (homepage) and the business enquiry form
   (/for-clinics/). Nothing here is global. */

.sherlock-signup {
  margin: 1.35rem 0 0;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid rgba(15, 38, 51, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  max-width: 620px;
}

.sherlock-signup__row { margin-bottom: .85rem; }

.sherlock-signup__label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 700;
  font-size: .95rem;
}

.sherlock-signup__input {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  font-size: 1rem;
  font-family: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 38, 51, .28);
  border-radius: 12px;
}

.sherlock-signup__input:focus-visible {
  outline: 3px solid #173a49;
  outline-offset: 2px;
  border-color: #173a49;
}

.sherlock-signup__input[aria-invalid="true"] {
  border-color: #8c1d18;
  background: #fff6f5;
}

.sherlock-signup__consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin: .25rem 0 1rem;
  font-size: .93rem;
  line-height: 1.5;
  cursor: pointer;
}

.sherlock-signup__consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin: .15rem 0 0;
  flex: 0 0 auto;
  accent-color: #173a49;
}

.sherlock-signup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #173a49;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.sherlock-signup__button:hover { filter: brightness(1.08); }
.sherlock-signup__button:disabled { opacity: .6; cursor: progress; }

.sherlock-signup__status {
  margin: .85rem 0 0;
  min-height: 1.4em;
  font-size: .95rem;
  line-height: 1.45;
}

.sherlock-signup__status[data-state="ok"] { color: #1c5b3a; }
.sherlock-signup__status[data-state="error"] { color: #8c1d18; }

/* The Cloudflare Turnstile widget. It is rendered by the browser into this
   container, and in "managed" mode it is invisible for most visitors. */
.sherlock-signup__turnstile {
  margin: .9rem 0 0;
  min-height: 1px;
}

.sherlock-signup__turnstile-note {
  margin: .45rem 0 0;
  font-size: .82rem;
  line-height: 1.4;
  color: #5c7180;
}

.sherlock-signup__fallback {
  margin: .9rem 0 0;
  font-size: .9rem;
}
