/* Shared table system — based on the Anti-Ragging Committee table. */
table:not([role="presentation"]) {
    display: table;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 1px solid #e1e1e1 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: #fff;
    color: #111;
}

table:not([role="presentation"]) :is(th, td) {
    padding: 20px 24px !important;
    border: 1px solid #e1e1e1 !important;
    vertical-align: middle;
    text-align: left;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

table:not([role="presentation"]) thead th,
table:not([role="presentation"]) tr:first-child > th {
    background: #3e3d8b !important;
    color: #fff !important;
    font-weight: 700;
    word-break: normal;
    overflow-wrap: normal;
}

table:not([role="presentation"]) tr > :first-child {
    min-width: 80px;
}

table:not([role="presentation"]) tbody tr:nth-child(even) > td {
    background: #f7f7f7 !important;
}

table:not([role="presentation"]) tbody tr:nth-child(odd) > td {
    background: #fff !important;
}

table:not([role="presentation"]) a {
    color: #3e3d8b;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 8px 8px 0 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
    table:not([role="presentation"]) :is(th, td) {
        padding: 14px 16px !important;
        font-size: 16px !important;
    }

    .table-responsive > table:not([role="presentation"]) {
        min-width: 680px;
    }
}
