/* Scoped Guided Builder additions. Preserve the site's other form controls. */
#ostina-guided-form { scroll-margin-top: 110px; }
#ostina-guided-form .ostina-gb-field { align-content: start; }
#ostina-guided-form .ostina-gb-category {
  min-width: 0;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(123, 184, 255, .28);
  border-radius: 16px;
  background: rgba(25, 50, 82, .25);
}
#ostina-guided-form .ostina-gb-category legend {
  float: none;
  width: auto;
  margin: 0;
  padding: 0 8px;
  color: #a9d5ff;
  font-size: 17px;
  font-weight: 700;
}
#ostina-guided-form .ostina-gb-category .ostina-gb-step-text { margin-bottom: 12px; }
#ostina-guided-form [data-conditional] { margin-top: 16px; }
#ostina-guided-form [hidden] { display: none !important; }
#ostina-guided-form .ostina-gb-option { cursor: pointer; }
#ostina-guided-form .ostina-gb-option input[type=checkbox],
#ostina-guided-form .ostina-gb-option input[type=radio] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex: 0 0 18px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: #69b7ff;
}
#ostina-guided-form .ostina-gb-option:has(input:checked) {
  border-color: #7bb8ff;
  background: #163655;
  box-shadow: inset 3px 0 0 #7bb8ff;
}
#ostina-guided-form .ostina-gb-option:focus-within {
  outline: 2px solid #a9d5ff;
  outline-offset: 3px;
}
#ostina-guided-form .ostina-gb-field select {
  display: block !important;
  width: 100%;
  min-height: 58px;
  font-size: 16px;
  padding: 15px 44px 15px 16px;
  color-scheme: dark;
  background-color: #0a192c;
  border: 1px solid #619fd5;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .16);
}
#ostina-guided-form .ostina-gb-field select option { color: #fff; background: #0a192c; }
#ostina-guided-form .ostina-gb-field select + .nice-select { display: none !important; }
#ostina-guided-form .ostina-gb-consent { margin: 16px 0; }
#ostina-guided-form .ostina-gb-consent a,
#ostina-guided-form .ostina-gb-note a { color: #b8ddff; text-decoration: underline; }
@media (max-width: 600px) {
  #ostina-guided-form .ostina-gb-category { padding: 12px; }
  #ostina-guided-form .ostina-gb-options { grid-template-columns: 1fr; }
  #ostina-guided-form .ostina-gb-grid { grid-template-columns: 1fr; }
  #ostina-guided-form input, #ostina-guided-form textarea { font-size: 16px; }
}
