/* Portal da Transparência: tudo usa o prefixo rt- para não brigar com o tema.
   As cores são translúcidas para funcionar em fundo claro ou escuro. */

.rt-bloco { margin: 1.5em 0; }
.rt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rt-filtros { display: flex; flex-wrap: wrap; gap: 0.75em 1em; align-items: flex-end; margin: 0 0 1em; padding: 0.9em 1em; background: rgba(127, 127, 127, 0.1); border-radius: 6px; }
.rt-filtros label { display: flex; flex-direction: column; gap: 0.25em; font-size: 0.85em; }
.rt-filtros select, .rt-filtros input[type=search] { min-width: 9em; max-width: 100%; }
.rt-filtros-acoes { display: flex; gap: 0.75em; align-items: center; }
.rt-botao { cursor: pointer; }

.rt-tabela-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rt-tabela { width: 100%; border-collapse: collapse; font-size: 0.95em; }
.rt-tabela th, .rt-tabela td { padding: 0.6em 0.7em; border-bottom: 1px solid rgba(127, 127, 127, 0.3); text-align: left; vertical-align: top; }
.rt-tabela thead th { background: rgba(127, 127, 127, 0.14); font-weight: 600; white-space: nowrap; }
.rt-tabela .rt-num { text-align: right; white-space: nowrap; }
.rt-tabela tfoot td { font-weight: 600; border-top: 2px solid rgba(127, 127, 127, 0.4); }

.rt-selo { display: inline-block; margin-left: 0.4em; padding: 0.05em 0.6em; border-radius: 999px; font-size: 0.75em; font-weight: 600; white-space: nowrap; background: rgba(127, 127, 127, 0.18); }
.rt-selo-vigente { background: rgba(46, 160, 67, 0.2); }
.rt-selo-encerrada { background: rgba(127, 127, 127, 0.22); }
.rt-selo-a-iniciar { background: rgba(210, 153, 34, 0.25); }

.rt-vazio { padding: 1em; background: rgba(127, 127, 127, 0.1); border-radius: 6px; }

.rt-ficha { display: grid; grid-template-columns: minmax(10em, 17em) 1fr; gap: 0.5em 1.25em; margin: 0 0 1.5em; }
.rt-ficha dt { font-weight: 600; }
.rt-ficha dd { margin: 0; }
.rt-subtitulo { margin: 1.5em 0 0.5em; }
.rt-docs { list-style: none; margin: 0 0 1em; padding: 0; }
.rt-docs li { padding: 0.4em 0; border-bottom: 1px solid rgba(127, 127, 127, 0.25); }
.rt-doc-tipo { display: inline-block; min-width: 11em; font-size: 0.85em; opacity: 0.75; }
.rt-complemento { margin-top: 1.5em; }
.rt-voltar { margin-top: 2em; }
.rt-atualizacao { font-size: 0.9em; opacity: 0.8; }

@media (max-width: 600px) {
	.rt-ficha { grid-template-columns: 1fr; gap: 0; }
	.rt-ficha dd { margin-bottom: 0.75em; }
	.rt-doc-tipo { display: block; min-width: 0; }
	.rt-filtros label, .rt-filtros select, .rt-filtros input[type=search] { width: 100%; }
}

@media print {
	.rt-filtros { display: none; }
	.rt-tabela-wrap { overflow: visible; }
}
