.PaymentGroupPaymentAccountsTable {
    .filters {
        padding-top: 1em;
        width: 20em;
    }
    .GridTable {
        margin-top: 20px;
        scrollbar-width: thin;
        ::-webkit-scrollbar {
            width: 10px;
        }

        .cell-accountName a {
            word-break: break-word;
        }
    }
    .GridTable.stickyColumnHeaders .GridTable-container {
        overflow: auto;
    }
    .GridTable-container.overflowing .GridTable-cell.fixed,
    .GridTable-container.overflowing .GridTable-column.fixed {
        z-index: 2;
    }
    .GridTable-column.col-accountName.separator.sticky.sortable.fixed,
    .GridTable-column.col-accountName.sorted-0.separator.sticky.sorted.sortable.fixed {
        z-index: 3;
    }
    .PaymentGroupDetails-result-count {
        height: 20px;
    }
}

// MODAL PORTALS

.ReactModal__Overlay.ReactModal__Overlay--after-open {
    z-index: 4 !important;
}

.PaymentGroupDetails {
    &-accounts {
        .pagination-links {
            margin-bottom: 150px;
        }
    }

    &-add-note-popup {
        .ReactModal-header-text {
            height: 50px;
        }
        textarea {
            min-height: 165px;
        }
        .ReactModal-header,
        .ReactModal-footer {
            min-width: 30vw;
        }
        .PopupModal-buttons {
            display: flex;
            justify-content: space-between;
        }
    }
    &-accounts-delete-account-warning-popup {
        .ReactModal-content {
            padding-top: 20px;
        }
        header {
            div {
                display: flex;
                align-items: center;
                font-size: 22px;
                padding-right: 30px;

                b {
                    font-weight: 500;
                }
            }
        }
        .PopupModal-buttons {
            display: flex;
            justify-content: space-between;
        }
    }
    &-confirm-delete-popup {
        .ReactModal-content {
            max-width: max-content;
            width: auto;
        }
    }
}
