  @keyframes dots {
    0% {
      content: "";
    }

    33% {
      content: ".";
    }

    66% {
      content: "..";
    }

    100% {
      content: "...";
    }
  }

  .dots::after {
    display: inline-block;
    animation: dots 1.2s steps(3, end) infinite;
    content: "";
  }

  /* Step Items */
  .step-item {
    margin-bottom: 4rem;
    transition: all 0.3s ease;
  }

  .step-item.retrying {
    margin-bottom: 5rem;
  }

  .step-item.retrying::after {
    top: 120%;
  }

  .step-item::after {
    content: "";
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 35px;
    background-color: #E0E0E0;
    transition: background-color 0.4s ease;
  }

  .step-item:last-child::after {
    display: none;
  }

  /* Text */
  .step-text {
    font-size: 18px;
    color: #999;
    font-weight: 500;
  }

  /* Subtext hidden initially */
  .sub-text {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    margin-top: 4px;
    display: none;
  }

  /* Active Step */
  .step-item.active .step-text {
    color: #333;
    font-weight: 600;
  }

  /* Verified Step */
  .step-item.verified .step-text {
    color: #1BBD61;
    font-weight: 600;
    font-size: 20px;
  }

  .step-item.verified .sub-text {
    display: block;
    color: #1BBD61;
  }

  .step-item.failed .step-text {
    color: #dc3545;
    font-weight: 600;
    font-size: 20px;
  }

  .step-item.failed .sub-text {
    display: block;
    color: #dc3545;
  }

  .step-item.failed::after {
    background-color: #dc3545;
  }

  .step-item.verified::after {
    background-color: #1BBD61;
  }

  .step-item.verified .step-text i {
    color: #1BBD61;
  }

  /* Icons */
  .step-text i {
    margin-right: 6px;
    vertical-align: middle;
    font-size: 22px;
  }

  /* Center the step text */
  .step-item .d-flex {
    position: relative;
  }

  .step-item .step-text {
    flex: 1;
    text-align: center !important;
  }

  /* Keep retry button on right */
  .step-item .retry-btn {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-50%);
    margin-top: 18px;
    /* adjust vertically if needed */
  }

  .status-icon {
    width: 20px;
    /* icon ki jaga fix */
    visibility: hidden;
    /* pehle chupa lo */
  }

  .verified .status-icon,
  .failed .status-icon {
    visibility: visible;
    /* result ke baad dikh jaye */
  }

  .retry-input {
    justify-content: center;
    display: flex;
    align-items: center;
    width: 50%;
    margin: auto;
  }