
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    font-family: Arial, sans-serif;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    text-decoration: none;
    color: #902067;
    background-color: #E9E5E7;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #e4c8d3;
}

.pagination .current {
    color: #FFFFFF;
    background-color: #902067;
}

.pagination .ellipsis {
    padding: 6px 12px;
    color: #9E9E9E;
}

.status.change_count, .subtitle.unit-count-order {
    background: transparent;
    border-radius: 20px;
    padding: 6px 15px;
    color: #050505 !important;
    font-weight: 900 !important;
    box-shadow: 1px 5px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid #902067;
    font-size: 17px!important;
}
.container {
    grid-template-columns: 1fr;
}

.right_side_shopper {
    grid-column: 2/span 1;
    grid-row: 1/span 1;
}

@media (max-width: 2560px) {
    .toggle_menu {
        display: inline-block !important;
        cursor: pointer;
    }

    header .container.for_phone {
        display: flex !important;
    }

    header .logo {
        display: none !important;
    }

    .menu {
        display: none;
    }

    body.menu_opened .menu {
        display: block !important;
        position: absolute;
        top: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        height: 100%;
    }
}

@media (max-width: 900px) {
    .popup .inner {
        bottom: auto !important;
        top: 40%!important;
    }

    #snackbars {
        top: 30%;
    }
}

/* Стили для модалки */
.modalImage {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.preview-img {
    cursor: pointer;
}
.modalImage-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 38px;
    right: 50px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#modal_verify_amount_change.show{
    max-height: 100%!important;
}
#modal_verify_amount_change {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* полупрозрачный фон */
}

#modal_verify_amount_change .inner {
    background-color: #fff;
    color: #0f0f0f!important;
    margin: 15% auto;
    padding: 48px 23px;
    border-radius: 12px;
    width: 90%;
    max-width: 335px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#modal_verify_amount_change .btns-modal-confirm {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#modal_verify_amount_change .close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

#modal_verify_amount_change h3 {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 1.4;
    justify-content: center;
}

#confirm_modal.show{
    max-height: 100%!important;
}
#confirm_modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* полупрозрачный фон */
}

#confirm_modal .inner {
    background-color: #fff;
    color: #0f0f0f!important;
    margin: 15% auto;
    padding: 48px 23px;
    border-radius: 12px;
    width: 90%;
    max-width: 335px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

#confirm_modal .close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

#confirm_modal h3 {
    margin-bottom: 20px;
    font-size: 27px;
    line-height: 1.4;
    justify-content: center;
}

#confirm_modal span {
    font-weight: 700;
    font-size: 24px;
}

#confirm_ok_btn {
    background-color: white;
    color: #902067;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    border: 1px solid #902067;
    display: initial;

}

#confirm_ok_btn:hover {
    background-color: #f0f0f0;
}


.return_order_request_base_content,
.return_order_request_right_side {
    grid-row: 1/span 1;
}



.bags_base_content {
    grid-row: 1/span 1;

}
.right_side_bags {
    grid-row: 1/span 1;
}

.bags-container {
    display: grid;
    grid-template-columns: auto!important;
    gap: 20px;
}


@media (max-width: 900px){
    .return_order_request_right_side .card.small.column.sm{
        margin-top: 40px;
    }

    .return_order_request_right_side {
        grid-row: 2/span 1!important;
        margin-top: -204px;

    }
}