/* ============================================================
   UBUZIMAPLUS HRM-B7 PERFORMANCE + LEARNING
   ============================================================ */

#aquila-hrm-b7-performance-learning,
#aquila-hrm-b7-performance-learning *{
    box-sizing:border-box;
}

.b7-page{
    width:100%;
    padding:
        104px
        26px
        40px;
    background:#f7f8fa;
    color:#172033;
}

.b7-title{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
}

.b7-title h1{
    margin:5px 0 6px;
}

.b7-title p{
    margin:0;
    max-width:820px;
    color:#667085;
    font-size:11px;
    line-height:1.5;
}

.b7-kpis{
    display:grid;
    grid-template-columns:
        repeat(
            7,
            minmax(0,1fr)
        );
    gap:8px;
    margin-top:12px;
}

.b7-kpis article{
    min-width:0;
    padding:12px 13px;
    border:1px solid #e1e6ed;
    border-radius:9px;
    background:#fff;
}

.b7-kpis span{
    display:block;
    color:#667085;
    font-size:8px;
    font-weight:600;
}

.b7-kpis strong{
    display:block;
    margin-top:4px;
    font-size:19px;
}

.b7-kpis small{
    display:block;
    margin-top:3px;
    color:#98a2b3;
    font-size:7px;
    line-height:1.35;
}

.b7-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:12px;
    padding:5px;
    border:1px solid #e1e6ed;
    border-radius:8px;
    background:#fff;
}

.b7-tabs button{
    min-height:31px;
    padding:6px 12px;
    border:0;
    border-radius:6px;
    background:transparent;
    color:#667085;
    font:inherit;
    font-size:9px;
    font-weight:600;
    cursor:pointer;
}

.b7-tabs button.is-active{
    background:#eef3ff;
    color:#3156a3;
}

.b7-panel{
    margin-top:12px;
    overflow:hidden;
    border:1px solid #e1e6ed;
    border-radius:9px;
    background:#fff;
}

.b7-panel-head{
    padding:13px 15px;
    border-bottom:1px solid #edf0f4;
}

.b7-panel-head h2{
    margin:0;
    font-size:13px;
}

.b7-panel-head p{
    margin:4px 0 0;
    max-width:880px;
    color:#7a8494;
    font-size:9px;
    line-height:1.45;
}

.b7-form{
    display:grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );
    gap:9px;
    padding:13px 14px;
    border-bottom:1px solid #edf0f4;
}

.b7-form.is-compact{
    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );
    background:#fbfcfd;
}

.b7-form label{
    display:block;
    margin-bottom:4px;
    color:#667085;
    font-size:8px;
    font-weight:700;
}

.b7-form input,
.b7-form select,
.b7-form textarea{
    width:100%;
    min-height:33px;
    padding:7px 8px;
    border:1px solid #d5dbe5;
    border-radius:6px;
    background:#fff;
    color:#344054;
    font:inherit;
    font-size:9px;
}

.b7-form textarea{
    min-height:72px;
    resize:vertical;
}

.b7-form-wide{
    grid-column:span 2;
}

.b7-form-actions{
    display:flex;
    align-items:end;
}

.b7-button{
    min-height:30px;
    padding:6px 10px;
    border:1px solid #d4dae4;
    border-radius:6px;
    background:#fff;
    color:#344054;
    font:inherit;
    font-size:8px;
    font-weight:600;
    cursor:pointer;
}

.b7-button.is-primary{
    border-color:#3156a3;
    background:#3156a3;
    color:#fff;
}

.b7-actions{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
}

.b7-table-wrap{
    width:100%;
    overflow-x:auto;
}

.b7-table{
    width:100%;
    border-collapse:collapse;
    font-size:9px;
}

.b7-table th{
    padding:8px 10px;
    border-bottom:1px solid #e6eaf0;
    background:#f8fafc;
    color:#667085;
    text-align:left;
    white-space:nowrap;
    font-size:8px;
}

.b7-table td{
    padding:9px 10px;
    border-bottom:1px solid #eef1f5;
    color:#344054;
    vertical-align:middle;
}

.b7-table td small{
    display:block;
    margin-top:2px;
    color:#98a2b3;
    font-size:8px;
}

.b7-status{
    display:inline-flex;
    padding:3px 7px;
    border-radius:999px;
    background:#f2f4f7;
    color:#475467;
    font-size:7px;
    font-weight:700;
    text-transform:capitalize;
}

.b7-status.is-approved,
.b7-status.is-active,
.b7-status.is-completed,
.b7-status.is-valid,
.b7-status.is-passed{
    background:#ecfdf3;
    color:#027a48;
}

.b7-status.is-draft,
.b7-status.is-submitted,
.b7-status.is-enrolled,
.b7-status.is-in_progress{
    background:#fffaeb;
    color:#b54708;
}

.b7-status.is-cancelled,
.b7-status.is-failed,
.b7-status.is-expired{
    background:#fef3f2;
    color:#b42318;
}

.b7-empty{
    padding:15px;
    color:#667085;
    font-size:9px;
    line-height:1.5;
}

.b7-control-note{
    margin-top:12px;
    padding:11px 13px;
    border:1px solid #dfe5ed;
    border-radius:8px;
    background:#fff;
    color:#667085;
    font-size:9px;
    line-height:1.5;
}

.b7-toast{
    position:fixed;
    z-index:100000;
    right:20px;
    bottom:20px;
    max-width:360px;
    padding:9px 12px;
    border:1px solid #b7dfc7;
    border-radius:7px;
    background:#ecfdf3;
    color:#027a48;
    box-shadow:
        0 10px 28px
        rgba(16,24,40,.12);
    font-size:9px;
    font-weight:600;
}

.b7-toast.is-error{
    border-color:#efc4c4;
    background:#fff5f5;
    color:#b42318;
}

@media (max-width:1500px){

    .b7-kpis{
        grid-template-columns:
            repeat(
                4,
                minmax(0,1fr)
            );
    }

}

@media (max-width:1000px){

    .b7-form,
    .b7-form.is-compact{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

    .b7-kpis{
        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            );
    }

}

@media (max-width:768px){

    .b7-page{
        padding:
            92px
            14px
            30px;
    }

    .b7-kpis{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

}

@media (max-width:430px){

    .b7-page{
        padding:
            86px
            10px
            26px;
    }

    .b7-title{
        flex-direction:column;
    }

    .b7-kpis,
    .b7-form,
    .b7-form.is-compact{
        grid-template-columns:
            minmax(
                0,
                1fr
            );
    }

    .b7-form-wide{
        grid-column:auto;
    }

    .b7-tabs button{
        flex:
            1 1
            30%;
    }

}
