.table__stocks {
    width: 100%;
    text-align: center;
}

.table__stocks-head th {
    text-align: center;
}

.dataTables_wrapper {
    margin: 40px 0;
}

.dataTables_wrapper .top {
    margin-bottom: 40px;
}

.dataTables_filter input[type="search"] {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    font-size: 16px;
    color: #252E37;
    line-height: 50px;
    outline: none;
}

input[type=search]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input[type=search]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.table__stocks + .bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.dataTables_length select {
    width: auto;
    height: 50px;
    padding: 0 20px;
    margin: 0;
    background-image: none;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    color: #252E37;
    outline: none;
    cursor: pointer;
}

.dataTables_length span {
    font-size: 18px;
    -webkit-margin-end: 10px;
    margin-inline-end: 10px;
}

.dataTables_paginate {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
}

.dataTables_paginate,
.dataTables_paginate > span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.ellipsis {
    height: 50px;
    width: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.ellipsis,
.paginate_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-right: 1px solid #e5e5e5;
    text-align: center;
    font-size: 16px;
    color: #252E37;
    outline: none;
    cursor: pointer;
}

.paginate_button.current {
    color: inherit;
    background-color: #f3f5f6;
    cursor: initial;
}

.paginate_button.next,
.paginate_button.previous {
    background-image: url("../img/pagination_arrow.svg");
    background-repeat: no-repeat;
    background-position: center center;
}

.paginate_button.disabled {
    cursor: initial;
}

.paginate_button.next {
    border-right: none;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rtl .paginate_button.previous {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    border-right: 0;
}

.rtl .paginate_button.next {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    border-right: 1px solid #e5e5e5;
}

@media (max-width: 767px) {
    .ellipsis,
    .paginate_button {
        width: 30px;
    }

    .dataTables_length span {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .dataTables_paginate > span {
        display: none;
    }
}

@media (max-width: 480px) {
    .table__stocks {
        display: block;
        overflow-x: auto;
    }

    .table__stocks-body,
    .table__stocks-head {
        display: block;
        min-width: calc(100vw + 60px);
    }

    .table__stocks tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .table__stocks td,
    .table__stocks th {
        padding: 10px 5px;
        width: 25% !important;
    }

    .dataTables_length select {
        padding: 0 10px;
    }

    .table__stocks td.dataTables_empty {
        width: 100% !important;
    }
}

