/* Talk to Sales – Two-Step Form Styles
   clientlib: core.splunk.components.talkToSales
*/

/* Hide doi-checkboxes whose policyText has no visible content */
.splunk-form .doi-checkbox.doi-empty-hide {
  display: none !important;
}

/* Hide inactive wrappers visually but keep hidden inputs accessible for form validation */
.tts-two-step:not(.tts-two-step--active) {
  height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: 0;
}

/* Hide step2 by default inside the active wrapper */
.tts-two-step--active .step2 {
  display: none;
}
/* Show step2 only when the modifier class is applied */
.tts-two-step--active.tts-show-step2 .step2 {
  display: block;
}

/* Force step2 fields visible in case global CSS hides them */
.tts-two-step--active.tts-show-step2 .step2 [data-include-in-secondform],
.tts-two-step--active.tts-show-step2 .step2 > label.splunk-input {
  /* Do not force display: core uses it to hide Zip */
  visibility: visible !important;
  opacity: 1 !important;
}

/* Style the "Back" link inside the active two-step wrapper */
.tts-two-step--active .tts-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}
