.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  
    @media (max-width: 768px) {
      font-size: 12px;
    }
  }

 .stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
  }
  
  .stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
  }
  
  .stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    margin-bottom: 6px;
  }
  .stepper-item.active {
    font-weight: bold;
  }
  
  .stepper-item.completed .step-counter {
    background-color:  #128bfc;
  }
/*
 .stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid  #128bfc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
  }*/

  .stepper-item.completed.ok::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid  #128bfc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
  }

 /*.stepper-item.completed::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid  #128bfc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
  }*/


  .stepper-item:first-child::before {
    content: none;
  }
  .stepper-item:last-child::after {
    content: none;
  }

  .bg-custom {
    background:  linear-gradient(120deg, #556cdc, #128bfc, #18bef1);
  }
  .border-custom {
    border-color: #556cdc, !important;
    border-top-color: #556cdc!important;
    border-right-color: #128bfc !important;
    border-bottom-color: #18bef1!important;
    border-left-color: #556cdc !important;

  }
  
  .form-control:focus {
    border-color: #a1e6f7;
    box-shadow: 0 0 0 0.2rem rgba(40, 106, 167, 0.25);
} 
  .custom-file-label {
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right:75px;
  }

  .custom-form-file{
    display: block;
    width: 100%;
    color: #495057;
    appearance: none;
    background-color: white;
    background-clip: padding-box;
    overflow: hidden;
    border: 1px solid #f2f2f2;
    font-size: small;
    border-radius: 5px;
    line-height: 24px;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
  }
  .form-control[type=file] {
    padding: 6px;
  }

  /* spinner */
  #spinner-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
  }

  #spinner {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 50%;
  }

  #spinner::before {
    content: "";
    display: block;
    width: 3rem;
    height: 3rem;
    border: 5px solid #007bff;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }