@import '../../../style/variables.less';

.legalEntitySpace() {


    @prefix-cls: ~"@{prefix}-entity";

    .@{prefix-cls} {
        overflow: visible;
        display: flex;
        flex-direction: column;
        overflow: auto;

        .@{prefix-cls}-search {
            border-bottom: 1px solid #e1e1e1;

            p {
                height: auto;
                padding: 4px 0;
                line-height: 18px;
                border-bottom: 1px solid #e1e1e1;
                margin: 0 12px;
                font-weight: normal;
            }

            :global {
                .ant-input-search {
                    padding: 5px 12px;
                }

                .ant-input-affix-wrapper .ant-input-suffix {
                    right: 24px;
                }
            }
        }

        .list {
            padding: 8px 0;

            :global {
                .fm-legal-entity {
                    margin-right: 10px;
                    color: @maycur-color;
                    font-size: 15px;
                }

                .mkbs-option {
                    font-size: 13px;
                    display: block;
                }

                .mkbs-opt-content {
                    padding: 0;
                }
            }
        }

        .@{prefix-cls}-option-list {
            min-height: 100px;
            .list;

            .@{prefix-cls}-empty-text {
                height: 100px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: @weak-text-color;
            }
        }

        .@{prefix-cls}-latest {
            .list;
            padding-bottom: 0;
        }

        :global {
            .mkbs-opt-group .mkbs-opt-title.mkbs-opt-node {
                padding: 0;
            }

            .ant-input-search {
                background-color: #fff;

                input {
                    background-color: #f7f7f7;
                    padding: 5px !important;
                    border: none;
                }
            }
        }
    }
}

.legalEntitySpace();