.data_table thead tr {
    /*background: #f3f3f9;*/
    text-transform: uppercase;
    font-weight: bolder;
}
.data_table tbody tr td:last-child {
    width: 160px;
}
.data_table tbody tr td:first-child {
    width: 30px;
}
.data_table tbody tr td:nth-child(2){
    width: 50px;
}
/*.table thead tr {*/
/*    background: #f3f3f9;*/
/*    text-transform: uppercase;*/
/*    font-weight: bolder;*/
/*}*/
.table tbody tr td:last-child a {
    margin-right: 5px;
}
.table>:not(caption)>*>*{
    padding: .40rem .6rem;
}
.table>:not(caption)>*>*{
    padding: .40rem .6rem;
}
/*.table tbody tr:nth-child(odd) {*/
/*    background-color: #ffffff;*/
/*}*/

/*.table tbody tr:nth-child(even) {*/
/*    background-color: #fefcfc;*/
/*}*/

.table tbody tr:hover {
    background-color: rgba(226, 248, 252, 0.08);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    border-radius: 0.25rem;
    color: #fff;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

html[data-bs-theme="dark"] .data_table th,
html[data-bs-theme="dark"] .data_table td {
    background-color: #212529;
    color: #fff;
    border-color: #212529;
}
html[data-bs-theme="dark"] .data_table tbody tr.tr_active {
    background: #ccced5 !important;
    color: #000 !important;
}
.selected-row {
    background-color: #657aa8 !important;
    color: #ffffff !important;
}

html[data-topbar="dark"] .student-bars {
    background-color: #292e32;
    color: #fff;
}
html[data-bs-theme="light"] .student-bars {
    color: #fefcfc;
}

/* ─────────────────────────────────────────────────────────────
   Global Theme Fallbacks & Page Content Topbar Clearance Fix
   ───────────────────────────────────────────────────────────── */
:root {
    --vz-grid-gutter-width: 1.5rem !important;
    --zj-grid-gutter-width: 1.5rem !important;
    --vz-vertical-menu-width: 250px;
    --vz-vertical-menu-width-md: 180px;
    --vz-vertical-menu-width-sm: 70px;
}

/* Ensure .page-content always clears the 70px fixed topbar */
.page-content {
    padding-top: calc(70px + var(--vz-grid-gutter-width, 1.5rem)) !important;
    padding-bottom: 60px !important;
    padding-left: calc(var(--vz-grid-gutter-width, 1.5rem) * 0.5) !important;
    padding-right: calc(var(--vz-grid-gutter-width, 1.5rem) * 0.5) !important;
}

@media (max-width: 767.98px) {
    .page-content {
        padding-top: calc(70px + 1rem) !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Horizontal & Other layouts */
[data-layout="horizontal"] .page-content {
    padding-top: calc(70px + var(--vz-grid-gutter-width, 1.5rem)) !important;
}

[data-layout="semibox"] .page-content {
    padding-top: calc(70px + var(--vz-grid-gutter-width, 1.5rem) * 2) !important;
}
