/* FORÇA PALETA DARK (quando as configs do T4 não aplicam como esperado) */
.t4-palette-dark{
  background-color: #212529 !important;
  color: #ffffff !important;
}

/* Títulos dentro da área dark */
.t4-palette-dark h1,
.t4-palette-dark h2,
.t4-palette-dark h3,
.t4-palette-dark h4,
.t4-palette-dark h5,
.t4-palette-dark h6{
  color: #ffffff !important;
}

/* Texto “normal” (parágrafos, spans, etc.) */
.t4-palette-dark p,
.t4-palette-dark span,
.t4-palette-dark small,
.t4-palette-dark li,
.t4-palette-dark .module-title,
.t4-palette-dark .page-header{
  color: rgba(255,255,255,.88) !important;
}

/* Links (inclui estados visitado/foco/ativo) */
.t4-palette-dark a,
.t4-palette-dark a:visited,
.t4-palette-dark a:active,
.t4-palette-dark a:focus{
  color: #ffffff !important;
  text-decoration: none;
}

/* Hover dos links (mantém branco, só dá leve destaque) */
.t4-palette-dark a:hover{
  color: #ffffff !important;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.55);
}

/* Ícones (Font Awesome, SVG, etc.) */
.t4-palette-dark i,
.t4-palette-dark svg{
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Bordas/divisórias comuns */
.t4-palette-dark hr{
  border-color: rgba(255,255,255,.18) !important;
  opacity: 1;
}

/* Campos e botões dentro do dark (se houver) */
.t4-palette-dark .form-control,
.t4-palette-dark input,
.t4-palette-dark textarea,
.t4-palette-dark select{
  background-color: rgba(255,255,255,.06) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.18) !important;
}
.t4-palette-dark .form-control::placeholder,
.t4-palette-dark input::placeholder,
.t4-palette-dark textarea::placeholder{
  color: rgba(255,255,255,.55) !important;
}
