.pagination-flat {
    display: flex;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    background: #fff;
    border: 1px solid #ebebeb;
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(95, 95, 108, 0.05);

    border-radius: 10px !important;
}

.paginate_button {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;
}

.paginate_button > *:last-child {
    border-right: 1px solid #ebebeb;
}

.paginate_button > * {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    transition: 0.3s all ease;
    color: #29292f;
}

.paginate_button.active * {
    background: #e93131;
    color: #fff !important;
}

.paginate_button:hover * {
    background: #e93131;
    color: #fff !important;
}

.table__contant {
}

.table__contant .table-wrapper {
    border-radius: 0 !important;
}

.table__contant > .table-wrapper {
    border: none;
}

.datatable-scroll-lg {
    border: 1px solid #ebebeb;
}

.datatable-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    width: 100%;
    margin-bottom: 20px;
}

.datatable-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

@media screen and (max-width: 900px) {
    .datatable-footer,
    .datatable-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .datatable-header > *:not(:last-child),
    .datatable-footer > *:not(:last-child) {
        margin-bottom: 10px;
    }
}

.dataTables_filter {
    display: flex;

    width: 100%;
    max-width: 400px;
}

.dataTables_filter > * {
    width: 100%;
}

.datatable-search input {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    padding: 10px 20px;

    outline: none;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    background: #f5f5f5;

    color: #5f5f6c;
    font-size: 16px;

    transition: 0.3s all ease;
}

.datatable-search input::placeholder {
    color: #5f5f6c;
    font-size: 14px;
}

.dataTables_length {
    display: flex;
    flex-direction: column;
}

.dataTables_length > * {
    display: flex;
    flex-direction: column;
}

.dataTables_length select {
    outline: none;
    border: 1px solid #ebebeb;
    background: #f5f5f5;
    border-radius: 6px;

    height: 40px;
    margin-top: 4px;
    padding: 0 20px;

    box-sizing: border-box;

    cursor: pointer;
}

.datatable-scroll-lg {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 20px;
    border: 1px solid #ebebeb;
    overflow-x: auto;
    scrollbar-color: #29292f transparent;
    scrollbar-width: thin;
}

.datatable-scroll-lg::-webkit-scrollbar {
    height: 8px;
}
.datatable-scroll-lg::-webkit-scrollbar-track {
    background-color: transparent;
}
.datatable-scroll-lg::-webkit-scrollbar-thumb {
    background: #29292f;
}
.datatable-scroll-lg:not(:last-child) {
    margin-bottom: 1.875rem;
}
.datatable-scroll-lg table {
    width: 100% !important;
    min-width: 1024px;
    border-collapse: collapse;
    border-spacing: 0;
}
