﻿:root {
    --line-border-fill: #D81E05;
    --line-border-empty: #9CB0BC;
}

.progress-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0 30px 30px;
}

    .progress-container::before {
        content: ""; /* Mandatory with ::before */
        background-color: var(--line-border-empty);
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 4px;
        width: 100%;
        z-index: -1;
    }

.progress {
    background-color: var(--line-border-fill);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 0%;
    z-index: -1;
    transition: 0.4s ease;
}

.circle {
    background-color: var(--line-border-empty);
    color: var(--line-border-empty);
    border-radius: 50%;
    height: 24px;
    width: 24px;
    transition: 0.4s ease;
}

.circle-text {
    text-align: center;
    position: absolute;
    top: -30px;
    color: #526570;
    font-size: 16px;
    line-height: 100%;
    font-weight: bold;
    margin-left: 0.3rem;
    display: flex;
    align-items: center;
}

.circle:last-child .circle-text {
    display: none;
}

.circle.active {
    border-color: var(--line-border-fill);
    background-color: var(--line-border-fill);
}

    .circle.active .circle-text {
        color: #2D373D;
    }

@media only screen and (max-width: 1024px) {
    .circle {
        border-radius: 0;
        height: 4px;
        width: 4px;
        transition: 0.4s ease;
    }

    .progress-container .circle {
        display: none;
    }

        .progress-container .circle.last-active {
            display: block;
        }
}

.progress-container-circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -10px;
    height: 100%;
}

#progress-spinner {
    border-radius: 50%;
    height: 42px;
    width: 42px;
}

#middle-circle {
    position: absolute;
    border-radius: 50%;
    height: 34px;
    width: 34px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #2D373D;
    letter-spacing: 0px;
    line-height: 150%;
    line-height: 24px;
    font-weight: bold;
}
