/* ============================================================
   Stepper — reusable step indicator / wizard progress.
   Rendered by Views/Shared/_Stepper.ascx (+ Content/scripts/common/stepper.js).

   Per-circle state classes (set by stepper.js):
     .is-active  — the current step (filled + ring)
     .is-done    — a passed step (filled, shows a check)
     .is-error   — a failed/invalid step (red)
     (no class)  — an upcoming step (idle/grey)
============================================================ */
:root {
    --stepper-mobile-fg: #5a6770;
}

.stepper {
    --stepper-accent: #1d7fb8;
    --stepper-idle-bg: #e6ebee;
    --stepper-idle-fg: #9aa6ad;
    --stepper-active-ring: #c6e2f3;
    --stepper-label-on: #13314a;
    --stepper-line: #dfe5e9;
    --stepper-error: #d9534f;

    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
}

.stepper__step {
    display: flex;
    align-items: center;
}

.stepper__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stepper__circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--stepper-idle-bg);
    color: var(--stepper-idle-fg);
}

.stepper__circle.is-done,
.stepper__circle.is-active {
    background: var(--stepper-accent);
    color: #fff;
}

.stepper__circle.is-active {
    border: 3px solid var(--stepper-active-ring);
}

.stepper__circle.is-error {
    background: var(--stepper-error);
    color: #fff;
    border: none;
}

.stepper__label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--stepper-idle-fg);
    white-space: nowrap;
}

.stepper__label.is-on {
    color: var(--stepper-label-on);
}

.stepper__label.is-error {
    color: var(--stepper-error);
}

.stepper__line {
    width: 56px;
    height: 2px;
    background: var(--stepper-line);
    margin: 0 6px 20px;
    flex-shrink: 0;
}

.stepper__line.is-done {
    background: var(--stepper-accent);
}

.stepper__mobile {
    display: none;
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 600px) {
    .stepper {
        display: none;
    }

    .stepper__mobile {
        display: block;
        margin-bottom: 14px;
        text-align: center;
        font-size: 13px;
        font-weight: 700;
        color: var(--stepper-mobile-fg);
    }
}