.inner-telescope-wrapper {
    &.icon-after {
        .ant-select-selection-wrap {
            padding-right: 20px !important;
        }

        .ant-select-clear {
            right: 24px;
        }
    }

    .ant-select-arrow {
        cursor: pointer;
    }

    .ant-select-selection-placeholder {
        display: flex !important;
    }

    .ant-select-disabled {
        .ant-select-selection-search {
            color: #888;
        }
    }

    .ant-select-prefix {
        position: relative;
        top: 2px;
        left: -2px;

        .anticon-plus-circle {
            color: var(--ant-color-text-quaternary);
        }
    }
}

.inner-tele-drop-table {
    .ant-table-row {
        cursor: pointer;
    }
    .ant-pagination {
        margin: 12px 0 0 !important;
    }
}

.telescope-modal-wrapper {
    .ant-modal {
        max-width: 90%;
        min-width: 60%;
    }

    .ant-modal-title {
        height: 40px;
    }

    .ant-modal-footer {
        padding: 12px !important;
    }

    .ant-col-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .ant-modal-body {
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        background-color: var(--rs-background-color);

        .telescope-modal-search {
            border-bottom: 1px solid #f0f0f0;
            padding: 12px;
            background-color: #fff;

            .ant-col-8 {
                margin-bottom: 8px;
            }

            .ant-form-item {
                margin: 0;
            }

            .button-group {
                display: flex;
                align-items: flex-end;
                flex-wrap: wrap;
            }

            .button-group-single-row {
                justify-content: flex-end;
                margin-top: 8px;
            }
        }

        .telescope-modal-table {
            overflow: hidden;
            display: flex;
            margin-top: 8px;
            background-color: #fff;
            flex: 1;
            position: relative;

            .tree {
                padding: 8px;
                border-right: 1px solid #f0f0f0;
                overflow: hidden;
                width: fit-content;
            }

            .table {
                flex: 1;
                overflow: auto hidden;
                padding: 8px 8px 0;
                display: block;
                overflow-x: auto;
                .tele-modal-table {
                    min-width: 680px;
                    .action-bar {
                        display: none !important;
                    }
                    .pagination-wrapper {
                        padding: 6px 6px 6px 0;
                    }
                }

                .ant-table-wrapper {
                    height: 100%;

                    .ant-spin-nested-loading {
                        height: 100%;

                        .ant-spin-container {
                            display: flex;
                            flex-direction: column;
                            height: 100%;

                            .ant-table {
                                flex: 1;
                                width: 100%;

                                .ant-table-container {
                                    border: none !important;
                                }
                            }
                        }
                    }
                }

                .ant-table-body {
                    overflow: auto auto;
                    overflow-y: auto !important;
                }

                .tele-pagition-wrapper {
                    position: relative;
                    top: -32px;
                    padding-left: 16px;
                    display: flex;
                    justify-content: space-between;
                }
            }
        }
    }
}