/* Área interna da SEMMA (fase 1): listagens com paginação, aviso de componente não migrado e captcha do login. */
.sm-grid { width: 100%; margin: 8px auto 4px; overflow-x: auto; }
.sm-grid table.Grid { width: 100%; }
.sm-grid td { text-align: center; vertical-align: middle; }
.sm-grid td.sm-esq { text-align: left; }
.sm-acoes button, .sm-acoes a { border: 0; background: none; padding: 2px 4px; cursor: pointer; border-radius: 6px; }
.sm-acoes button:hover, .sm-acoes button:focus-visible { background: #eef7ec; }
.sm-acoes img { width: 24px; height: 24px; }
.sm-paginacao { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 4px; }
.sm-paginacao button { min-width: 42px; min-height: 36px; padding: 4px 12px; border: 1px solid #cfdccf; border-radius: 8px;
                       background: var(--pglam-cartao); color: #0f5132; font-weight: 600; cursor: pointer; }
.sm-paginacao button:hover:not(:disabled) { border-color: rgb(21, 142, 9); background: #eef7ec; }
.sm-paginacao button:disabled { opacity: .45; cursor: default; }
.sm-paginacao span { color: #5b6e5f; font-size: 14px; }
.sm-vazio { margin: 12px 0; color: #5b6e5f; text-align: center; }
.sm-componente { margin: 12px auto; padding: 14px 16px; max-width: 520px; border: 1px dashed #b9cdb9; border-radius: 10px;
                 background: var(--pglam-cartao); text-align: center; color: #1d2b20; }
.sm-componente strong { display: block; margin-bottom: 4px; color: #0f5132; }
.sm-componente small { color: #5b6e5f; }
/* Login_SEMMA: captcha */
.semma-captcha { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.semma-captcha-img svg { display: block; }
.semma-captcha-nova { width: 34px; height: 34px; border: 1px solid #cfdccf; border-radius: 8px; background: var(--pglam-cartao); color: #0f5132;
                      font-size: 18px; cursor: pointer; }
.semma-captcha input { width: 160px; height: 30px; text-align: center; font-family: Verdana, sans-serif; font-weight: 700;
                       letter-spacing: .2em; text-transform: uppercase; border: 1px solid #0f5132; border-radius: 4px; }
@media (max-width: 640px) {
  .sm-grid table.Grid, .sm-grid tbody, .sm-grid tr, .sm-grid td { display: block; width: 100%; box-sizing: border-box; }
  .sm-grid thead { display: none; }
  .sm-grid tr { margin-bottom: 10px; border: 1px solid #cfe0cc; border-radius: 10px; overflow: hidden; }
  .sm-grid td { border: 0; text-align: left; }
  .sm-grid td[data-rotulo]::before { content: attr(data-rotulo); display: block; color: #5b6e5f; font-size: 12px;
                                     font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
}
/* ResolverPendenciaAuditor (pglam/paineis/pendencia_auditor.py): popup em cartões. */
.rpa { max-width: 900px; margin: 0 auto; padding: 8px 16px 16px; box-sizing: border-box; }
.rpa-titulo { margin: 4px 0 12px; text-align: center; font-size: 18px; }
.rpa-titulo-texto { color: #0f5132; font-weight: 700; letter-spacing: .04em; }
.rpa-cartao { margin: 0 0 14px; padding: 12px 16px; border: 1px solid #cfe0cc; border-radius: 10px; background: var(--pglam-cartao); }
.rpa-subtitulo { margin: 0 0 8px; color: #0f5132; font-size: 15px; font-weight: 700; }
.rpa-subtitulo-texto { color: rgb(39, 95, 35); font-weight: 700; }
.rpa-dados { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 16px; }
.rpa-dados .rpa-largo { grid-column: 1 / -1; }
.rpa-dados .form-group { margin-bottom: 4px; }
.rpa-texto { white-space: pre-wrap; }
.rpa-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
.rpa-linha { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; }
.rpa-cresce { flex: 1 1 260px; }
.rpa-acao { padding-bottom: 12px; }
.rpa-centro { text-align: center; margin: 8px 0; }
.rpa-erro { display: block; margin: 4px 0; color: rgb(216, 26, 26); font-weight: 600; }
.rpa-destinatario { margin: 0 0 6px; }
.rpa-destinatario label { margin-left: 6px; }
.rpa-upload { margin: 8px 0; }
.rpa-transferir { color: rgb(12, 53, 255); font-size: 15px; font-weight: 700; }
.rpa-botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 8px 0; }
.rpa-rodape { margin-top: 16px; }
.rpa-excluir { min-width: 32px; min-height: 32px; color: rgb(216, 26, 26); font-weight: 700; }
#vENCAMINHAMENTOAUDITORRESPOSTA { width: 100%; max-width: 60ch; box-sizing: border-box; }
