/* book-trial-form.css — self-contained styling for the self-hosted Book Trial form */
.tm-form { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.tm-row { display: flex; gap: 14px; flex-wrap: wrap; }
.tm-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; min-width: 0; }
.tm-field > span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #1c1c1c; }
.tm-field input, .tm-field select {
  width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 15px;
  border: 1px solid #d7d7d7; border-radius: 10px; background: #fff; color: #111;
}
.tm-field input:focus, .tm-field select:focus { outline: none; border-color: #15b86a; box-shadow: 0 0 0 3px rgba(21,184,106,.18); }
.tm-submit {
  margin-top: 6px; padding: 14px 22px; font-size: 15px; font-weight: 700; letter-spacing: .03em;
  color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, #15b86a, #0f9d58);
}
.tm-submit:hover { filter: brightness(1.05); }
.tm-form-error { margin: 0; color: #c0392b; font-size: 14px; font-weight: 600; }
/* honeypot — visually hidden, off the accessibility tree */
.tm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* --- two-step layout --- */
.tm-step { display: flex; flex-direction: column; gap: 14px; }
.tm-step[hidden] { display: none; }
.tm-step-title { margin: 0; font-size: 17px; font-weight: 700; color: #1c1c1c; }

.tm-actions { display: flex; gap: 12px; margin-top: 6px; }
.tm-actions .tm-submit { flex: 1 1 auto; margin-top: 0; }
.tm-back {
  flex: 0 0 auto; padding: 14px 22px; font-size: 15px; font-weight: 700; letter-spacing: .03em;
  color: #0f9d58; background: #fff; border: 1px solid #15b86a; border-radius: 999px; cursor: pointer;
}
.tm-back:hover { background: #f1faf5; }

/* progress indicator (1)──(2) */
.tm-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.tm-progress-step {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; background: #eaeaea; color: #9a9a9a;
}
.tm-progress-step.is-active { background: linear-gradient(90deg, #15b86a, #0f9d58); color: #fff; }
.tm-progress-bar { flex: 1 1 auto; height: 3px; border-radius: 2px; background: #eaeaea; }
