.mipa-message {
    position: fixed;
    z-index: 2000;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: min(420px, calc(100vw - 48px));
    margin: 0;
    padding: 1rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: 0 14px 38px rgba(20, 25, 54, .16);
    animation: mipa-message-in .28s ease-out both;
    transition: opacity .25s ease, transform .25s ease;
}

.mipa-message.is-hiding {
    opacity: 0;
    transform: translateX(24px);
}

.mipa-message.is-success {
    border-color: #c9f1dc;
    color: #17834d;
    background: #dcf9e9;
}

.mipa-message.is-danger {
    border-color: #f3d0d0;
    color: #a83232;
    background: #fff0f0;
}

.mipa-message-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 35px;
    height: 35px;
    margin-top: .05rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.mipa-message.is-success .mipa-message-icon::before {
    content: '\2713';
}

.mipa-message.is-danger .mipa-message-icon::before {
    content: '!';
}

.mipa-message-content {
    flex: 1;
    min-width: 0;
}

.mipa-message-close {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: -2px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: currentColor;
    background: transparent;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    opacity: .68;
    cursor: pointer;
}

.mipa-message-close:hover,
.mipa-message-close:focus {
    background: rgba(255, 255, 255, .5);
    opacity: 1;
    outline: none;
}

.mipa-message-title {
    display: block;
    margin: 0 0 .15rem;
    color: currentColor;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.mipa-message-text {
    display: block;
    color: currentColor;
    font-size: .88rem;
    line-height: 1.45;
    opacity: .92;
    overflow-wrap: anywhere;
}

.mipa-message-list {
    margin: .15rem 0 0;
    padding-left: 1.1rem;
}

.mipa-message-list li + li {
    margin-top: .18rem;
}

@keyframes mipa-message-in {
    from {
        opacity: 0;
        transform: translateX(28px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 575.98px) {
    .mipa-message {
        top: 12px;
        right: 12px;
        gap: .75rem;
        width: calc(100vw - 24px);
        padding: .9rem;
        border-radius: 11px;
    }

    .mipa-message-icon {
        width: 31px;
        height: 31px;
        font-size: 1rem;
    }

    .mipa-message-title {
        font-size: .92rem;
    }

    .mipa-message-text {
        font-size: .8rem;
    }
}
