.umrgdb-frontend-message {
    box-sizing: border-box;
    position: relative;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: min(100%, 760px);
    padding: 16px 18px;
    border: 1px solid currentColor;
    border-radius: 10px;
    background: #fff4f4;
    color: #8a1720;
    font: inherit;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.umrgdb-frontend-message[hidden] {
    display: none !important;
}

.umrgdb-frontend-message--inline {
    margin: 16px auto;
}

.umrgdb-frontend-message--toast {
    position: fixed;
    inset-inline: 16px;
    bottom: 20px;
    margin-inline: auto;
}

.umrgdb-frontend-message__body,
.umrgdb-frontend-message__text,
.umrgdb-frontend-message__retry {
    margin: 0;
}

.umrgdb-frontend-message__retry {
    margin-top: 6px;
    font-size: 0.92em;
}

.umrgdb-frontend-message__close {
    flex: 0 0 auto;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.umrgdb-frontend-message__close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .umrgdb-frontend-message {
        padding: 14px;
        border-radius: 8px;
    }

    .umrgdb-frontend-message--toast {
        inset-inline: 10px;
        bottom: 10px;
    }
}
