/* FakeTracker Bar - v1.0.1 */

/* ── Grid layout: col-1 = dot+line | col-2 = text ─────────── */
.ft-tracker {
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 16px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Vertical line — spans full height in col-1 ───────────── */
.ft-track-line-wrap {
    grid-column: 1;
    grid-row: 1;
    position: relative;
}

.ft-track-line {
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #D9D9D9;
    z-index: 0;
}

/* ── Steps list — col-2 ────────────────────────────────────── */
.ft-steps {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

/* ── Single step row ───────────────────────────────────────── */
.ft-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

/*
 * Pull the dot back into col-1 using negative margin.
 * dot-size(24) + column-gap(16) = 40px
 */
.ft-dot-wrap {
    flex-shrink: 0;
    width: 24px;
    margin-left: -40px;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    padding-top: 2px;
    position: relative;
    z-index: 1;
}

/* ── Dot circle ────────────────────────────────────────────── */
.ft-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.35s ease;
    flex-shrink: 0;
}

.ft-dot.is-active   { background-color: #4CAF50; }
.ft-dot.is-scrolled { background-color: #1a1a1a; }

/* ── Icon ──────────────────────────────────────────────────── */
.ft-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}

.ft-icon-wrap svg {
    width: 12px;
    height: 12px;
    fill: #ffffff;
    display: block;
}

/* ── Text ──────────────────────────────────────────────────── */
.ft-step-content {
    flex: 1;
    min-width: 0;
}

.ft-step-heading {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ft-step-desc {
    font-size: 13px;
    color: #555555;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* ── Active step ───────────────────────────────────────────── */
.ft-step.is-active .ft-step-heading { color: #22c55e; }
.ft-step.is-active .ft-step-desc    { color: #22c55e; font-style: italic; }
