.ds_af {
  --af-gap: var(--af-gap-d, 20px);
  --af-columns: var(--af-columns-d, 1);
  --af-accent: #255bff;
  --af-focus: #255bff;
  --af-focus-width: 2px;
  font: inherit;
  color: inherit;
  min-width: 0;
  position: relative;
}
.ds_af * {
  box-sizing: border-box;
}
.ds_af [hidden] {
  display: none !important;
}
.ds_af input,
.ds_af select,
.ds_af textarea,
.ds_af button {
  font: inherit;
}
.ds_af__fields,
.ds_af__section-fields {
  display: grid;
  grid-template-columns: repeat(var(--af-columns), minmax(0, 1fr));
  gap: var(--af-gap);
  align-items: start;
}
:is(.ds_af__fields, .ds_af__section-fields) > .et_pb_module {
  min-width: 0;
  margin: 0;
}
.ds_af__fields > .ds_form_section,
.ds_af__section-fields > .ds_form_section {
  grid-column: 1/-1;
}
.ds_form_field:has(> .ds_af__field[data-width="full"]) {
  grid-column: 1/-1;
}
.ds_af__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.ds_af__field[data-type="hidden"] {
  display: none;
}
.ds_af__label {
  display: block;
  font-size: 0.9375em;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ds_af__label span {
  color: var(--af-accent);
}
:where(.ds_af) :is(input, select, textarea).ds_af__control {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: var(--af-input-height, 48px);
  padding: 12px 16px;
  border: 0 solid transparent;
  border-radius: 0;
  background-color: #eee;
  color: inherit;
  font: inherit;
  line-height: 1.5;
}
:where(.ds_af) select.ds_af__control {
  appearance: none;
  padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23536379' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.ds_af select[multiple] {
  background-image: none;
  min-height: 130px;
}
:where(.ds_af) textarea.ds_af__control {
  resize: vertical;
  min-height: 150px;
}
.ds_af__control::placeholder {
  color: #595959;
  opacity: 1;
}
.ds_af .ds_af__control:focus-visible,
.ds_af button:focus-visible,
.ds_af input:focus-visible {
  outline: var(--af-focus-width) solid var(--af-focus);
  outline-offset: 3px;
}
.ds_af__control[aria-invalid="true"] {
  outline: 2px solid #ba3030;
  outline-offset: -2px;
}
.ds_af__help {
  display: block;
  font-size: 0.8125em;
  line-height: 1.6;
  color: #526177;
}
.ds_af__help:empty,
.ds_af__error:empty {
  display: none;
}
.ds_af__error {
  font-size: 0.8125em;
  line-height: 1.5;
  color: #ad2525;
}
.ds_af[data-help="off"] .ds_af__help {
  display: none;
}
.ds_af[data-labels="off"] .ds_af__label,
.ds_af__field:is([data-type="text"], [data-type="email"], [data-type="textarea"], [data-type="tel"], [data-type="url"], [data-type="number"])[data-label-display="placeholder"] > .ds_af__label {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.ds_af__choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 12px;
  align-items: stretch;
}
:where(.ds_af__choices) > :where(.et_pb_module) {
  margin: 0;
  min-width: 0;
}
.ds_af__option {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid #cbd4e0;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ds_af__option:has(input:checked) {
  border-color: var(--af-accent);
  background: #f1f5ff;
}
.ds_af input[type="checkbox"],
.ds_af input[type="radio"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--af-accent);
}
.ds_af__choice-image:empty {
  display: none;
}
.ds_af__choice-image img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.ds_af__field:not([data-type="image"]) .ds_af__choice-image {
  display: none;
}
.ds_af__field[data-type="select"] .ds_af__choices,
.ds_af__field[data-type="multiselect"] .ds_af__choices {
  display: none;
}
.ds_af__field[data-type="heading"] > .ds_af__label,
.ds_af__field[data-type="consent"] > .ds_af__label {
  display: none;
}
.ds_af input[type="range"].ds_af__control {
  accent-color: var(--af-accent);
  padding: 8px 0;
  min-height: 36px;
  border: 0;
  background: rgba(0, 0, 0, 0);
}
.ds_af__range-value {
  font-variant-numeric: tabular-nums;
  font-size: 0.875em;
}
.ds_af__upload {
  padding: 20px;
  border: 1px dashed #a9b8cc;
  border-radius: 8px;
  background: #f8faff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
:where(.ds_af) :where(input[type="file"]).ds_af__control {
  border: 0;
  padding: 0;
  background: none;
  min-height: 42px;
}
.ds_af input::file-selector-button {
  padding: 10px 14px;
  margin-inline-end: 12px;
  border: 1px solid #c7d1df;
  background: #fff;
  border-radius: 5px;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.ds_af__files {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875em;
  overflow-wrap: anywhere;
}
.ds_af__nav {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-block-start: 24px;
  flex-wrap: wrap;
}
:where(.ds_af) .ds_af__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  background: var(--af-accent);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
}
:where(.ds_af) .ds_af__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #cbd4e0;
  background: #fff;
  color: inherit;
  border-radius: 0;
  cursor: pointer;
  line-height: 1.4;
}
.ds_af button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.ds_af[aria-busy="true"] button:disabled {
  cursor: wait;
}
.ds_af__primary,
.ds_af__back {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}
.ds_af__option:focus-within {
  outline: var(--af-focus-width) solid var(--af-focus);
  outline-offset: 3px;
}
.ds_af__progress {
  display: flex;
  gap: 12px;
  margin-block-end: 24px;
  align-items: center;
}
:where(.ds_af) .ds_af__step {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #c9d5e5;
  border-radius: 50%;
  padding: 0;
  color: inherit;
  background: #fff;
  font-size: 0.8125em;
  line-height: 1;
}
:where(.ds_af) .ds_af__step[aria-current="step"] {
  background: var(--af-accent);
  color: #fff;
  border-color: var(--af-accent);
}
.ds_af__section {
  padding-block: 8px;
  min-width: 0;
}
.ds_af__section-title {
  font: inherit;
  font-size: 1.2em;
  font-weight: 600;
  margin: 0 0 12px;
  padding: 0;
}
.ds_af__section > .ds_af__help {
  margin-block-end: 18px;
}
.ds_af__section > [data-af-add] {
  margin-block-start: 16px;
}
.ds_af__review-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr) auto;
  gap: 16px;
  align-items: center;
  padding-block: 14px;
  border-block-end: 1px solid #e2e8f0;
  overflow-wrap: anywhere;
}
.ds_af__result {
  padding: 24px;
  background: #f7faff;
  border: 1px solid #dee7f3;
  border-radius: 10px;
}
.ds_af__result h3 {
  margin: 12px 0 8px;
  font: inherit;
  font-size: 1.35em;
  font-weight: 600;
}
.ds_af__result p {
  padding: 0;
  line-height: 1.6;
}
.ds_af__success-icon {
  display: block;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 1px solid var(--af-accent);
  border-radius: 50%;
  fill: none;
  stroke: var(--af-accent);
  stroke-width: 2;
}
.ds_af__status:empty {
  display: none;
}
.ds_af__status {
  margin: 16px 0 0;
  padding: 0;
  font-size: 0.9375em;
  line-height: 1.5;
}
.ds_af__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ds_af__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px dashed #bfccdc;
  border-radius: 8px;
  background: #f8faff;
}
@media (max-width: 980px) {
  .ds_af {
    --af-gap: var(--af-gap-t, var(--af-gap-d));
    --af-columns: var(--af-columns-t, var(--af-columns-d));
  }
}
@media (max-width: 767px) {
  .ds_af {
    --af-gap: var(--af-gap-p, var(--af-gap-t));
    --af-columns: 1;
  }
  .ds_af__nav {
    flex-wrap: wrap;
  }
  .ds_af__review-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }
  .ds_af__review-row > strong {
    grid-column: 1/-1;
  }
  .ds_af__upload {
    padding: 16px;
  }
  .ds_af__progress {
    gap: 8px;
    overflow-x: auto;
    padding: 4px;
  }
  .ds_af__step {
    flex-shrink: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ds_af * {
    animation: none !important;
    transition: none !important;
  }
}
.ds_af__step svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.ds_af .ds_af__step {
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}
.ds_af__choice-image:not(:has(img)) {
  display: none;
}
.ds_af__upload-preview {
  display: block;
  max-width: 100%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.ds_af {
  --af-span: calc(12 / var(--af-columns));
  --af-input-height: var(--af-input-height-d, 48px);
}
.ds_af__fields,
.ds_af__section-fields {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.ds_af__fields > .ds_form_field,
.ds_af__section-fields > .ds_form_field,
.ds_af__fields > .ds_af__field,
.ds_af__section-fields > .ds_af__field {
  grid-column: span var(--af-field-span-d, var(--af-span));
}
@media (max-width: 980px) {
  .ds_af {
    --af-input-height: var(--af-input-height-t, var(--af-input-height-d));
  }
  .ds_af__fields > .ds_form_field,
  .ds_af__section-fields > .ds_form_field,
  .ds_af__fields > .ds_af__field,
  .ds_af__section-fields > .ds_af__field {
    grid-column: span
      var(--af-field-span-t, var(--af-field-span-d, var(--af-span)));
  }
}
@media (max-width: 767px) {
  .ds_af {
    --af-input-height: var(--af-input-height-p, var(--af-input-height-t));
    --af-columns: var(--af-columns-p, 1);
  }
  .ds_af__fields > .ds_form_field,
  .ds_af__section-fields > .ds_form_field,
  .ds_af__fields > .ds_af__field,
  .ds_af__section-fields > .ds_af__field {
    grid-column: span var(--af-field-span-p, var(--af-span));
  }
}
.ds_af__builder-tools {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-block-start: 12px;
  align-items: center;
}
.ds_af[data-af-builder="true"][data-builder-motion="off"] * {
  animation: none !important;
  transition: none !important;
}

.ds_af__progress { flex-wrap: wrap; }
.ds_af__progress[data-display="pills"] .ds_af__step {
  width: auto;
  padding-inline: 1em;
  border-radius: 2em;
}
.ds_af__progress[data-display="segments"] .ds_af__step {
  flex: 1 1 44px;
  border-radius: 4px;
  border-width: 0 0 4px;
}
.ds_af__progress[data-display="rail"] { gap: 0; }
.ds_af__progress[data-display="rail"] .ds_af__step + .ds_af__step { margin-inline-start: 16px; position: relative; }
.ds_af__progress[data-display="rail"] .ds_af__step + .ds_af__step::before {
  content: "";
  position: absolute;
  inset-inline-start: -17px;
  width: 16px;
  height: 2px;
  background: currentColor;
  color: #8796aa;
}
.ds_af__step:focus-visible { outline: 2px solid var(--af-focus); outline-offset: 2px; }

.ds_af[data-label-layout="beside"] { container-type: inline-size; }
@container (min-width: 38rem) {
  .ds_af[data-label-layout="beside"]:not([data-labels="off"]) .ds_af__field[data-width="full"]:not([data-type="hidden"], [data-type="heading"]) {
    display: grid;
    grid-template-columns: minmax(8rem, 30%) minmax(0, 1fr);
    gap: 10px 15px;
    align-items: start;
  }
  .ds_af[data-label-layout="beside"] .ds_af__field[data-width="full"] > * { grid-column: 2; }
  .ds_af[data-label-layout="beside"] .ds_af__field[data-width="full"] > .ds_af__label {
    grid-column: 1;
    grid-row: 1;
    padding-block-start: .65em;
  }
}

.ds_af[data-nav-align="left"] .ds_af__nav { justify-content: flex-start; }
.ds_af[data-nav-align="center"] .ds_af__nav { justify-content: center; }
.ds_af .ds_af__insert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px dashed #8a99ac;
  border-radius: 0;
  background: transparent;
  color: #334155;
  line-height: 1.4;
  cursor: pointer;
}
.ds_af__insert::before { content: "+"; font-size: 1.15em; }
.ds_af__insert:is(:hover, :focus-visible) { border-style: solid; background: #f2f5fa; }
.ds_af[data-af-builder="true"]:has(.ds_af__empty) > .ds_af__nav { display: none; }
