
/* DIALOGS */
dialog {
    pointer-events: none;
    opacity: 0;
    transition: all 300ms;
    border: none;
    box-sizing: border-box;
}
dialog[open] {
    pointer-events: inherit;
    opacity: 1;
}
dialog::backdrop {
    transition: all 300ms;
    background: rgba(0, 0, 0, 0);
}
dialog[open]::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

/* NOTIFICATION WINDOW */
dialog.notification-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 999999;
}
dialog.notification-wrapper .notification-window {
    position: relative;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    font-size: 1.1em;
    line-height: 1.1;
    max-width: 500px;
    pointer-events: auto;
}
dialog.notification-wrapper .notification-window.info {
    background: var(--color1);
}
dialog.notification-wrapper .notification-window.error {
    background: var(--error);
}
dialog.notification-wrapper .notification-window .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.4em;
    line-height: .5;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

/* MODALS */
dialog.modal {
    padding: 30px;
    min-width: 300px;
    text-align: center;
}
dialog.modal .full {
    padding: 0 30px 30px;
}
dialog.modal h3 {
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.2;
    display: block;
    margin-bottom: .5em;
}
dialog.modal .close {
    width: 100%;
}
dialog.modal .button-row {
    display: flex;
    justify-content: space-around;
}
