@import '_content/BLCore.Web.UI/BLCore.Web.UI.0o9dglc8mw.bundle.scp.css';
@import '_content/Cloud21.App.UI/Cloud21.App.UI.9ipue991wv.bundle.scp.css';
@import '_content/Cloud21.Web.Shared/Cloud21.Web.Shared.5hjvpj0qjq.bundle.scp.css';

/* /Components/Pages/Portal/Assessments/View/Summary/AssessmentLifecycleCard.razor.rz.scp.css */
/* Full-width equal columns; dots on a track row so the line never crosses labels */
.portal-lifecycle-rail[b-tr2k4ng6dx] {
    display: flex;
    width: 100%;
    justify-content: stretch;
    align-items: flex-start;
    gap: 0;
}

.portal-lifecycle-rail__step[b-tr2k4ng6dx] {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Track row: centered dot + line from mid-step to next mid-step */
.portal-lifecycle-rail__head[b-tr2k4ng6dx] {
    position: relative;
    width: 100%;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
}

.portal-lifecycle-rail__dot[b-tr2k4ng6dx] {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    margin: 0;
}

.portal-lifecycle-rail__step--done .portal-lifecycle-rail__dot[b-tr2k4ng6dx] {
    background: #16a34a;
    border-color: #16a34a;
}

.portal-lifecycle-rail__step--current .portal-lifecycle-rail__dot[b-tr2k4ng6dx] {
    background: var(--portal-accent, #c41e3a);
    border-color: var(--portal-accent, #c41e3a);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.18);
}

/* Line starts at center of this step and runs to center of the next */
.portal-lifecycle-rail__connector[b-tr2k4ng6dx] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    background: #e2e8f0;
    z-index: 1;
    pointer-events: none;
}

.portal-lifecycle-rail__connector--done[b-tr2k4ng6dx] {
    background: #86efac;
}

.portal-lifecycle-rail__meta[b-tr2k4ng6dx] {
    margin-left: 0;
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.portal-lifecycle-rail__name[b-tr2k4ng6dx] {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
}

.portal-lifecycle-rail__date[b-tr2k4ng6dx],
.portal-lifecycle-rail__actor[b-tr2k4ng6dx] {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 0.15rem;
}

.portal-lifecycle-rail__actor[b-tr2k4ng6dx] {
    word-break: break-word;
}

.portal-lifecycle-actions .btn[b-tr2k4ng6dx] {
    min-width: 8.5rem;
}

@media (max-width: 576px) {
    .portal-lifecycle-rail[b-tr2k4ng6dx] {
        flex-wrap: wrap;
        row-gap: 1.25rem;
    }

    .portal-lifecycle-rail__step[b-tr2k4ng6dx] {
        flex: 1 1 45%;
    }

    .portal-lifecycle-rail__connector[b-tr2k4ng6dx] {
        display: none;
    }
}
