/* Multi-Step Form Styles */

/* Header */
.hc-multistep-header {
  margin-bottom: var(--space-l);
}

.hc-multistep-header h3 {
  margin-bottom: var(--space-m);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--color-header);
}

/* Progress Bar */
.hc-step-progress {
  display: flex;
  justify-content: space-between;

  position: relative;
}

.hc-step-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-grey-20);
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-grey-05);
  color: var(--color-grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 2px solid var(--color-grey-20);
  transition: all var(--transition-02);
}

.step-item.active .step-number {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: var(--box-shadow-primary);
}

.step-item.completed .step-number {
  background: var(--color-success);
  color: white;
  border-color: var(--color-success);
}

.step-label {
  font-size: var(--fs-body-s);
  color: var(--color-text-light);
  text-align: center;
  font-weight: 500;
}

.step-item.active .step-label {
  color: var(--color-primary);
  font-weight: bold;
}

/* Body */
.hc-multistep-body {
  margin-bottom: var(--space-m);
}

/* Footer */
.hc-multistep-footer {
  padding-top: var(--space-m);
  border-top: 2px solid var(--color-grey-10);
}

/* Step Navigation Buttons */
.hc-step-navigation {
  margin-bottom: var(--space-s);
}

#hc-main-next-btn {
  width: 100%;
}

/* Footer Info Row */
.hc-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
}

/* Price Summary in Footer */
.hc-footer-info .hc-subtotal {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-left: auto;
}

.subtotal-label {
  font-weight: 600;
  font-size: var(--fs-body-m);
  color: var(--color-text);
}

.subtotal-amount {
  font-weight: bold;
  font-size: var(--fs-body-m);
  color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .step-label {
    font-size: 10px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .hc-step-navigation {
    flex-direction: column;
  }

  .hc-btn-next {
    margin-left: 0;
  }
}
