.dialog-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    z-index: 1050;
    display: block;
    overflow: hidden;
}

.dialog-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    z-index: 1040;
    -webkit-animation: fadeIn 0.2s ease-out 0s;
    animation: fadeIn 0.2s ease-out 0s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    opacity: 0.5;
}

.dialog-body-wrapper {
    position: relative;
    top: 50%;
    width: 290px;
    margin: 0 auto;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 3px 7px rgb(0 0 0 / 30%);
    z-index: 1050;
    -webkit-animation: upToCenter 0.2s ease-out 0s;
    animation: upToCenter 0.2s ease-out 0s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.dialog-header {
    min-height: 15px;
    padding: 15px 15px 0;
}

.dialog-body {
    line-height: 1.5;
    color: #333;
    text-align: center;
    padding: 15px;
}

.dialog-footer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 10px 15px 15px;
    width: 100%;
    box-sizing: border-box;
}

.dialog-action {
    border-radius: 4.5px;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
    background-color: #C20D22;
    color: #FFFFFF;
    cursor: pointer;
    border: 1px solid #C20D22;
    width: 131px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 0;
}