@import '_content/BLCore.Web.UI/BLCore.Web.UI.0o9dglc8mw.bundle.scp.css';
@import '_content/Cloud21.App.UI/Cloud21.App.UI.blqkx2qia2.bundle.scp.css';
@import '_content/Cloud21.EstateManagement/Cloud21.EstateManagement.2h6degnseb.bundle.scp.css';
@import '_content/Cloud21.Web.Shared/Cloud21.Web.Shared.5cm1emtz6a.bundle.scp.css';

/* /Components/Pages/Portal/Assessments/View/BuildingHistory/BuildingHistory.razor.rz.scp.css */
.building-history-card[b-6uxa9q1qhe] {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.9rem 1rem 0.75rem;
    background: #fff;
}

.building-history-card--viewing[b-6uxa9q1qhe] {
    border-color: var(--portal-accent, #c41e3a);
    box-shadow: inset 3px 0 0 var(--portal-accent, #c41e3a);
    background: #fffafa;
}

.building-history-card__head[b-6uxa9q1qhe] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.building-history-card__ref[b-6uxa9q1qhe] {
    font-weight: 700;
    font-size: 1rem;
}

.building-history-card__ref a[b-6uxa9q1qhe] {
    color: inherit;
    text-decoration: none;
}

.building-history-card__ref a:hover[b-6uxa9q1qhe] {
    text-decoration: underline;
}

.building-history-card__pills[b-6uxa9q1qhe] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.building-history-pill[b-6uxa9q1qhe] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.building-history-pill--viewing[b-6uxa9q1qhe] {
    background: var(--portal-accent, #c41e3a);
    border-color: var(--portal-accent, #c41e3a);
    color: #fff;
}

.building-history-card__foot[b-6uxa9q1qhe] {
    margin-top: 0.35rem;
}

.bh-rail[b-6uxa9q1qhe] {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.bh-rail__step[b-6uxa9q1qhe] {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bh-rail__head[b-6uxa9q1qhe] {
    position: relative;
    width: 100%;
    height: 1.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.bh-rail__dot[b-6uxa9q1qhe] {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    color: #94a3b8;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
}

.bh-rail__step--done .bh-rail__dot[b-6uxa9q1qhe] {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.bh-rail__connector[b-6uxa9q1qhe] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    background: #e2e8f0;
    z-index: 1;
}

.bh-rail__connector--done[b-6uxa9q1qhe] {
    background: #86efac;
}

.bh-rail__name[b-6uxa9q1qhe] {
    font-weight: 600;
    font-size: 0.72rem;
}

.bh-rail__date[b-6uxa9q1qhe],
.bh-rail__gap[b-6uxa9q1qhe] {
    font-size: 0.68rem;
    line-height: 1.25;
    color: #64748b;
}

.bh-rail__gap[b-6uxa9q1qhe] {
    min-height: 1rem;
}

@media (max-width: 576px) {
    .bh-rail[b-6uxa9q1qhe] {
        flex-wrap: wrap;
        row-gap: 0.85rem;
    }

    .bh-rail__step[b-6uxa9q1qhe] {
        flex: 1 1 45%;
    }

    .bh-rail__connector[b-6uxa9q1qhe] {
        display: none;
    }
}
/* /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.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.55rem;
}

.portal-lifecycle-rail__dot[b-tr2k4ng6dx] {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    color: #94a3b8;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    line-height: 1;
}

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

.portal-lifecycle-rail__step--current .portal-lifecycle-rail__dot[b-tr2k4ng6dx] {
    background: var(--portal-accent, #c41e3a);
    border-color: var(--portal-accent, #c41e3a);
    color: #fff;
    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;
    }
}
