/* PPWR Legend */
.ppwr-legend-inner-row {
    margin: -9px -12px -15px -12px;
    align-items: stretch;
}

.ppwr-legend-inner-row > div:first-child {
    display: flex;
    padding-left: 0;
    min-width: 0;
}

.ppwr-legend-inner-row > div:last-child {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
}

@media (max-width: 1399.98px) {
    .ppwr-legend-inner-row > div.col-md-5,
    .ppwr-legend-inner-row > div.col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ppwr-legend-inner-row > div.col-md-2 {
        display: none;
    }

    .ppwr-legend-left {
        border-right: none;
    }
}

.ppwr-legend-left {
    position: relative;
    border-right: 1px solid #DEE2E6;
    padding: 10px 10px 12px 10px;
    margin: -1px 0 5px 0;
}

.ppwr-legend-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.ppwr-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ppwr-legend-table {
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid #ffffff;
}

.ppwr-legend-th {
    font-weight: 700;
    height: 30px;
    min-width: 50px;
    max-height: 50px;
    padding: 1px 15px;
    border-right: 1px solid #e8e8e8;
    text-align: left;
    white-space: nowrap;
    background-color: #F8F9FA;
}

.ppwr-legend-th:last-child {
    border-right: none;
}

.ppwr-legend-th--normal {
    font-weight: 400;
}

.ppwr-legend-level {
    height: 30px;
    min-width: 50px;
    max-height: 50px;
    padding: 1px 15px;
    font-weight: 400;
    white-space: nowrap;
    border-right: 1px solid #e8e8e8;
    background-color: #FFFFFF;
}

.ppwr-legend-cell {
    height: 30px;
    min-width: 50px;
    max-height: 50px;
    padding: 1px 15px;
    text-align: center;
    border-right: 1px solid #e8e8e8;
    background-color: #FFFFFF;
}

.ppwr-legend-cell:last-child {
    border-right: none;
}

.ppwr-badge {
    display: inline-block;
    max-height: 50px;
    padding: 0 10px 1px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 24px;
}

.ppwr-badge--completed {
    background-color: #d4f5e2;
    color: #1a7a42;
}

.ppwr-badge--incomplete {
    background-color: #fce4e4;
    color: #c0392b;
}

.ppwr-badge--nothave {
    background-color: #fdecd3;
    color: #b9770e;
}
