﻿.steps {
    list-style: none;
    margin: 30px 0 5px 0;
    padding: 0;
    display: table;
    table-layout: fixed;
    width: 45%;
    max-width: 490px;
    height: fit-content;
    counter-reset: step;
}

    .steps > .step {
        position: relative;
        display: table-cell;
        text-align: center;
        font-size: 0.75rem;
        line-height: 1.5rem;
        color: #404040;
        font-size: 16;
        white-space: nowrap;
    }

        .steps > .step:before {
            counter-increment: step;
            content: counter(step);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: -20px auto;
            background: #83bccb;
            border: 25px solid #83bccb;
            color: #ffffff;
            width: 11px;
            height: 11px;
            line-height: 1.9rem;
            border-radius: 50%;
            position: relative;
            z-index: 1;
            font-weight: 500;
            font-size: 1rem;
            margin-bottom: 0.8125rem;
        }

        .steps > .step::after {
            content: '';
            position: absolute;
            display: block;
            width: 100%;
            height: 0.125rem;
            top: 0.3rem;
            left: 50%;
            border-bottom: dotted 2px #D9D9D9;
        }

        .steps > .step:last-child:after {
            display: none;
        }

        .steps > .step.is-complete {
            color: var(--text-second-color);
        }

        .steps > .step.is-active {
            color: var(--text-second-color);
        }

        .steps > .step.is-complete:before {
            content: '';
            color: var(--text-second-color);
            background: var(--text-second-color);
            border: 2px solid var(--text-second-color);
        }

        .steps > .step.is-complete:after {
            background: var(--text-second-color);
        }


        .steps > .step.is-active:before {
            border: 2px solid var(--text-second-color);
            background: var(--text-second-color);
        }

@media (max-width: 400px) {
    .steps > .step {
        font-size: 0.625rem;
    }
}

@media (max-width: 625px) {
    .steps {
        width: 100% !important;
    }

        .steps > .step:before {
            margin: -15px auto;
            border: 20px solid #83bccb;
            margin-bottom: 1rem;
        }
}
