/* ****************************************************************************************
 * Estilos da correção ortográfica automática nos campos de texto do FrotiX.
 **************************************************************************************** */

.ftx-spellcheck-host {
    position: relative;
    min-width: 0;
}

.ftx-spellcheck-host > .ftx-spellcheck-highlight-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    color: #212529;
    background: transparent;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: inherit;
}

.ftx-spellcheck-host > .ftx-spellcheck-highlight-layer mark {
    padding: 0 .08em;
    border-radius: .18rem;
    color: inherit;
    background: rgba(255, 190, 92, .34);
    box-shadow: inset 0 -1px 0 rgba(255, 107, 53, .32);
}

.ftx-spellcheck-host > .ftx-spellcheck-field {
    position: relative;
    z-index: 1;
}

.ftx-spellcheck-host.ftx-spellcheck-active > .ftx-spellcheck-field {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background-color: transparent !important;
    caret-color: #212529;
}

.ftx-spellcheck-host > .ftx-spellcheck-status {
    display: none;
    position: relative;
    z-index: 2;
    margin-top: .22rem;
    color: #b42318;
    font-size: .72rem;
    line-height: 1.25;
}

.ftx-spellcheck-host > .ftx-spellcheck-status.is-visible {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .ftx-spellcheck-host > .ftx-spellcheck-highlight-layer mark {
        transition: none;
    }
}
