.table__container {
    overflow: hidden;
}
.table__container h2 {
    /* color: var(--textBtn); */
}
table {
    border-radius: var(--brad);
    background-color: var(--white);
    border-spacing: 0px;
    width: 100%;
    overflow: hidden;
}
tbody {
    display: flex;
    flex-direction: column;
    border-radius: var(--bradMed);
    overflow: hidden;
}
thead {
    background-color: var(--darkGray30);
}
thead::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--vinous20);
}

thead p {
    color: var(--neutralGray95) !important;
}

table tr,
.table_grid_4 tr {
    overflow: hidden;
    align-items: center;
}
table tr * {
    text-align: left !important;
}

.table_grid_4 tr {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.7fr;
}
.table_grid_4_second tr {
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
}

.table_grid_5 tr {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 0.7fr;
}
.table_grid_3 tr {
    display: grid;
    grid-template-columns: 4fr 1fr 1fr;
}
.table_grid_2 tr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

table tr td:last-child {
    text-align: right;
}

table tr td:first-child p {
    font-family: "poppins", sans-serif;
    font-weight: 600;
}
table tr th {
    padding: 24px;
}
table tr td:not(:last-child):not(:first-child) p,
table tr th:not(:last-child):not(:first-child) p {
    text-align: center !important;
}
table tr th:last-child p,
table tr td:last-child p {
    text-align: right !important;
}
.table_grid_4_second tr th:last-child p,
.table_grid_4_second tr td:last-child p {
    text-align: center !important;
}
.table_grid_2 tr th:last-child p,
.table_grid_2 tr td:last-child p {
    text-align: left !important;
}

table tr td {
    padding: 29px 24px;
}

/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
/* table__bet_wrapper */ /* table__bet_wrapper */ /* table__bet_wrapper */
.table__bet_wrapper {
}
.table__bet_wrapper .table_grid_3 tr {
    display: grid;
    grid-template-columns: 4fr 1.5fr 1.5fr;
}
.table_grid_3_second tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr !important;
}
.table_grid_3_second tr td:last-child p,
.table_grid_3_second tr th:last-child p {
    text-align: center !important;
}
.table__bet_wrapper tr th:last-child p,
.table__bet_wrapper tr td:last-child p {
    text-align: center !important;
}
.table__bet_wrapper tr td:not(:first-child) p {
    padding: 14px 0;
    background-color: var(--white30);
    border-radius: var(--brad);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.table__bet_wrapper tr td:not(:first-child) p:hover {
    background-color: var(--white95);
    opacity: 0.7;
}
.table__bet_wrapper tr td {
    padding: 16px 24px;
}
.table__bet_wrapper tbody tr:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 2px;
    background-color: var(--white30);
}

.table__bet_bottom {
    display: flex !important;
    flex-direction: row !important;
    padding: 12px 22px;
    gap: 12px;
}
.table__bet_bottom_item {
    width: 100%;
    padding: 0 !important;
}
.table__bet_bottom_item > p {
    text-align: center !important;
    margin-bottom: 12px;
    padding: unset !important;
    background-color: unset !important;
    cursor: text !important;
}
.table__bet_bottom_item > p:hover {
    opacity: 1 !important;
}
.table__bet_bottom_item > div {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
}
.table__bet_bottom_item > div > div {
    width: 100%;
    padding: 10px 0;
    background-color: var(--white30);
    border-radius: var(--brad);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.table__bet_bottom_item > div > div:hover {
    background-color: var(--white95);
    opacity: 0.7;
}
.table__bet_bottom_item > div > div p {
    text-align: center !important;
    background-color: unset !important;
    padding: unset !important;
}
.table__bet_bottom_item p {
    font-family: "poppins", sans-serif !important;
    font-weight: 600 !important;
}

.table_new tbody {
    display: table-row-group !important;
}

@media (max-width: 768px) {
    .bettTable thead tr {
        grid-template-columns: 5fr 0fr 0fr !important;
    }
    .bettTable thead tr th:not(:first-child) {
        padding: 0;
    }
    .bettTable tbody tr {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .bettTable tbody tr td:first-child {
        flex: 1 1 100%;
    }
    .bettTable tbody tr td {
        flex: 1 1 40%;
        padding: 12px 18px;
    }

    .table_grid_3_second,
    .table_grid_5 tr,
    .table_grid_2,
    .table_grid_4 {
        min-width: 768px;
        overflow-x: scroll;
    }
    .table__wrapper {
        overflow-x: scroll;
    }
    .table_grid_2 tr {
        grid-template-columns: 1fr 2fr;
    }
}
