#myTabContent {
    position: relative;
    z-index: 999;
    margin-top: -180px;
}

.table-container {
    background-color: transparent;
    border-radius: 12px;
}

/* Tabs */
.tabs-wrapper {
    overflow-x: auto;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    user-select: none;
    position: relative;
    width: max-content;
    margin: 0 auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 0.0625rem solid var(--border-tabs);
    border-radius: 62.4375rem;
    margin-bottom: 2.5rem !important;
}

.tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.tabs-wrapper .custom-nav {
    display: inline-flex;
    flex-wrap: nowrap;
    width: max-content;
    /* border: 0.0625rem solid var(--border-tabs);  */
    opacity: 1;
    gap: 1rem; /* 32px */
    padding-top: 0.5rem; /* 8px */
    padding-right: 1.4375rem; /* 23px */
    padding-bottom: 0.5rem; /* 8px */
    padding-left: 0.5rem; /* 8px */
    /* border-radius: 62.4375rem;  */
}

.tabs-wrapper .nav-item,
.tabs-wrapper .nav-link {
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
    line-height: 1.5rem; /* 24px */
    letter-spacing: 0;
    border-radius: 3.875rem; /* 62px */
    color: var(--main-text);
}

.tabs-wrapper .nav-item:hover,
.tabs-wrapper .nav-link:hover,
.tabs-wrapper .nav-link:focus {
    color: var(--main-text);
}

.tabs-wrapper .nav-link:focus-visible {
    outline: 0;
    box-shadow: none;
}

.tabs-wrapper .nav-link.active {
    opacity: 1;
    gap: 0.75rem; /* 12px */
    padding-top: 0.5rem; /* 8px */
    padding-right: 1rem; /* 16px */
    padding-bottom: 0.5rem; /* 8px */
    padding-left: 1rem; /* 16px */
    border-radius: 3.875rem; /* 62px */
    background: var(--green-background);
}

/* Table */
.dataTable.table td {
    padding: 0 16px !important;
    vertical-align: middle;
    background-color: #f5f5f51a !important;
    height: 64px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffffe5;
    line-height: 24px;
    gap: 16px;
}

.table tr:last-child td {
    border-bottom: none;
}

table.dataTable thead th {
    background: #f5f5f51a !important;
    vertical-align: middle;
    height: 4rem;
    gap: 16px;
    color: #ffffffe5;
}

.dataTable.table th:first-child {
    border-top-left-radius: 12px;
}

.dataTable.table th:last-child {
    border-top-right-radius: 12px;
}

.dataTable.table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.dataTable.table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.dataTable.table th:last-child,
.dataTable.table td:last-child {
    text-align: center !important;
}

.dataTable.table th:last-child a,
.dataTable.table td:last-child a {
    padding: 0.5rem 0.75rem !important;
    width: 6.5625rem;
    font-size: 0.875rem;
    height: 2.5rem;
}

@media (min-width: 992px) {
    .dataTable.table th:first-child,
    .dataTable.table td:first-child {
        width: 17% !important;
    }

    .dataTable.table th,
    .dataTable.table td {
        width: 16%;
    }
}

.dataTable.table th,
.dataTable.table td {
    padding: 0.75rem 1rem !important;
}

.dataTable.table td:last-child {
    padding: 0.75rem 1rem !important;
}

/* Pagination */
.dataTables_paginate {
    display: flex;
    align-items: center;
}


    .dataTables_paginate.paging_simple_numbers
    a.paginate_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border: none !important;
    color: var(--main-text) !important;
    width: 38px !important;
    height: 38px !important;
    box-shadow: none !important;
    gap: 26px;
}

.section-full

    .dataTables_paginate.paging_simple_numbers
    .paginate_button.current {
    color: var(--green-text) !important;
}

.dt-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.dt-footer .dt-info {
    justify-self: start;
}
.dt-footer .dt-paging {
    justify-self: center;
    cursor: pointer;
}

