/* ALTCHA in the demonstration and subscription dialogs only.
   Uses ALTCHA v3 native CSS custom properties; no internal widget selectors. */
#demoBookingForm .finmodel-altcha,
.subscription-form .finmodel-altcha {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 12px 0 14px;
  overflow-wrap: anywhere;
}

#demoBookingForm .finmodel-altcha altcha-widget,
.subscription-form .finmodel-altcha altcha-widget {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  color: #314765;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;

  /* Align the verification field with existing form inputs. */
  --altcha-max-width: 100%;
  --altcha-border-radius: 10px;
  --altcha-border-color: #cbd7ed;
  --altcha-color-base: #f8faff;
  --altcha-color-base-content: #314765;
  --altcha-color-primary: #315fe4;
  --altcha-color-primary-content: #ffffff;
  --altcha-checkbox-border-color: #90a4c4;
  --altcha-checkbox-border-radius: 5px;
  --altcha-checkbox-outline-color: #315fe4;
  --altcha-padding: 10px 12px;
}

@media (max-width: 590px) {
  #demoBookingForm .finmodel-altcha,
  .subscription-form .finmodel-altcha {
    margin: 10px 0 12px;
  }
  #demoBookingForm .finmodel-altcha altcha-widget,
  .subscription-form .finmodel-altcha altcha-widget {
    font-size: 14px;
  }
}
