﻿#appLoader {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center
}

    #appLoader.is-open {
        display: flex
    }

    #appLoader .al-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.40);
        z-index: 1
    }

    #appLoader .al-box {
        position: relative;
        z-index: 2;
        background: #fff;
        border-radius: 8px;
        min-width: 260px;
        max-width: 90vw;
        padding: 20px 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,.2);
        text-align: center
    }

/* patch: deixa o spinner SEMPRE redondo */
body #appLoader .al-box .al-spinner {
    width: 40px;
    height: 40px;
    display: inline-block;
    box-sizing: border-box; /* evita distorções com resets globais */
    border: 3px solid #e5e5e5;
    border-top-color: #0070f3;
    border-radius: 50% !important; /* garante círculo mesmo se houver reset */
    animation: al-spin .8s linear infinite;
}

@keyframes al-spin {
    to {
        transform: rotate(360deg);
    }
}

/* blur só no conteúdo (ajuste o seletor do container se necessário) */
body.is-loading .login_tbl {
    filter: blur(6px);
    pointer-events: none
}