
dialog:not([open]) {
    visibility: hidden;
    opacity: 0;
}

dialog {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 9999999 !important;
    border: none;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    visibility: visible;
    opacity: 1;
    transition: 0.5s all;
    perspective: 1000px;
}
dialog:not([open]) .alert {
    transform: rotateX(0) scale(1) translateX(100%);
}
dialog .alert {
    background: #FFF;
    max-width: 96%;
    max-height: 96%;
    margin: auto;
    border-radius: 10px;
    width: 485px;
    position: relative;
    cursor: auto;
    padding: 0 15px;
    transition: 0.5s all;
}
dialog .alert a.close {
    display: block;
    position: absolute;
    right: 5px;
    width: 20px;
    fill: #909090;
    height: 20px;
    top: 5px;
    cursor: pointer;
    z-index: 999;
}
dialog .alert a.close:hover {
    fill: #df0202;
}
dialog .alert .dialog_header {
    padding: 15px 0px 10px;
    color: var(--theme-color);
    font-weight: 700;
    text-transform: capitalize;
    border-bottom: 1px solid #333;
    margin-bottom: 15px;
    color: var(--color-2);
    font-size: 40px;
}
.dialog_footer {
    padding: 10px 0;
}
.dialog_footer {
    padding: 15px 0;
    text-align: right;
}

button.close {
    color: white;
    padding: 5px;
    margin-left: auto;
    font-size: 18px;
    border: 1px solid var(--theme-color);
}

.dialog_body {
    color: var(--text-color);
    font-size: 16px;
}

@media (max-width: 800px) {
    .close.btn {
        max-width: 640px;
    }
}

