.sc-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 8px;
    border-radius: 50%;
    border: 1px solid #3fd0ff;
    background: transparent;
    color: #3fd0ff;
    font-weight: 700;
    font-size: .85rem;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
}

.sc-help-btn:hover {
    background: rgba(63, 208, 255, .12);
}

/* Em vez de um corte abrupto (empurra OU sobrepõe), o painel encolhe de forma fluida junto
   com a janela (clamp), então o empurrão continua "cabendo" numa faixa bem maior de tamanhos
   — ver AjudaUiState e os dois MainLayout.razor. Só em telas de celular (abaixo de 640px) não
   há mesmo espaço pra dividir a tela, e o painel volta a sobrepor o conteúdo. */
.sc-main-com-ajuda {
    margin-right: clamp(300px, 34vw, 420px);
}

.sc-help-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: clamp(300px, 34vw, 420px);
    background: #0b1a2a;
    color: #eaf6fb;
    border-left: 1px solid rgba(63, 208, 255, .25);
    box-shadow: -8px 0 24px rgba(0, 0, 0, .35);
    z-index: 1201;
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) {
    .sc-main-com-ajuda {
        margin-right: 0;
    }

    .sc-help-panel {
        width: 100vw;
    }
}

.sc-help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sc-help-header h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #eaf6fb;
}

.sc-help-close {
    background: transparent;
    border: none;
    color: #8fb4c7;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.sc-help-close:hover {
    color: #eaf6fb;
}

.sc-help-body {
    padding: 20px;
    overflow-y: auto;
}

.sc-help-descricao {
    color: #eaf6fb;
    margin-top: 0;
}

.sc-help-secao {
    margin-top: 20px;
}

.sc-help-secao h3 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #3fd0ff;
    margin: 0 0 8px;
}

.sc-help-secao p {
    margin: 0;
    color: #8fb4c7;
}

.sc-help-campos {
    margin: 0;
}

.sc-help-campo {
    padding: 6px 8px;
    margin: 0 -8px;
    border-radius: 8px;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.sc-help-campo + .sc-help-campo {
    margin-top: 6px;
}

/* Aplicada via help.js quando o campo correspondente é clicado/focado na tela — ver
   data-ajuda-campo (no formulário) e data-ajuda-campo-alvo (aqui). */
.sc-help-campo-destacado {
    background: rgba(63, 208, 255, .14);
    box-shadow: inset 3px 0 0 #3fd0ff;
}

.sc-help-campo-nome {
    margin: 0;
    color: #eaf6fb;
    font-weight: 600;
    font-size: .92rem;
}

.sc-help-campo-desc {
    margin: 2px 0 0;
    color: #8fb4c7;
    font-size: .85rem;
}
