/* Estilos vindos dos módulos integrados (Saúde, Educação, Obras e Terceirizados). */
.saltos a { position: absolute;
  left: -9999px;
  z-index: 2000;
  background: #111827;
  color: #fff;
  padding: 0.5rem 1rem; }
.saltos a:focus { left: 0.5rem;
  top: 0.5rem; }
main:focus { outline: none; }
.barra-acessibilidade .btn-link { color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 0.1rem 0.45rem; }
.navbar .nav-link { color: var(--primary-dark); }
.navbar .nav-link.active { color: #0284c7 !important; }
.table-consulta { font-size: 0.9rem; }
.table-consulta thead th { background: #f8fafc;
  color: var(--primary-dark);
  font-weight: 600;
  white-space: nowrap; }
.table-consulta td,
.table-consulta th { padding: 0.7rem 0.9rem;
  vertical-align: middle; }
.table-consulta tbody tr:last-child td { border-bottom: 0; }
.page-link { color: var(--primary-dark); }
.page-item.active .page-link { background-color: var(--primary-dark);
  border-color: var(--primary-dark); }
/* Menu do painel: usa o fundo escuro do app.css (sem sobrescrever a cor aqui). */
.admin-sidebar { width: 260px;
  flex-shrink: 0; }
.admin-principal { min-width: 0; }
.table-responsive.feature-box,
form.feature-box,
.feature-box.mb-3,
.feature-box.mb-4 { height: auto; }
.tipo-ubs { --tipo-fundo: #e0f2fe; --tipo-texto: #0369a1; }
.tipo-hospital { --tipo-fundo: #fee2e2; --tipo-texto: #b91c1c; }
.tipo-especialidades { --tipo-fundo: #ede9fe; --tipo-texto: #6d28d9; }
.tipo-caps { --tipo-fundo: #ccfbf1; --tipo-texto: #0f766e; }
.tipo-farmacia { --tipo-fundo: #dcfce7; --tipo-texto: #15803d; }
.tipo-laboratorio { --tipo-fundo: #fef3c7; --tipo-texto: #a16207; }
.tipo-vigilancia { --tipo-fundo: #fce7f3; --tipo-texto: #be185d; }
.tipo-outro { --tipo-fundo: #e2e8f0; --tipo-texto: #334155; }
.tipo-badge { background-color: var(--tipo-fundo);
  color: var(--tipo-texto); }
.unidade-card { border-top: 4px solid var(--tipo-texto); }
.mapa-unidade iframe { border: 0;
  border-radius: 0.5rem; }
.mapa-unidade { --bs-aspect-ratio: 100%; }
.publicacao-pdf { display: block;
  width: 100%;
  height: 75vh;
  border: 0; }
.table-responsive.feature-box { overflow-y: hidden; }
.tipo-creche { --tipo-fundo: #fce7f3; --tipo-texto: #be185d; }
.tipo-infantil { --tipo-fundo: #fef3c7; --tipo-texto: #a16207; }
.tipo-fundamental { --tipo-fundo: #e0f2fe; --tipo-texto: #0369a1; }
.tipo-integral { --tipo-fundo: #ede9fe; --tipo-texto: #6d28d9; }
.tipo-campo { --tipo-fundo: #dcfce7; --tipo-texto: #15803d; }
.tipo-eja { --tipo-fundo: #ccfbf1; --tipo-texto: #0f766e; }
.vagas-numero { font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-dark); }
.vagas-progresso { height: 0.5rem; }
.unidade-acima { border-color: #dc3545;
  box-shadow: 0 0 0 1px #dc3545; }
.documento-pdf { display: block;
  width: 100%;
  height: 70vh;
  border: 0; }
.card-shadow { box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08); }
.obra-card { background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.15s ease; }
.obra-card:hover { box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.15);
  transform: translateY(-2px); }
.situacao-badge { padding: 0.35rem 0.85rem;
  border-radius: 50rem;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-block; }
.situacao-nao_iniciada { background-color: #f1f5f9; color: #475569; }
.situacao-em_andamento { background-color: #e0f2fe; color: #0369a1; }
.situacao-paralisada { background-color: #fee2e2; color: #b91c1c; }
.situacao-concluida { background-color: #dcfce7; color: #15803d; }
.pie-chart { width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  flex-shrink: 0; }
.filtro-card { background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.25rem; }
.panel-card { background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--border-color); border-radius: 1rem; padding: 1.1rem 1.25rem; height: 100%; }
.stat-card .num { font-size: 1.8rem; font-weight: 700; color: var(--primary-dark); line-height: 1.1; }
.stat-card .rot { font-size: 0.85rem; color: var(--text-muted); }
.doc-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem; border: 1px solid var(--border-color); border-radius: 0.75rem; background: #fff; }
.doc-item .icon-wrapper { margin-bottom: 0; flex-shrink: 0; }
