.stage-progress {
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    padding: 0.8rem 1rem;

    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.stage-list {
    display: flex;
    align-items: flex-start;

    width: min(650px, 100%);
    margin: 0;
    padding: 0;

    list-style: none;
}

.stage-list li {
    position: relative;
    flex: 1;
    text-align: center;
}

.stage-list li:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 7px;
    left: 50%;
    z-index: -1;

    width: 100%;
    height: 2px;

    background: #d8d8d8;
}

.stage-list li.completed:not(:last-child)::after {
    background: #333;
}

.stage-list li {
    position: relative;
    z-index: 1;

    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;

    color: #888;
    font-size: 0.8rem;
    text-align: center;
}

.stage-dot {
    width: 16px;
    height: 16px;

    background: white;
    border: 2px solid #c5c5c5;
    border-radius: 50%;
}

.stage-list li.completed .stage-dot {
    background: #333;
    border-color: #333;
}

.stage-list li.completed  {
    color: #555;
}

.stage-list li.current .stage-dot {
    background: white;
    border: 5px solid #333;
}

.stage-list li.current  {
    color: #111;
    font-weight: 600;
}

.stage-arrow {
    display: grid;
    place-items: center;
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    color: #222;
    border: 2px solid #FFB000;
    border-radius: 50%;

    font-size: 1.1rem;
    text-decoration: none;
}

.stage-arrow:hover {
    background: #f3f3f3;
}

.stage-arrow.disabled {
    opacity: 0.25;
    pointer-events: none;
}

@media (max-width: 600px) {
    .stage-progress {
        gap: 0.4rem;
        padding-inline: 0.5rem;
    }

    .stage-label {
        font-size: 0.7rem;
    }

    .stage-arrow {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 420px) {
    .stage-label {
        display: none;
    }
}