.hs-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.hs-main-steps-indicator {
    text-align: center;
    margin-bottom: 20px;
}

.hs-main-step-dot {
    display: inline-flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  cursor: pointer;
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
  font-weight: 600;
  border: 2px solid rgb(226 232 240);
  width: 3rem;
  height: 3rem;
}

.hs-main-step-dot.is-active {
      background: rgb(37, 99, 235);
  color: #fff;
  border-color: rgb(37, 99, 235);
}

.hs-step-panel {
    display: none;
}

.hs-step-panel.is-active {
    display: block;
}

.hs-step-header-frontend {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    align-items: flex-start;
}
.hs-step-title-wrap {
  width: 100%;
}

.hs-step-title-frontend {
    font-size: var(--hs-fs-step-title);
    margin: 0;
}

.hs-step-subtitle-frontend {
    margin: 4px 0 0;
    color: #4b5563;
    font-size: var(--hs-fs-step-sub);
}

.hs-nested-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hs-nested-progress {
    flex: 0 0 120px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.hs-nested-progress-bar {
    height: 100%;
    width: 0;
    background: #2563eb;
}

.hs-nested-step {
    display: none;
}

.hs-nested-step.is-active {
    display: block;
}

.hs-fields-grid {
      display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.hs-field-wrap {
    margin-bottom: 10px;
}

.hs-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.hs-options-list .hs-option-inline {
    display: block;
    margin-bottom: 6px;
}

.hs-radio-special-group .hs-radio-special-cards {
    display: grid;
    gap: 24px;
      grid-template-columns: repeat(2,minmax(0,1fr));
}

.hs-radio-special-card {
   background: #eef2ff;
  cursor: pointer;
  display: flex;
  padding: 1.5rem;
  text-align: left;
  border-radius: .75rem;
  gap: 1rem;
}

.hs-radio-special-card.is-selected {
    outline: 2px solid #2563eb;
    background: #dbeafe;
}

.hs-nav-row {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    gap: 16px;
}

.hs-btn-prev,
.hs-btn-next,
.hs-btn-submit,
.hs-btn-main-back {
    padding: 10px 18px;
}



.hs-step-panel {
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 #000, 0 0 #000, 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  margin: 24px 0px;
  background: #fff;
}
.hs-step-title-frontend {
  line-height: 2rem;
  text-align: center;
  font-weight: 700;
}
.hs-step-subtitle-frontend {
  margin-bottom: 2rem;
  text-align: center;
  color: rgb(71 85 105 );
}

.hs-radio-special-cards {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.hs-rs-card-icon {
  padding: .75rem;
  background-color: #fff3;
  border-radius: .5rem;
  width: 56px;
  height: 56px;
  min-width: 56px;
}
.hs-rs-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.hs-rs-card-title {
  margin-bottom: .5rem;
  font-size: var( --hs-fs-icon-label);
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}
.hs-rs-card-desc {
  color: #ffffffe6;
  line-height: 1.4;
  font-size: var( --hs-fs-icon-desc);
}

.hs-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hs-options-list .hs-option-inline {
  padding: 1rem;
  border: 2px solid rgb(226 232 240);
  border-radius: .75rem;
  width: 100%;
  align-items: center;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition-duration: .3s;
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}
.hs-option-inline span {
  font-size: var(--hs-fs-field);
  font-weight: 500;
}
.hs-option-inline input {
  width: 20px;
  height: 20px;
}
.hs-options-list .hs-option-inline:hover, .hs-options-list .hs-option-inline.selected{
  background-color: #eff6ff80;
  border-color: rgb(147 197 253);
}
.hs-type-radio .hs-field-label {
  font-size: var(--hs-fs-radio-label);;
  line-height: 2rem;
  font-weight: 700;

}
.hs-field-description {
  color: rgb(71 85 105);
  font-size: var(--hs-fs-radio-label-sub);
}
.hs-options-list {
  margin-top: 2rem;
}

.hs-field-wrap input[type="text"], .hs-field-wrap input[type="email"], .hs-field-wrap textarea {
  background: transparent;
  font-size: var(--hs-fs-field);
  line-height: 1.25rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  padding-left: .75rem;
  padding-right: .75rem;
  border: 1px solid rgb(203 213 225);
  border-radius: 6px;
  min-height: 2.5rem;
  margin-top: 8px;
  width: 100%;
}
.hs-field-label {
  font-size: var(--hs-fs-label);
  font-weight: 500;
  line-height: 1;
}

.hs-btn-main-back {
  border: none !important;
  color: rgb(71 85 105) !important;
  font-size: var(--hs-fs-main-back) !important;
}
.hs-btn-main-back:hover {
  background-color: hsl(210 40% 96.1%) !important;
  color: rgb(71 85 105) !important;
}

.hs-nav-row .hs-btn-prev {
  background: transparent !important;
  color: #000 !important;
  border: 1px solid rgb(203 213 225) !important;
  border-radius: 6px;
}
.hs-nav-row button {
  width: 100%;
  border-radius: 6px;
  min-height: 40px;
  font-size: var(--hs-fs-btn);
}

.hs-field-wrap {
  grid-column: span 12;
}
.hs-field-wrap.hs-field-half {
  grid-column: span 6;
}

.hs-field-wrap.hs-error input {
  border-color: red;
}
.hs-field-required {
  color: red;
}
.hs-rs-card-icon i {
  font-size: 32px;
  line-height: 1;
  color: #fff;
}
.hs-nav-row .hs-btn-next, .hs-btn-submit{
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
}
.hs-btn-next.disabled,
.hs-btn-submit.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
.hs-btn-submit.loading,
.hs-btn-next.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.hs-btn-submit.loading::after,
.hs-btn-next.loading::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hs-spin 0.6s linear infinite;
}

@keyframes hs-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.hs-nested-counter{
  font-size: var(--hs-fs-nested-counter);
}
.hs-transition-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.75);
  z-index: 50;
}

.hs-transition-overlay.is-showing { display: flex; }

.hs-dots {
  display: inline-flex;
  gap: 8px;
}

.hs-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.35;
  animation: hs-dot-pulse 0.9s infinite ease-in-out;
}

.hs-dot:nth-child(2) { animation-delay: 0.15s; }
.hs-dot:nth-child(3) { animation-delay: 0.30s; }

@keyframes hs-dot-pulse {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 1; }
}


@media only screen and (max-width: 767px){


    .hs-radio-special-group .hs-radio-special-cards {
      grid-template-columns: repeat(1,minmax(0,1fr));
    }
    .hs-step-panel {
      padding: 1.5rem;
      margin: 8px 0px;
    }
    .hs-radio-special-card {
      padding: 1rem;
    }
    .hs-rs-card-title {
      font-size: 1rem;
      line-height: 1;
    }
    .hs-step-subtitle-frontend {
      line-height: 1.3;
      margin-bottom: 1rem;
    }

    .hs-fields-grid {
      grid-template-columns: repeat(12, 1fr);
      gap: 12px;
    }
    .hs-field-wrap.hs-field-half {
      grid-column: span 12;
    }

    
    .hs-type-radio .hs-field-label {
      font-size: 1.2rem;
    }
    .hs-options-list {
      margin-top: 1rem;
    }

}