html.i18n-pending body::before {
    background: #fff;
    content: '';
    inset: 0;
    position: fixed;
    visibility: visible;
    z-index: 2147483645;
}

html.i18n-pending:not(.i18n-error) body::after {
    animation: translation-bootstrap-spin .8s linear infinite;
    border: 4px solid #e6edd6;
    border-radius: 50%;
    border-top-color: #6b8e13;
    content: '';
    height: 38px;
    left: calc(50% - 19px);
    position: fixed;
    top: calc(50% - 19px);
    visibility: visible;
    width: 38px;
    z-index: 2147483646;
}

#i18n-error-panel {
    align-items: center;
    background: #fff;
    color: #17212b;
    display: flex;
    flex-direction: column;
    font: 16px/1.5 sans-serif;
    gap: 16px;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    text-align: center;
    visibility: visible;
    z-index: 2147483647;
}

#i18n-error-panel button {
    background: #6b8e13;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    padding: 10px 20px;
}

@keyframes translation-bootstrap-spin {
    to { transform: rotate(360deg); }
}
