.bt-job-progress {
    width: min(100% - 28px, 1240px);
    margin: 14px auto;
    overflow: hidden;
    border: 1px solid #3d3323;
    border-radius: 14px;
    background: #17130d;
    box-shadow: 0 8px 24px rgba(35, 27, 14, .12);
    color: #ffffff;
}

.bt-job-progress__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.bt-job-progress__step {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 0;
    min-height: 64px;
    padding: 10px 12px;
    border-inline-end: 1px solid #3d3323;
    color: #b7ad9d;
    background: #17130d;
}

.bt-job-progress__step:last-child {
    border-inline-end: 0;
}

.bt-job-progress__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #716653;
    border-radius: 50%;
    color: #d8d0c3;
    font-size: .72rem;
    font-weight: 850;
}

.bt-job-progress__text {
    min-width: 0;
}

.bt-job-progress__text strong,
.bt-job-progress__text small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-job-progress__text strong {
    color: inherit;
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.2;
}

.bt-job-progress__text small {
    margin-top: 2px;
    color: inherit;
    font-size: .63rem;
    line-height: 1.2;
}

.bt-job-progress__step.is-complete {
    color: #8ee0c7;
    background: #13231e;
}

.bt-job-progress__step.is-complete .bt-job-progress__number {
    color: #ffffff;
    border-color: #16785f;
    background: #16785f;
}

.bt-job-progress__step.is-current {
    color: #ffe18a;
    background: #2a2213;
    box-shadow: inset 0 -3px #d4af37;
}

.bt-job-progress__step.is-current .bt-job-progress__number {
    color: #17130d;
    border-color: #e2bd4e;
    background: #e2bd4e;
}

@media (min-width: 768px) {
    .bt-job-progress {
        width: min(100% - 48px, 1240px);
        margin-block: 18px;
    }

    .bt-job-progress__step {
        min-height: 68px;
        padding-inline: 16px;
    }

    .bt-job-progress__text strong {
        font-size: .84rem;
    }

    .bt-job-progress__text small {
        font-size: .68rem;
    }
}

@media (max-width: 479px) {
    .bt-job-progress__step {
        grid-template-columns: 1fr;
        grid-template-rows: 28px auto;
        justify-items: center;
        gap: 4px;
        min-height: 68px;
        padding: 8px 3px;
        text-align: center;
    }

    .bt-job-progress__text {
        width: 100%;
    }

    .bt-job-progress__text strong {
        font-size: .62rem;
    }

    .bt-job-progress__text small {
        font-size: .55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bt-job-progress *,
    .bt-job-progress *::before,
    .bt-job-progress *::after {
        transition: none !important;
        animation: none !important;
    }
}
