.dialog-komunikat {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s;
    z-index: 999;
}

.dialog-komunikat .buttons-panel {
    text-align: center;
}

.dialog-komunikat .button {
    min-width: var(--button-min-width);
}

.dialog-komunikat .form-dialog-komunikat {
    max-width: 600px;
    display: flex;
    position: relative;
    animation-duration: 1s;
}

.fadeIn {
    animation-name: fadeIn;
}
.fadeOut {
    animation-name: fadeOut;
    animation-fill-mode: forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}