﻿.stepper-wrapper {
    margin: auto;
    display: flex;
    justify-content: space-between;
    max-width: 700px;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

@media (max-width: 768px) {
    .stepper-item {
        font-size: 12px;
    }
}

.stepper-item .step-name {
    color: #8a8a8a;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #8a8a8a;
    width: 100%;
    top: 13px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #8a8a8a;
    width: 100%;
    top: 13px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    margin-bottom: 6px;
    color: #565656;
    border: 2px solid #8a8a8a;
}

.stepper-item.active .step-name {
    color: #0077b2;
    font-weight: 700;
}

.stepper-item.active .step-counter {
    color: #0077b2;
    border-color: #0077b2;
}

.stepper-item.completed .step-counter {
    background-color: #0077b2;
    border-color: #0077b2;
    color: #fff;
}

.stepper-item.completed .step-name {
    color: #0077b2;
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #0077b2;
    width: 100%;
    top: 13px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

.new-customer-steps {
    color: #222222;
    font-size: 12px;
    line-height: 20px;
}

.new-customer-steps .steps-label {
    font-weight: 600;
}

.new-customer-steps .steps {
    font-weight: 400;
    text-align: center;
}
