/* Shared by both signup layouts; isolated from Bootstrap's breadcrumb styles. */
.breadcrumbs.signup-progress {
    clear: both;
    width: 100%;
    max-width: 680px;
    height: auto;
    margin: 16px 0 20px;
    padding: 0;
    overflow: visible;
    background: none;
    text-align: left;
    font-family: inherit;
}
.signup-progress .signup-progress-list {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.signup-progress .signup-progress-step {
    position: relative;
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0;
    padding: 15px 0 0;
    color: #64748b;
    background: none;
    border: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}
.signup-progress .signup-progress-step:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #e2e8f0;
}
.signup-progress .signup-progress-step.is-current:before,
.signup-progress .signup-progress-step.is-complete:before { background: var(--oc-brand, #2563eb); }
.signup-progress .signup-progress-number {
    position: relative;
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #dbe3ec;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.signup-progress .is-current { color: #142d49; font-weight: 700; }
.signup-progress .is-current .signup-progress-number { color: #fff; background: #142d49; border-color: #142d49; }
.signup-progress .is-complete .signup-progress-number { color: #087f8c; background: #eaf6f7; border-color: #d4ecee; }
.signup-progress .is-complete .signup-progress-number > span { opacity: 0; }
.signup-progress .is-complete .signup-progress-number:after {
    content: '';
    position: absolute;
    width: 9px;
    height: 5px;
    margin-top: -3px;
    border-left: 2px solid #087f8c;
    border-bottom: 2px solid #087f8c;
    transform: rotate(-45deg);
}
.signup-progress .signup-progress-label { min-width: 0; overflow-wrap: anywhere; }
/* Preserve the default layout's placement above its mobile purchase summary. */
#content-wrapper > .signup-progress { order: 2; }
@media (max-width: 560px) {
    .breadcrumbs.signup-progress { margin: 12px 0 16px; }
    .signup-progress .signup-progress-list { gap: 10px; }
    .signup-progress .signup-progress-step { flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 11px; font-size: 11px; }
    .signup-progress .signup-progress-number { flex-basis: 26px; width: 26px; height: 26px; }
}

@media (max-width: 400px) {
    .signup-progress .signup-progress-list[data-steps="4"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
    .signup-progress .signup-progress-list[data-steps="4"] .signup-progress-step { flex-direction: row; align-items: center; }
}
