.mobile-table-pagination {
    display: none;
}

@media (max-width: 767.98px) {
    .mobile-card-table-wrapper {
        max-height: none !important;
        min-height: 0 !important;
        height: auto !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    table.mobile-card-table {
        display: block;
        width: 100%;
        margin-bottom: 0;
        border: 0;
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
    }

    table.mobile-card-table > thead {
        display: none !important;
    }

    table.mobile-card-table > tbody,
    table.mobile-card-table > tfoot {
        display: block;
        width: 100%;
    }

    table.mobile-card-table > tbody > tr {
        display: block;
        width: 100%;
        margin: 0 0 .85rem;
        overflow: hidden;
        border: 1px solid #dfe4ea;
        border-radius: .75rem;
        background: #fff;
        box-shadow: 0 .15rem .45rem rgb(25 42 70 / 8%);
    }

    table.mobile-card-table > tbody > tr:last-child {
        margin-bottom: .5rem;
    }

    table.mobile-card-table > tbody > tr > td {
        display: grid;
        grid-template-columns: minmax(6rem, 38%) minmax(0, 1fr);
        align-items: start;
        gap: .65rem;
        width: 100%;
        padding: .55rem .7rem;
        border: 0 !important;
        border-bottom: 1px solid #edf0f3 !important;
        color: #263445;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        vertical-align: top;
    }

    table.mobile-card-table > tbody > tr > td:last-child {
        border-bottom: 0 !important;
    }

    table.mobile-card-table > tbody > tr > td::before {
        content: attr(data-mobile-label);
        color: #536273;
        font-size: .78rem;
        font-weight: 700;
        line-height: 1.35;
    }

    table.mobile-card-table > tbody > tr > td[data-mobile-label=""] {
        grid-template-columns: minmax(0, 1fr);
    }

    table.mobile-card-table > tbody > tr > td[data-mobile-label=""]::before,
    table.mobile-card-table > tbody > tr > td[colspan]::before {
        display: none;
    }

    table.mobile-card-table > tbody > tr > td[colspan] {
        display: block;
        text-align: center !important;
    }

    table.mobile-card-table > tbody > tr > td .btn-group,
    table.mobile-card-table > tbody > tr > td .d-flex {
        flex-wrap: wrap;
        gap: .35rem;
    }

    .mobile-table-pagination {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        width: 100%;
        margin: 0 0 1rem;
        padding: .35rem 0;
    }

    .mobile-table-pagination button {
        min-width: 5.5rem;
        min-height: 42px;
        padding: .45rem .7rem;
        border: 1px solid #cbd3dd;
        border-radius: .5rem;
        background: #fff;
        color: #173b56;
        font: inherit;
        font-weight: 600;
    }

    .mobile-table-pagination button:disabled {
        opacity: .45;
    }

    .mobile-table-pagination [data-mobile-page-status] {
        color: #536273;
        font-size: .86rem;
        text-align: center;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: .15rem;
    }

    .pagination .page-link {
        min-width: 40px;
        min-height: 40px;
        display: grid;
        place-items: center;
        padding: .35rem .6rem;
    }
}
