.exdoc-debtor-modal {
    align-items: center;
    background: rgba(33, 33, 37, .45);
    display: none;
    inset: 0;
    justify-content: center;
    overflow: hidden;
    padding: 24px;
    position: fixed;
    touch-action: none;
    z-index: 2000;
}

.exdoc-debtor-modal.is-open {
    display: flex;
}

.exdoc-debtor-modal__dialog {
    background: rgba(255, 255, 255, .98);
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 18px 60px rgba(16, 24, 40, .22);
    display: flex;
    flex-direction: column;
    height: min(767px, calc(100vh - 48px));
    max-width: min(1024px, calc(100vw - 48px));
    overflow: hidden;
    padding: 20px;
    position: relative;
    width: 1024px;
}

.exdoc-debtor-modal__close {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 32px;
}

.exdoc-debtor-modal__close img {
    display: block;
    height: 18px;
    width: 18px;
}

.exdoc-debtor-modal__title {
    color: #212125;
    font-family: "PT Sans Bold", "PT Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 31px;
    margin: 0 48px 26px 0;
}

.exdoc-debtor-modal__search {
    align-items: end;
    /* display: grid; */
    gap: 20px;
    grid-template-columns: minmax(0, 826px) 136px;
    margin-bottom: 7px;
}

.exdoc-debtor-modal__label {
    color: #3b4256;
    display: block;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 8px;
}

.exdoc-debtor-modal__checkbox {
    align-items: center;
    color: #3b4256;
    display: flex;
    font-size: 16px;
    gap: 10px;
    line-height: 20px;
    margin: 0 0 26px;
}

.exdoc-debtor-modal__checkbox input {
    height: 18px;
    width: 18px;
}

.exdoc-debtor-modal__pager {
    margin: 0 0 20px;
}

.exdoc-debtor-modal__pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.exdoc-debtor-modal__pagination .pagination {
    margin: 0;
}

.exdoc-debtor-modal__pagination .page-link,
.exdoc-debtor-modal__pagination .page-item span {
    align-items: center;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    color: #080808;
    display: flex;
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    padding: 6px;
}

.exdoc-debtor-modal__pagination .page-item.active .page-link,
.exdoc-debtor-modal__pagination .page-item.active span {
    background-color: #f9edbf;
    border-color: #f9edbf;
    color: #080808;
    font-family: "PT Sans Bold", "PT Sans", sans-serif;
    font-weight: 700;
}

.exdoc-debtor-modal__pagination .page-link:hover {
    color: #fff !important;
}

.exdoc-debtor-modal__pagination-total {
    color: #757575;
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
}

.exdoc-debtor-modal__table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
}

.exdoc-debtor-modal__table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.exdoc-debtor-modal__table th,
.exdoc-debtor-modal__table td {
    border-bottom: 1px solid #d8dee8;
    color: #3b4256;
    font-size: 14px;
    line-height: 17px;
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

.exdoc-debtor-modal__table th {
    background: #f4f7fb;
    font-family: "PT Sans Bold", "PT Sans", sans-serif;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 1;
}

.exdoc-debtor-modal__table tbody tr {
    cursor: default;
}

.exdoc-debtor-modal__table tbody tr:hover,
.exdoc-debtor-modal__table tbody tr.is-selected {
    background: #fff9ea;
}

.exdoc-debtor-modal__select-link {
    background: transparent;
    border: 0;
    color: #1d4786;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 17px;
    padding: 0;
    text-align: left;
    text-decoration: underline;
}

.exdoc-debtor-modal__select-link:hover,
.exdoc-debtor-modal__select-link:focus {
    color: #154ec9;
    outline: none;
}

@media (max-width: 1200px) {
    .exdoc-debtor-modal__dialog {
        max-width: calc(100vw - 40px);
    }
}

@media (max-width: 768px) {
    .exdoc-debtor-modal {
        align-items: stretch;
        padding: 12px;
    }

    .exdoc-debtor-modal__dialog {
        border-radius: 8px;
        height: calc(100vh - 24px);
        margin: auto 0;
        max-width: 100%;
        padding: 16px;
        width: 100%;
    }

    .exdoc-debtor-modal__close {
        right: 16px;
        top: 16px;
    }

    .exdoc-debtor-modal__search {
        display: block;
    }

    .exdoc-debtor-modal__search .search-btn {
        /* margin-top: 12px; */
        width: 100%;
    }

    .exdoc-debtor-modal__pagination {
        gap: 10px;
    }

    .exdoc-debtor-modal__table {
        width: 984px;
    }
}

    