/* /Components/Editor/RichTextEditor.razor.rz.scp.css */
.sgq-rich-text-editor__toolbar[b-tsg4nbvu9d] {
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem;
    border: 1px solid #d0d5dd;
    border-bottom: none;
    border-radius: 0.375rem 0.375rem 0 0;
    background: #f9fafb;
}

.sgq-rich-text-editor__surface[b-tsg4nbvu9d] {
    min-height: 240px;
    padding: 0.75rem 1rem;
    border: 1px solid #d0d5dd;
    border-radius: 0 0 0.375rem 0.375rem;
    background: #fff;
}

.sgq-rich-text-editor__surface :focus-visible[b-tsg4nbvu9d] {
    outline: none;
}

.sgq-rich-text-editor__surface table[b-tsg4nbvu9d] {
    border-collapse: collapse;
    width: 100%;
    margin: 0.5rem 0;
}

.sgq-rich-text-editor__surface td[b-tsg4nbvu9d],
.sgq-rich-text-editor__surface th[b-tsg4nbvu9d] {
    border: 1px solid #d0d5dd;
    padding: 0.4rem 0.6rem;
}

.sgq-rich-text-editor__surface th[b-tsg4nbvu9d] {
    background: #f2f4f7;
    text-align: left;
}

/* ---------------------------------------------------- barra de ferramentas
   Quebra em várias linhas de propósito: são sete grupos, e forçá-los numa
   linha só esconderia metade atrás de rolagem horizontal justamente na tela
   estreita, onde já é mais difícil formatar. */
.sgq-rich-text-editor__toolbar[b-tsg4nbvu9d] {
    flex-wrap: wrap;
    align-items: center;
}

.sgq-editor-grupo[b-tsg4nbvu9d] {
    display: flex;
    gap: 0.125rem;
    padding-right: 0.5rem;
    margin-right: 0.25rem;
    border-right: 1px solid #e4e7ec;
}

.sgq-editor-grupo:last-child[b-tsg4nbvu9d] {
    border-right: none;
}

.sgq-rich-text-editor__toolbar button[b-tsg4nbvu9d] {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.375rem;
    font-size: 0.8125rem;
    line-height: 1;
    color: #344054;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
}

.sgq-rich-text-editor__toolbar button:hover[b-tsg4nbvu9d] {
    background: #eef2f6;
}

/* O botão marcado mostra o que já está valendo no cursor. Sem isso a pessoa
   descobre que estava em negrito depois de digitar o parágrafo. */
.sgq-rich-text-editor__toolbar button.sgq-editor-ativo[b-tsg4nbvu9d] {
    color: #0b6b53;
    background: #e9f6f0;
    border-color: #0b6b53;
}

.sgq-editor-arquivo[b-tsg4nbvu9d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.375rem;
    font-size: 0.8125rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.sgq-editor-arquivo:hover[b-tsg4nbvu9d] {
    background: #eef2f6;
}

/* O input fica escondido, mas continua alcançável pelo teclado: some da vista
   sem sumir da navegação por Tab. */
.sgq-editor-arquivo input[type="file"][b-tsg4nbvu9d] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sgq-editor-link[b-tsg4nbvu9d] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid #d0d5dd;
    border-top: none;
    background: #f9fafb;
}

.sgq-editor-link input[b-tsg4nbvu9d] {
    flex: 1 1 16rem;
}

.sgq-editor-erro[b-tsg4nbvu9d] {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #d0d5dd;
    border-top: none;
}

/* Imagem inserida nunca estoura a largura do documento — e mantém a proporção
   quando o papel é mais estreito que a captura de tela original. */
.sgq-rich-text-editor__surface img[b-tsg4nbvu9d] {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.75rem 0;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-n4a80pw3hg],
.components-reconnect-repeated-attempt-visible[b-n4a80pw3hg],
.components-reconnect-failed-visible[b-n4a80pw3hg],
.components-pause-visible[b-n4a80pw3hg],
.components-resume-failed-visible[b-n4a80pw3hg],
.components-rejoining-animation[b-n4a80pw3hg] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-n4a80pw3hg],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-n4a80pw3hg],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-n4a80pw3hg],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-n4a80pw3hg],
#components-reconnect-modal.components-reconnect-retrying[b-n4a80pw3hg],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-n4a80pw3hg],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-n4a80pw3hg],
#components-reconnect-modal.components-reconnect-failed[b-n4a80pw3hg],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-n4a80pw3hg] {
    display: block;
}


#components-reconnect-modal[b-n4a80pw3hg] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-n4a80pw3hg 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-n4a80pw3hg 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-n4a80pw3hg 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-n4a80pw3hg]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-n4a80pw3hg 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-n4a80pw3hg {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-n4a80pw3hg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-n4a80pw3hg {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-n4a80pw3hg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-n4a80pw3hg] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-n4a80pw3hg] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-n4a80pw3hg] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-n4a80pw3hg] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-n4a80pw3hg] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-n4a80pw3hg] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-n4a80pw3hg 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-n4a80pw3hg] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-n4a80pw3hg {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
