

.timeline {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
  gap: 0px;
  padding: 1em 0;
  list-style-type: none;
  position: relative;
  @media (max-width: 414px) {
    flex-direction: column;
  }
  & .timeline-step{
    width: 123px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7C7C7C;
    position: relative;
    gap: 10px;

    &::after{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      background-color: #7C7C7C;
      height: 2px;
      width: 100%;
      transition: background-color .5s ease-in;
      @media (max-width: 414px) {
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        height: 100%;
        width: 2px;
      }
    }
    & .timeline-check{
      background-color: #DFDFDF;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      font-size: small;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    &.is-progress{
      color: initial;
      &::after{
        background-color: #005392;
      }
      .timeline-check{
        background-color: #005392;
        color: white;
      }
    }
    &.is-success{
      .timeline-check{
        visibility: hidden;
        &::after{
        content: "\f00c" !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900;
        border-radius: 50%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        visibility: visible;
        color: #005392;
        margin-right: 5px;
        background-color: #D7EEFF;
        width: 20px;
        height: 20px;
        padding: .5rem;
        font-size: small;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color .7s ease-out;
        }
      }
      &::after{
        background-color: #005392;
      }
    }
  }
}
