/* SMS opt-in / consent page.
   The form below is a faithful reproduction of the member-facing gym sign-up form, shown so a
   reviewer can read the consent language at the point of phone collection. Styling mirrors
   landing/trial/trial.css so what is shown here matches what a member actually sees. */

.optin-demo {
  margin: 1.75rem 0 2.25rem;
}

.optin-demo__flag {
  border-left: 3px solid var(--accent, #008BFF);
  background: rgba(0, 139, 255, 0.06);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.optin-form {
  border: 1px solid rgba(128, 128, 128, 0.28);
  border-radius: 14px;
  padding: 1.5rem;
  max-width: 27rem;
  background: rgba(128, 128, 128, 0.04);
}

.optin-form__title {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.optin-field {
  display: block;
  margin-bottom: 0.9rem;
}

.optin-field__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.optin-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid rgba(128, 128, 128, 0.4);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
}

.optin-field input:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

/* The consent notice. Sits directly beneath the phone field, which is the placement the
   carrier registry checks for, so do not move it above the inputs or into a collapsed block. */
.optin-consent {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0.25rem 0 1.1rem;
}

.optin-submit {
  width: 100%;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: 9px;
  background: var(--accent, #008BFF);
  color: #fff;
}

.optin-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
