.cv-chat-header-button {
    --cv-chat-icon-size: 24px;

    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: color .2s ease, background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.cv-chat-header-button:hover {
    transform: translateY(-1px);
}

.cv-chat-header-button:active {
    transform: translateY(0);
}

.cv-chat-header-button:focus {
    outline: 0;
}

.cv-chat-header-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.cv-chat-header-button svg,
.cv-chat-header-button i {
    display: block;
    width: var(--cv-chat-icon-size);
    height: var(--cv-chat-icon-size);
    font-size: var(--cv-chat-icon-size);
    line-height: 1;
    pointer-events: none;
}

.cv-chat-header-button svg {
    fill: currentColor;
}

.cv-chat-header-button svg[fill="none"] {
    fill: none;
}

/*
 * Oculta apenas o botão flutuante original do assistente.
 * O painel e o conteúdo do chat continuam disponíveis.
 */
html.cv-chat-header-hides-original #bfav-root [data-bfav-launcher],
html.cv-chat-header-hides-original #bfav-root .bfav-fab,
html.cv-chat-header-hides-original #bfav-root .bfav-launcher,
html.cv-chat-header-hides-original #bfav-root .bfav-toggle,
html.cv-chat-header-hides-original #bfav-root .bfav-avatar-button,
html.cv-chat-header-hides-original #cvva-root .cvva-launcher,
html.cv-chat-header-hides-original #cvva-root .cvva-toggle,
html.cv-chat-header-hides-original #cv-chat-root .cv-chat-launcher,
html.cv-chat-header-hides-original #cv-chat-root .cv-chat-toggle,
html.cv-chat-header-hides-original [data-cv-chat-original-launcher="1"] {
    display: none !important;
}
