/* ==========================================
   MAMA TERESA SCHOOLS ERP
   Tables Styles
========================================== */

/* Tables */

.table {
    --bs-table-color: var(--smis-text);
}

.table thead th {
    background-color: var(--smis-surface-soft);
    color: var(--smis-muted);
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 0;
}

.table tbody tr {
    transition: background-color .2s ease;
}

.table tbody tr:hover {
    background-color: rgba(0,0,0,.02);
}

.table td,
.table th {
    vertical-align: middle;
    word-break:normal;
}
.table-responsive{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-natural{min-width:62rem}.table-wide{min-width:78rem}.table-description{min-width:18rem;white-space:normal;overflow-wrap:break-word}.cell-nowrap,.table .badge,.table .btn{white-space:nowrap}.cell-center{text-align:center;vertical-align:middle!important}.cell-compact{width:1%;white-space:nowrap}.cell-name{min-width:12rem;white-space:normal;overflow-wrap:break-word}.cell-actions{min-width:19rem}.table-action-group{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;flex-wrap:wrap}.table-action-group form{margin:0}.table-secondary-action{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;flex:1 1 100%}.table-secondary-action .form-control{width:12rem;min-width:12rem}.table form{max-width:100%}
.grading-scale-table th:nth-child(-n+4),.grading-scale-table td:nth-child(-n+4){text-align:center;vertical-align:middle;white-space:nowrap}.grading-scale-table th:nth-child(4),.grading-scale-table td:nth-child(4){min-width:11rem;white-space:normal}.grading-scale-table th:nth-child(5),.grading-scale-table td:nth-child(5),.grading-scale-table th:nth-child(6),.grading-scale-table td:nth-child(6){min-width:18rem;white-space:normal;overflow-wrap:break-word}
.grading-scale-table{min-width:78rem}.grading-scale-table .grading-achievement{min-width:11rem}.grading-scale-table .grading-description,.grading-scale-table .grading-comment{min-width:18rem;text-align:left;white-space:normal}.assessment-components-table{min-width:46rem}.assessment-components-table th:not(:first-child),.assessment-components-table td:not(:first-child){text-align:center;white-space:nowrap}
.exams-table{min-width:66rem}.exams-table th:nth-child(1),.exams-table td:nth-child(1){width:22%;min-width:12rem}.exams-table th:nth-child(2),.exams-table td:nth-child(2),.exams-table th:nth-child(3),.exams-table td:nth-child(3),.exams-table th:nth-child(4),.exams-table td:nth-child(4),.exams-table th:nth-child(5),.exams-table td:nth-child(5),.exams-table th:nth-child(6),.exams-table td:nth-child(6){width:1%;white-space:nowrap}.exams-table th:last-child,.exams-table td:last-child{min-width:21rem}.grading-scale-table{min-width:68rem}.grading-scale-table .grading-description,.grading-scale-table .grading-comment{min-width:15rem}.assessment-components-table{table-layout:auto;width:100%;min-width:36rem}.assessment-components-table th:first-child,.assessment-components-table td:first-child{min-width:13rem;width:46%;white-space:normal;overflow-wrap:break-word}.assessment-components-table th:not(:first-child),.assessment-components-table td:not(:first-child){min-width:6.5rem;text-align:center;vertical-align:middle;white-space:nowrap}
@media(max-width:767.98px){.table-responsive>.table{font-size:.875rem}.table td,.table th{padding:.6rem}.tems-pagination{overflow-wrap:anywhere}}
.grading-management-table{min-width:52rem}.grading-management-table th,.grading-management-table td{padding:.55rem .7rem;vertical-align:middle}.grading-management-table th{white-space:nowrap}.grading-management-table th:nth-child(2),.grading-management-table td:nth-child(2){width:5rem;text-align:center}.grading-management-table th:nth-child(3),.grading-management-table td:nth-child(3){width:9rem;text-align:center}.grading-management-table th:last-child,.grading-management-table td:last-child{width:7rem}.grading-edit-row>td{padding:0!important;background:var(--smis-surface-soft)}.grading-edit-row .form-label{margin-bottom:.2rem}.grading-edit-row form{max-width:none}
