/* --------------- Stepper Buttons --------------- */
.btn-step {
  width: 300px;
  height: 48px;
  padding: 0;
}

.cta-confirm {
  width: 100%;
  height: 48px;
}

@media (max-width: 768px) {
  .btn-step {
    height: 44px;
    width: 100%;
    font-size: 13px;
  }

  .cta-confirm {
    height: 44px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .btn-step {
    height: 40px;
  }

  .cta-confirm {
    height: 40px;
  }
}

/* --------------- Stepper List --------------- */
.stepper-list {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
  row-gap: 15px;
}

.step-item {
  min-width: 0;
  flex-shrink: 0;
  flex-basis: auto;
  cursor: default;
}

.step-item[data-state="success"] {
  cursor: pointer;
}

/* Step Box (circle + label) */
.step-box {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 17px;
  color: #abb7c2;
}

/* Step Circle */
.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background: #ffffff;
  border: 1.6px solid #e5e7eb;
  color: inherit;
  width: 44px;
  height: 44px;
  line-height: 1;
}

.step-circle .step-check {
  display: none;
  width: 24px;
  height: 24px;
}
.step-circle[data-state="active"] {
  color: #542198;
  border-color: #542198;
}
.step-circle[data-state="success"] {
  background: #542198;
  color: #ffffff;
  border-color: #542198;
}
.step-circle[data-state="success"] .step-index {
  display: none;
}
.step-circle[data-state="success"] .step-check {
  display: block;
}

/* Step Label */
.step-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #abb7c2;
}
.step-label[data-state="active"],
.step-label[data-state="success"] {
  color: #542198;
}

.step-divider {
  background: #cfd6dc;
  height: 1px;
  flex: 0 0 30px;
  flex-shrink: 0;
}
/* ----- Responsive Design ----- */
@media (min-width: 1600px) {
  .step-box {
    gap: 16px;
    font-size: 20px;
  }

  .step-circle {
    width: 48px;
    height: 48px;
  }

  .step-circle .step-check {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 1280px) {
  .step-box {
    gap: 8px;
    font-size: 14px;
  }

  .step-circle {
    width: 38px;
    height: 38px;
  }

  .step-circle .step-check {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 1049px) {
  .stepper-list {
    justify-content: stretch;
  }

  .step-divider {
    flex-basis: 20px;
  }
}

@media (max-width: 768px) {
  .stepper-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 13px;
  }

  .step-box {
    gap: 12px;
    font-size: 16px;
  }

  .step-circle {
    width: 36px;
    height: 36px;
  }

  .step-divider {
    display: none;
  }
}
.stepper-root[data-locked="true"] .step-item,
.stepper-root[data-locked="true"] .step-item * {
    pointer-events: none !important;
    cursor: default !important;
}