.crp-add-relations-modal {
    width: 100%;

    .crp-add-relations-input {
        display: flex;
        align-items: center;
        gap: 5px;

        select {
            min-width: 150px;
        }

        .crp-add-relations-search {
            width: 100%;
            max-width: 300px;
        }
    }

    .crp-add-relations-posts {
        margin-top: 10px;
        width: 100%;

        th {
            text-align: left;

            &:nth-child(1) { width: 13%; }
            &:nth-child(2) { width: 12%; }
            &:nth-child(3) { width: 40%; }
            &:nth-child(4) { width: 35%; }
        }

        .crp-add-relations-button-to,
        .crp-add-relations-button-both {
            margin-right: 3px;
        }
    }
}