:host {
    display: block;
}

.dialog-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    margin: 0;
}

.dialog-hide {
    display: none;
}

.dialog {
    position: relative;
    margin: 30vh auto 50px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    width: 70%;
}

.dialog-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #ddd;
}

.dialog-title {
    line-height: 24px;
    font-size: 18px;
    color: #303133;
}

.dialog-body {
    padding: 20px;
    color: #606266;
    font-size: 14px;
    word-break: break-all;
}

.dialog-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    text-align: right;
    box-sizing: border-box;
    border-top: 1px solid #ddd;
}