.custom-form-builder .custom-form-step[hidden] { display: none !important; }
.custom-form-builder .custom-form-tabs { gap: 4px; margin-bottom: 16px; }
.custom-form-builder .custom-form-step-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.custom-form-builder .custom-form-step-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: #556579;
  display: flex;
  gap: 10px;
  min-height: 38px;
  padding: 5px 8px;
  text-align: left;
}
.custom-form-builder .custom-form-step-link span {
  align-items: center;
  border: 1px solid #cbd5df;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 26px;
  height: 26px;
  justify-content: center;
  width: 26px;
}
.custom-form-builder .custom-form-step-link.is-active { color: #176e68; font-weight: 700; }
.custom-form-builder .custom-form-step-link.is-active span { background: #176e68; border-color: #176e68; color: #fff; }
.custom-form-builder .custom-form-accordion { border-bottom: 1px solid #e1e7ed; padding: 12px 0; }
.custom-form-builder .custom-form-accordion summary { color: #34475b; cursor: pointer; font-size: 0.9rem; font-weight: 700; }
.custom-form-builder .custom-form-accordion .custom-form-step { padding-top: 14px; }
.custom-form-builder .custom-form-sidebar-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 270px);
}
.custom-form-builder .custom-form-sidebar {
  background: #f4f7f8;
  border: 1px solid #e1e7ed;
  border-radius: 5px;
  padding: 16px;
}
.custom-form-builder .fb-repeatable-list { display: grid; gap: 12px; }
.custom-form-builder .fb-repeatable-item { border: 1px solid #e1e7ed; border-radius: 5px; padding: 14px; }
.custom-form-builder .custom-form-review-list {
  display: grid;
  gap: 8px 16px;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  margin: 18px 0 0;
}
.custom-form-builder .custom-form-review-list dt {
  color: #637286;
  font-size: 0.82rem;
  font-weight: 700;
}
.custom-form-builder .custom-form-review-list dd {
  border-bottom: 1px solid #e6ebef;
  color: #253548;
  margin: 0;
  overflow-wrap: anywhere;
  padding-bottom: 8px;
}
.custom-form-builder.custom-form-layout-inline .row > div { flex: 0 1 auto; }
.custom-form-builder.custom-form-layout-login { margin-left: auto; margin-right: auto; max-width: 440px; }
.custom-form-builder.custom-form-layout-registration .btn[type="submit"] { width: 100%; }
.custom-form-builder.custom-form-layout-file-upload input[type="file"] { border: 1px dashed #aab9c8; min-height: 72px; padding: 18px; }
.custom-form-builder.custom-form-layout-settings { border-left: 3px solid #398983; padding-left: 18px; }
.custom-form-builder.custom-form-layout-search-filter .form-control,
.custom-form-builder.custom-form-layout-search-filter .form-select { min-width: 130px; }

@media (min-width: 768px) {
  .custom-form-builder.custom-form-layout-vertical-stepper,
  .custom-form-builder.custom-form-layout-complex-wizard {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  }
  .custom-form-builder.custom-form-layout-vertical-stepper > .progress,
  .custom-form-builder.custom-form-layout-complex-wizard > .progress { grid-column: 1 / -1; }
  .custom-form-builder.custom-form-layout-vertical-stepper > .custom-form-step-nav,
  .custom-form-builder.custom-form-layout-complex-wizard > .custom-form-step-nav { grid-column: 1; grid-row: 2; }
  .custom-form-builder.custom-form-layout-vertical-stepper > .custom-form-step,
  .custom-form-builder.custom-form-layout-complex-wizard > .custom-form-step { grid-column: 2; grid-row: 2; }
}
@media (max-width: 767.98px) {
  .custom-form-builder .custom-form-sidebar-layout { grid-template-columns: minmax(0, 1fr); }
  .custom-form-builder .custom-form-sidebar { order: -1; }
  .custom-form-builder.custom-form-layout-inline .row > div { flex: 1 1 100%; }
}