.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-overlay.spinner-overlay-light {
    background: rgba(255, 255, 255, 0.7);
}

/* [MIGRATION] New: contained variant for overlays scoped to one element instead of the whole page */
.spinner-overlay.spinner-overlay-contained {
    position: absolute;
}

.spinner-border-custom {
    width: 3rem;
    height: 3rem;
}

/* [MIGRATION] blockui-bs5-compat.js message box - reproduces jquery.blockUI's default
   css block (padding/margin/width/textAlign/color/border/backgroundColor/opacity/cursor)
   so call sites that don't pass an opts.css override keep the old boxed look. Call-site
   opts.css is applied as an inline style by the shim, which naturally overrides these. */
.spinner-overlay-message {
    padding: 0;
    margin: 0;
    width: 30%;
    text-align: center;
    color: #000;
    border: 3px solid #aaa;
    background-color: #ffffff;
    opacity: .4;
    cursor: wait;
}
