.admin-global-loader {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.admin-global-loader.d-none {
    display: none !important;
}

.admin-global-loader__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(1px);
}

.admin-global-loader__spinner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.18);
}

.admin-region-loading {
    position: relative;
    min-height: 96px;
}

.admin-region-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.72);
    border-radius: inherit;
}

.admin-region-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 11;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -0.875rem;
    margin-left: -0.875rem;
    border: 0.18rem solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    color: var(--bs-primary, #0d6efd);
    animation: admin-loader-spin 0.75s linear infinite;
}

@keyframes admin-loader-spin {
    to {
        transform: rotate(360deg);
    }
}
