
/*progressbar*/
.form-steps-indicator {
    margin-bottom: 30px;
    overflow: hidden;
    text-align: center;
    /*CSS counters to number the steps*/
    counter-reset: step;
    display:flex;
}

.form-steps-indicator li {
    list-style-type: none;
    color: var(--gray);
    font-size: 12px;
    width: 33.33%;
    position: relative;
}

.form-steps-indicator li:before {
    content: counter(step);
    counter-increment: step;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--gray);
    border-radius: 25px;
    margin: 0 auto 10px auto;
    position:relative;
    z-index:1;
}

/*progressbar connectors*/
.form-steps-indicator li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: var(--gray);
    position: absolute;
    left: -50%;
    top: 18px;
    z-index: 0; /*put it behind the numbers*/
}

.form-steps-indicator li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
.form-steps-indicator li.current:before, .form-steps-indicator li.current:after, .form-steps-indicator li.completed:before, .form-steps-indicator li.completed:after {
    background: var(--success);
    color: white;
}
.form-steps-indicator li.current:before {
    box-shadow: 0px 0px 0px 10px rgba(180, 180, 40, 0.2);
}
