.u-file-import {
    word-break: break-all;

    button {
        border-radius: 6px;
    }

    .f-success {
        color: #52C41A;
    }

    .f-error {
        color: #CD1726;
    }

    .f-link {
        color: #1981FF;
        cursor: pointer;
    }

    .ehr-ui-modal-body {
        min-height: 250px;

        // 页脚
        .footer {
            margin-top: 28px;
            font-size: 12px;
            color: #999;
        }

        // 导入前
        .container-initial {
            .tips {
                display: flex;
                padding: 9px 12px;
                margin-top: 16px;
                font-size: 12px;
                line-height: 17px;
                background: #E8F2FF;
                border-radius: 8px;

                .anticon-exclamation-circle {
                    margin-right: 5px;
                    font-size: 18px;
                    color: #1981FF;
                }
            }

            // 大附件上传组件
            .upload-drag {
                display: block;
                margin-top: 24px;

                .ehr-ui-upload-disabled {
                    cursor: default;
                }

                .wraps-initial {
                    .drag-icon {
                        margin-bottom: 10px;
                        line-height: 1;

                        .anticon-cloud-upload {
                            font-size: 50px;
                            color: #999;
                            opacity: .5;
                        }
                    }

                    .drag-text {
                        margin-bottom: 8px;
                    }

                    .drag-hint {
                        margin-bottom: 12px;
                        font-size: 12px;
                        line-height: 16px;
                        color: #999;
                    }
                }

                .wraps-uploading {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    min-height: 168px;

                    .progress {
                        box-sizing: border-box;
                        display: flex;
                        align-items: center;
                        width: 100%;
                        padding: 0 62px 0 130px;
                        margin-bottom: 12px;

                        .ehr-ui-progress-line {
                            margin: 0;
                        }

                        .cancel {
                            width: 60px;
                            margin-left: 20px;
                            font-size: 12px;
                            color: #1981FF;
                            user-select: none;
                        }
                    }

                    .progress-text {
                        color: rgba(0, 0, 0);
                    }
                }
            }
        }

        // 导入结果确认
        .container-confirm {
            .sensitive {
                padding: 8px 12px;
                margin-bottom: 12px;
                line-height: 20px;
                color: #FF7D00;
                background: #FFF2E5;
                border-radius: 8px;
            }

            .total {
                margin-bottom: 16px;
                line-height: 20px;
            }

            .ehr-ui-table-container {
                font-size: 12px;

                .ehr-ui-table-cell {
                    padding: 11px 16px;
                }
            }

            .ehr-ui-table-pagination-right {
                justify-content: unset;
                margin-bottom: 0;
            }
        }

        // 导入中
        .container-progressing {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 168px;
            padding: 0 110px;

            .anticon-loading {
                margin-top: 8px;
                margin-right: 5px;
            }
        }

        // 导入成功
        .container-success {
            display: flex;
            padding: 16px 23px;
            background: #E5F8EA;
            border-radius: 12px;

            .anticon-check-circle {
                margin-right: 10px;
                font-size: 40px;
                color: #52C41A;
            }

            .title {
                margin-bottom: 8px;
                font-size: 16px;
                line-height: 22px;
                color: #333;
            }

            .desc {
                margin-bottom: 8px;
                color: #999;
            }
        }

        // 部分导入成功、导入失败
        .container-partial-success,
        .container-error {
            display: flex;
            padding: 16px 23px;
            background: #FFF2E5;
            border-radius: 12px;

            .anticon {
                margin-right: 10px;
                font-size: 40px;
                color: #FF7D00;
            }

            .title {
                margin-bottom: 8px;
                font-size: 16px;
                line-height: 22px;
                color: #333;
            }

            .desc {
                margin-bottom: 8px;
                color: #999;
            }
        }

        .wraps-error {
            .desc {
                color: #999;
            }
        }
    }
}

.file-confirm-modal {
    .ehr-ui-modal-content {
        border-radius: 8px;

        button {
            border-radius: 6px;
        }
    }
}
