/* Card: hauteur fixe */
.checklist-card {
    height: 135px; /* ajuste */
}

/* Card-body en flex pour répartir et contrôler */
.checklist-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header garde sa hauteur naturelle */
.checklist-card-header {
    flex: 0 0 auto;
}

/* KPI bloc fixe (réserve une zone stable) */
.checklist-kpi {
    flex: 0 0 auto;
}

/* Badges: prend le reste, et scroll si ça déborde */
.checklist-badges {
    flex: 1 1 auto;
    overflow: auto; /* scroll vertical si trop de badges */
    align-content: flex-start; /* évite un centrage étrange */
    padding-right: 4px; /* petit confort avec scrollbar */
}


/* Card: hauteur fixe */
.detail-card {
    height: 260px; /* ajuste */
}

/* Card-body en flex pour répartir et contrôler */
.detail-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header garde sa hauteur naturelle */
.detail-card-header {
    flex: 0 0 auto;
}

/* KPI bloc fixe (réserve une zone stable) */
.detail-kpi {
    flex: 0 0 auto;
}

/* Badges: prend le reste, et scroll si ça déborde */
.detail-badges {
    flex: 1 1 auto;
    overflow: auto; /* scroll vertical si trop de badges */
    align-content: flex-start; /* évite un centrage étrange */
    padding-right: 4px; /* petit confort avec scrollbar */
}


.progress80-wrapper{
    position: relative;
}

/* zone 80-100 en vert clair (derriere) */
.progress80-wrapper::after{
    content: "";
    position: absolute;
    top: 0;
    left: 80%;
    width: 20%;
    height: 100%;
    background: rgba(25, 135, 84, 0.15); /* vert Bootstrap (success) */
    z-index: 0;
    pointer-events: none;
}

/* la progress (et donc la barre bleue) au-dessus du fond vert */
.progress80-wrapper .progress{
    position: relative;
    z-index: 1;
}

/* trait rouge au-dessus de tout */
.progress80-marker{
    position: absolute;
    top: 0;
    left: 80%;
    transform: translateX(-50%);
    height: 100%;
    width: 2px;
    background: #dc3545;  /* rouge Bootstrap (danger) */
    z-index: 2;
    pointer-events: none;
}