.dt-footer.footer-in {
    opacity: 1;
    transform: none;
}

/* optional subtle stagger for children */
.dt-footer .dt-info,
.dt-footer .dt-paging {
    transition: opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s;
}
.dt-footer.footer-in .dt-info,
.dt-footer.footer-in .dt-paging {
    opacity: 1;
    transform: none;
}
.dt-footer .dt-info,
.dt-footer .dt-paging {
    opacity: 0;
    transform: translateY(6px);
}

.dataTables_info {
    font-size: 0.75rem;
    line-height: 1.75rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    .dt-footer {
        grid-template-columns: 1fr;
    }
    .dt-footer .dt-info {
        order: 2;
        justify-self: center;
        margin-top: 0.5rem;
    }
    .dt-footer .dt-paging {
        order: 1;
    }

    .table-container .tabs-viewport {
        width: auto!important;
    }

}

.table-fade tbody tr {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.table-fade tbody tr.row-in {
    opacity: 1;
    transform: none;
}

.dt-paging nav ul.pagination {
    margin: 0;
}

.dt-scroll-body * {
    overflow: visible !important;
}

.dt-scroll-body,
.dataTable {
    overflow: hidden !important;
    border: none !important;
    border-spacing: 0 3px;
    border-collapse: separate;
}

.first-flag {
    border-radius: 50px;
    width: 45px;
    height: 24px;
    position: relative;
}

.second-flag {
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 50px;
    width: 32px;
    height: 32px;
    position: absolute;
    left: 2.8%;
    top: 33%;
}

@media (max-width: 767px) {
    table.dataTable tbody tr {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    table.dataTable tbody tr:first-child,
    tbody tr:first-child {
        padding-top: 0 !important;
    }

    .table-container {
        padding: 16px 0 !important;
    }
}

#table-deposits .section-row td,
#table-withdrawals .section-row td {
    padding: 0;
    border: 0;
}

#table-deposits .section-title,
#table-withdrawals .section-title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    font-size: 16px;
    line-height: 30px;
}

#table-deposits .row-title,
#table-withdrawals .row-title {
    background-color: transparent !important;
}

#table-deposits.dataTable.table th:first-child,
#table-withdrawals.dataTable.table th:first-child {
    border-bottom-left-radius: 12px;
}

#table-deposits.dataTable.table th:last-child,
#table-withdrawals.dataTable.table th:last-child {
    border-bottom-right-radius: 12px;
}

#table-deposits.dataTable.table .odd td:last-child,
#table-withdrawals.dataTable.table .odd td:last-child {
    border-bottom-right-radius: 12px;
}

#table-deposits.dataTable.table .odd td:first-child,
#table-withdrawals.dataTable.table .odd td:first-child {
    border-bottom-left-radius: 12px;
}

#table-deposits.dataTable.table .even td:last-child,
#table-withdrawals.dataTable.table .even td:last-child {
    border-top-right-radius: 12px;
}

#table-deposits.dataTable.table .even td:first-child,
#table-withdrawals.dataTable.table .even td:first-child {
    border-top-left-radius: 12px;
}

@media (min-width: 992px) {
    #table-deposits.dataTable.table th:first-child,
    #table-withdrawals.dataTable.table th:first-child,
    #table-deposits.dataTable.table td:first-child,
    #table-withdrawals.dataTable.table td:first-child {
        width: 16% !important;
    }

    .dataTable.table th,
    .dataTable.table td {
        width: 14%;
    }

    #table-deposits.dataTable.table th:last-child,
    #table-withdrawals.dataTable.table th:last-child,
    #table-deposits.dataTable.table td:last-child,
    #table-withdrawals.dataTable.table td:last-child {
        width: 5% !important;
    }
}

.table {
    min-width: 800px !important;
}

.tab-content .tab-pane:not(.active) .dt-footer {
    display: none !important;
}
