// 智能小招弹窗
.u-ehr-assistant {
    position: relative;

    .assistant-masker {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1001;
        background: rgba(0, 0, 0, .5);
    }

    .assistant-dialog {
        position: fixed;
        right: 20px;
        bottom: 40px;
        z-index: 1002;
        width: 400px;
        overflow: hidden;
        background: #F5F5F5;
        border: 1px solid #E0E0E0;
        border-radius: 12px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, .12);

        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 12px 0 16px;
            font-size: 16px;
            font-weight: 500;
            background-color: #FFF;
            border-bottom: 1px solid #E0E0E0;

            .title {
                flex: 1;
                height: 40px;
                line-height: 40px;
                cursor: move;
            }

            .icon-wraps {
                display: flex;
                align-items: center;
                gap: 8px;

                .anticon {
                    padding: 4px;
                    color: #313438;
                    cursor: pointer;
                    border-radius: 4px;

                    &:hover {
                        color: #333;
                        background: #F5F5F5;
                    }
                }
            }
        }

        .content {
            min-height: 580px;
            max-height: calc(100vh - 120px);
            padding: 12px 16px;
            overflow: auto;
        }

        &.full {
            top: unset !important;
            right: unset !important;
            bottom: 0 !important;
            left: 0 !important;
            width: 100vw;
            height: 90vh;

            .header {
                .title {
                    cursor: default;
                }
            }

            .content {
                width: 800px;
                max-height: calc(90vh - 40px);
                padding: 12px 0;
                margin: 0 auto;
            }
        }
    }
}
