/* /Components/Layout/IndicadorDeCarregamento.razor.rz.scp.css */
/* Faixa fina presa à borda de baixo da barra do topo (60px). Só aparece depois de 150 ms, para que
   páginas que carregam rápido não pisquem. */
.zortalk-carregando[b-jcs9h1xkgx] {
    position: fixed;
    top: 59px;
    left: 0;
    right: 0;
    z-index: calc(var(--mud-zindex-appbar) + 1);
    pointer-events: none;
    animation: zortalk-carregando-surgir-b-jcs9h1xkgx 0.2s ease-out 0.15s both;
}

    .zortalk-carregando[b-jcs9h1xkgx]  .mud-progress-linear {
        height: 3px;
    }

@keyframes zortalk-carregando-surgir-b-jcs9h1xkgx {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout styling lives in wwwroot/app.css to keep MudBlazor overrides centralized. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Navigation styling lives in wwwroot/app.css to keep MudBlazor overrides centralized. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Aviso discreto no pé da tela, com as cores do painel. Ele só aparece depois de 1 s para que
   quedas curtas (troca de rede, aba que volta do segundo plano) não pisquem na tela; enquanto isso
   o <dialog> modal já bloqueia cliques que se perderiam sem conexão. */

.reconexao-icone[b-sxzepw3y99],
.reconexao-texto p[b-sxzepw3y99],
#components-reconnect-modal button[b-sxzepw3y99] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .reconexao-carregando[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-rejected .reconexao-carregando[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-failed .reconexao-alerta[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-paused .reconexao-alerta[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-resume-failed .reconexao-alerta[b-sxzepw3y99] {
    display: grid;
}

/* O blazor.web.js mantém a classe show quando acrescenta a retrying. */
#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-retrying) p.reconexao-tentando[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-retrying p.reconexao-nova-tentativa[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-rejected p.reconexao-atualizando[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-failed .reconexao-falhou[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-paused .reconexao-pausada[b-sxzepw3y99],
#components-reconnect-modal.components-reconnect-resume-failed .reconexao-retomada-falhou[b-sxzepw3y99] {
    display: block;
}

#components-reconnect-modal[b-sxzepw3y99] {
    inset: auto 0 24px;
    width: min(440px, calc(100% - 32px));
    max-width: none;
    margin: 0 auto;
    padding: 14px 16px;
    border: 1px solid #e1e8e6;
    border-radius: 8px;
    /* O MudBlazor.min.css pinta este id com a cor de fundo do tema e !important. */
    background: #fff !important;
    color: #202c30;
    box-shadow: 0 12px 32px rgba(22, 61, 34, 0.14);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

#components-reconnect-modal[open][b-sxzepw3y99] {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: reconexao-entrar-b-sxzepw3y99 0.25s ease-out 1s both;
}

#components-reconnect-modal[b-sxzepw3y99]::backdrop {
    background: rgba(246, 248, 248, 0.55);
    animation: reconexao-surgir-b-sxzepw3y99 0.25s ease-out 1s both;
}

.reconexao-icone[b-sxzepw3y99] {
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e9f7f2;
    color: #087f72;
}

.reconexao-alerta[b-sxzepw3y99] {
    background: #fbf1e1;
    color: #a56c10;
}

.reconexao-carregando span[b-sxzepw3y99] {
    width: 18px;
    height: 18px;
    border: 2px solid #bfe3d7;
    border-top-color: #087f72;
    border-radius: 50%;
    animation: reconexao-girar-b-sxzepw3y99 0.8s linear infinite;
}

.reconexao-texto[b-sxzepw3y99] {
    flex: 1;
    min-width: 0;
}

.reconexao-texto p[b-sxzepw3y99] {
    margin: 0;
}

.reconexao-texto strong[b-sxzepw3y99] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.reconexao-texto p > span[b-sxzepw3y99] {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.5;
    color: #677775;
}

/* O MudBlazor.min.css estiliza #components-reconnect-modal button (caixa alta e margin com !important). */
#components-reconnect-modal button[b-sxzepw3y99] {
    flex-shrink: 0;
    min-height: 36px;
    margin: 0 !important;
    padding: 8px 14px;
    border: 0;
    border-radius: 6px;
    background: #087f72;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-sxzepw3y99] {
        background: #076d5d;
    }

@media (max-width: 520px) {
    #components-reconnect-modal[b-sxzepw3y99] {
        bottom: 16px;
    }

    #components-reconnect-modal[open][b-sxzepw3y99] {
        flex-wrap: wrap;
    }

    #components-reconnect-modal button[b-sxzepw3y99] {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[open][b-sxzepw3y99] {
        animation-name: reconexao-surgir-b-sxzepw3y99;
    }

    .reconexao-carregando span[b-sxzepw3y99] {
        animation-duration: 2.4s;
    }
}

@keyframes reconexao-entrar-b-sxzepw3y99 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes reconexao-surgir-b-sxzepw3y99 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes reconexao-girar-b-sxzepw3y99 {
    to {
        transform: rotate(360deg);
    }
}
