/* --------------------------------- Variáveis Globais --------------------------------- */
/* Tag minimalista como 'aberto em' e 'Alternativos' nas notificações */
.tag-small {
  border-radius: 14px;
  padding: 1px 6px;
  background: #e9e9e9;
  border: 0.5px solid #cecece;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-small-blue {
    border-radius: 14px;
    padding: 1px 6px;
    background: #e9f0ff;
    border: 0.5px solid #0c4cac;
    color: #0c4cac;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dfac {
  display: flex !important;
  align-items: center !important;
}

/* a clicável padrão */
.custom-a-link {
  text-decoration: underline;
  cursor: pointer;
  color: #0a2a56;
  font-weight: 700;
  transition: color 200ms ease, transform 200ms ease;
  will-change: color, transform;
}

.small-info-table {
  color: gray;
  display: block;
  font-size: 11px;
}

.custom-a-link:hover,
.custom-a-link:focus {
  color: #0a2a56c2;
  transform: translateY(-1px);
  text-decoration: none;
  outline: none;
}

label.labels {
  font-size: 11px;
  color: gray !important;
}

/* span em vermelho */
span.red {
  color: rgb(255, 31, 31) !important;
}

.blue {
  color: #0056b3;
}

/* Ícone de alvo personalizado */
.custom-target::after {
  font-family: "Font Awesome 5 Free";
  /* versão do font awesome */
  font-weight: 900;
  content: "\f35d";
  /* unicode do botão */
  display: inline-block;
  margin: 0 5px 0 4px;
  font-size: 0.60em;
  vertical-align: middle;
  color: currentColor;
  /* pega a cor atual do texto */
}

.link-notificacao {
  display: inline-flex;
  align-items: center;
  border: none;
  padding: 0;
  background: transparent;
  color: var(--sidebarCatActived);
  transition: all 0.3s ease-in-out;
  /* só anima a cor */
}

.link-notificacao:hover {
  color: #043f7e;
  letter-spacing: 0.2px;
}

.tooltip-header {
  color: white !important;
  font-size: 13px !important;
  align-self: center !important;
  margin: 0px !important;
  transition: 3s all ease-in-out;
}

.tooltip-header:hover {
  font-size: 14px !important;
}

/* Tag de span com o small descritivo abaixo */
.span-small {
  display: flex !important;
  flex-direction: column !important;
  line-height: normal;
}
/* Small texto dentro do span */
.span-small small {
  font-size: 11px !important;
  color: gray !important;
}

/* ---------------------------------- Modal --------------------------------- */

.modal-body {
  max-height: 70vh !important;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ------------------------ Badges Customizadas -------------------------- */
.badge-bloqueado {
  background: #212221de;
  border: 1px solid #111111;
  padding: 3px 6px;
  font-size: 10px;
  border-radius: 6px;
  color: #ffffff;
  white-space: nowrap;
}

.badge-true {
  background: #e6ffe6;
  border: 1px solid #b3ffb3;
  padding: 3px 6px;
  font-size: 10px;
  border-radius: 6px;
  color: #317a3c;
  white-space: nowrap;
}

.badge-false {
  background: #ffeaea;
  border: 1px solid #ffb3b3;
  padding: 3px 6px;
  font-size: 10px;
  border-radius: 6px;
  white-space: nowrap;
  color: #a94442;
}

.badge-neutral {
  background: #f0f0f0;
  border: 1px solid #d4d4d4;
  padding: 3px 6px;
  font-size: 10px;
  border-radius: 6px;
  color: #606060;
  white-space: nowrap;
}

.action-disabled {
  opacity: 0.4;
  z-index: 10;
}

.action-disabled:hover {
  cursor: not-allowed !important;
}

.custom-badge-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #082c57 60%, #133968 100%);
  color: #fff;
  font-size: 1.2rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  font-weight: 100;
  border-radius: 50%;
  margin: 0px;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.205);
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  cursor: default;
  user-select: none;
}

.custom-badge-cards,
.custom-badge-cards-editar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #082c57 60%, #133968 100%);
  color: #fff;
  font-size: 1.2rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  font-weight: 100;
  margin: 3px 0 0 14px;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.205);
  position: relative;
  border: none;
}

.custom-badge-cards::after,
.custom-badge-cards-editar::after {
  font-family: "Font Awesome 5 Free";
  position: absolute;
  right: -5px;
  top: -5px;
  font-weight: 900;
  content: "\f35d";
  display: inline-block;
  font-size: 0.7em;
  background: #ffffff9c;
  border: 1px solid #265fa588;
  color: #265fa5;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.247);
}

.custom-badge-cards-editar::after {
  content: "\f303";
}

.custom-badge-view:hover,
.custom-badge-cards:hover,
.custom-badge-cards-editar:hover,
.custom-badge-cards-editar:focus,
.custom-badge-cards:focus {
  background: linear-gradient(90deg, #265fa5 60%, #022c57 100%);
  box-shadow: 0 4px 16px rgba(45, 111, 192, 0.295);
  transform: scale(1.01);
  outline: none;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
}

/* ---------------------- Botões ------------------------- */

.btn {
  border-radius: 3px;
  background: transparent;
}

.btn-small {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.2;
}

button,
.buttons,
.btn,
.modal-footer .btn+.btn {
  margin-bottom: 5px;
  margin-right: 5px;
}

.btn-light {
  background: white;
  border: 1px solid var(--buttonSuccess);
  height: 3.4rem;
  color: var(--textPrimary);
  font-weight: 500;
  transition: background-color .3s ease, transform .2s ease, box-shadow .2s ease;

  &:hover {
    background-color: var(--hoverLight);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  }

  &:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  }

  &:focus {
    outline: none;
  }
}

/* Botão estilo success (azul) */
.btn-success {
  background: var(--buttonSuccess) !important;
  border: none;
  height: 3.4rem;
  color: #fff;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    background-color: var(--hoverSuccess) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  &:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  &:focus {
    outline: none;
  }
}

/* Botão estilo danger (Vermelho) */
.btn-danger {
  background: var(--buttonDanger) !important;
  border: none;
  height: 3.4rem;
  color: #fff;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    background-color: var(--hoverDanger) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  &:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  &:focus {
    outline: none;
  }
}

/* Botão estilo Warning (Amarelo) */
.btn-warning {
  background: var(--buttonWarning) !important;
  border: none;
  height: 3.4rem;
  color: #fff;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    background-color: var(--hoverWarning) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  &:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  &:focus {
    outline: none;
  }
}

/* Botão com um contador em <span> */
.btn-com-contador {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 100;
  color: #fff;
  background: var(--primaryColor);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-com-contador span {
  color: var(--sidebarBackground);
  background-color: #fff;
  padding: 0px 6px;
  border: none;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.btn-com-contador:hover {
  background-color: var(--hoverPrimaryColor);
  transform: scale(1.03);
}

.btn-com-contador:active {
  transform: scale(0.98);
}

/* --------------------------- Alinhamento de Div --------------------------- */
.div-right {
  display: flex;
  align-items: center;
  justify-content: end;
}

/* ----------------- Mensageria (CTF e Notificações) ---------------- */
/* Pricila 25-08*/

.mensageria {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 60px;
}

.mensageriaECentral {
  background-color: #f7f7f7 !important;
  border: 1px solid #d9dee4;
  border-radius: 0px 0px 5px 5px;
  width: 330px !important;
}

.mensageriaECentral div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  padding: 5px 5px 0px 5px;
  margin: 0px 6px 0px 6px;
}

.mensageriaECentral div li {
  margin: 7px !important;
}

#not-notificacoes-sistema.active,
#not-central-tarefas.active {
  background-color: var(--hoverSuccess) !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  color: white !important;
}

#not-notificacoes-sistema.active a,
#not-central-tarefas.active span i,
#not-notificacoes-sistema.active span i {
  color: white !important;
}

#not-central-tarefas,
#not-notificacoes-sistema {
  background-color: white !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  border: 1px solid var(--hoverSuccess) !important;
  transition: all 0.2s ease-in-out;
}

#not-notificacoes-sistema:hover,
#not-central-tarefas:hover {
  background-color: none;
}

.central-tarefas a,
.notificacoesSistema a {
  padding: 10px 5px 10px 5px !important;
}

/* ----------------------  Notificações ------------------------- */
#listagemMensageria {
  display: block;
  height: 400px;
  /* background: white; */
  border: 1px solid #ccc !important;
  border-radius: 8px;
  padding: 0px !important;
  margin: 3px 17px 10px 17px !important;
}

/* Barra de scroll de notificações*/
.notificacoes::-webkit-scrollbar {
  width: 3px;
  /* largura da barra de rolagem (vertical) */
  background: transparent;
  /* cor de fundo da barra */
  border-radius: 100px;
}

/* Rolagem da barra de scroll (fundo) */
.notificacoes::-webkit-scrollbar-track {
  background: transparent;
}

/* a parte arrastável do scroll */
.notificacoes::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.438);
  border-radius: 10px;
  /* cantos arredondados */
}

/* Box das notificacoes geradas pelo js */
#notificacoesGeradas {
  display: flex;
  flex-direction: column;
  padding: 0px !important;
  margin: 0px !important;
  height: 100% !important;
  overflow: hidden;
}

.notificacoes {
  width: 100% !important;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

.div-notificacao {
  width: 100% !important;

  position: relative;
  cursor: grab;
  user-select: none;
  /* impede seleção de texto durante o arraste */
  transition: transform 0.2s ease;
  /* suaviza movimentos */
}

.div-notificacao.dragging {
  cursor: grabbing;
  transition: none;
  /* remove a transição enquanto arrasta */
}

#spanTitulo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px !important;
  margin: 0px !important;
  height: 7px;
  font-size: 10px;
  font-weight: 500;
}

/* Div das notificacões */
.div-notificacao {
  display: flex;
  align-items: center;
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

.div-notificacao.visualizarNotificacao {
  padding: 7px 10px !important;
  border-bottom: 0.5px solid #cececeff;
  margin: 0px !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.div-notificacao .conteudo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.spanNovaNotificacao {
  position: absolute;
  right: 16px;
  margin-top: 5px;
}

.spanNovaNotificacao i {
  font-size: 10px;
  color: gray !important;
}

.spanApagarNotificacao {
  position: absolute;
  right: 10px;
  color: gray !important;
  cursor: pointer;
  font-size: 10px !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.spanApagarNotificacao:hover {
  color: var(--buttonDanger) !important;
  transform: scale(1.1);
}

.divAcoesNotificacoes {
  padding: 5px !important;
  margin: 0px !important;
  display: flex;
  width: 100% !important;
  position: sticky;
  top: 0;
  border: none;
  border-radius: 10px 10px 0px 0px;
  z-index: 2 !important;
}

.divAcoesNotificacoes p:not(.span-notificacoes):hover {
  transition: all 0.3s ease-in-out;
  background-color: #e2e2e2b9;
}

/* notificações de CTF */
.div-notificacao:hover {
  background-color: #e2e2e2b9;
  cursor: pointer;
}

/* Botão de aceite da notificação */
.btnApagarNotificacao {
  position: absolute;
  z-index: 1;
  right: 15px;
  margin-top: 7px;
  color: rgb(138, 138, 138) !important;
  transition: all 0.3s ease, transform 0.2s ease;
}

.btnApagarNotificacao:hover {
  color: rgb(105, 105, 105) !important;
  transform: scale(1.1);
}

/* Marcar todas notificações como lidas */
.marcar-todas-notificacoes,
.visualizar-todas-notificacoes,
.btnApagarTodasNotificacoes {
  margin: 0px !important;
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 3px 6px !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  font-size: 10px;
}

.span-notificacoes {
  border: none !important;
  width: 170px;
  margin: 0px !important;
  border-radius: 30px;
  justify-content: center;
  align-items: center;
  text-align: left;
  font-size: 10px;
}

.span-notificacoes span.contador,
.span-notificacoes span.contador-nao-lidas {
  background-color: #ccc !important;
  border-radius: 20px;
  padding: 2px 4px;
  font-weight: 600;
  font-size: 10px;
  color: white;
}

.span-notificacoes:hover {
  transition: none !important;
  background-color: none !important;
}

.marcar-todas-notificacoes i,
.btnApagarTodasNotificacoes i,
.visualizar-todas-notificacoes i {
  color: rgb(138, 138, 138) !important;
}

/* Iniciais Usuário */
.div-icone-iniciais {
  position: relative;
}

.iniciaisUsuario {
  position: absolute;
  top: 67%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  color: var(--sidebarBackground);
  font-size: 8px;
  font-weight: 800;
}

/* Botão Visualizar Tarefa CTF Mensageria */
.btnVisualizarTarefa {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--hoverSuccess);
}

.btnVisualizarTarefa i {
  font-size: 19px !important;
  transition: all 0.2s ease-in-out;
}

.btnVisualizarTarefa i:hover {
  transform: scale(1.2);
}

/* Dropdown Engrenagem */
.dropdown-settings {
  width: 200px !important;
}

.dropdown-menu li {
  border: 0px !important;
}

/* ------------------------------- Informações ------------------------------ */
.info-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon {
  margin-left: 4px;
  color: var(--hoverSuccess);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.info-icon:hover {
  color: #0056b3;
  /* azul mais escuro no hover */
  transform: scale(1.1);
  /* leve zoom no hover */
}

/* ------------------------------ Classes Abreviadas ------------------------------ */

/* margens */
.m-0 {
  margin: 0 !important;
}

.ml35 {
  margin-left: 35px !important;
}
.mt10 {
  margin-top: 10px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.dnone {
  display: none !important;
}

.df {
  display: flex !important;
}

/* ------------------------ Estilização de tabelas gerais ----------------------------- */
/* A classe .tabela-processada é adicionada
  automaticamente via função adicionarFiltrosTabela, consequentemente adicionando
  todas as estilizações nescessárias padronizadas
*/

/* responsivo */
@media (max-width: 1050px) {

  .tabela-processada th,
  .tabela-processada td {
    padding: 6px 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .dataTables_wrapper {
    width: 100%;
    max-width: 100%;
    overflow: auto !important;
  }

  .dataTables_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 120px;
  }
}

/* Tabela */
.tabela-processada {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #fff;
  font-size: 13px;
  border: 1px solid #d0d4db;
  border-radius: 6px;
  min-width: 0;
}

.tabela-processada tbody tr:hover {
  background: #e5e7ebab;
  transform: scale(1.003);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s ease, border-left 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: none !important;
}

/* Cabeçalho da tabela */
.tabela-processada thead th {
  background: linear-gradient(180deg, #202a44 0%, #0a2a56 100%);
  color: #fff;
  padding: 10px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-align: left !important;
  white-space: nowrap !important;
  border: 1px solid #0e2240;
}


/* Células */
.tabela-processada tbody td {
  padding: 10px 14px !important;
  border: 1px solid #e5e7eb;
  /* cinza suave */
  vertical-align: middle;
  background-color: #ffffff10;
  /* leve transparência */
  backdrop-filter: blur(2px);
  transition: background-color 0.2s ease, color 0.2s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Linhas */
.tabela-processada tbody tr {
  transition: background-color 0.2s ease, transform 0.12s ease;
}

/* leve hover em linhas */
.tabela-processada tbody tr:hover {
  background: #e5e7ebab;
  transform: scale(1.003);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s ease, border-left 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: none !important;
}

/* th -> Linha de filtros */
.tabela-processada thead .filter-row th {
  background: #f1f3f7 !important;
  border: 1px solid #d9dce2;
  padding: 5px !important;
}

/* Inputs de filtros inline */
.tabela-processada .column-filter {
  width: 100%;
  padding: 5px 6px !important;
  font-size: 12px;
  border: 1px solid #c9ccd3;
  border-radius: 4px;
}

.tabela-processada #tabelaFuncoes_filter {
  width: 100px;
}

.table-loading {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  background-color: white !important;
}

.table-loading thead {
  color: transparent !important;
  background-color: transparent !important;
}

.table-loading::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: 30px;
  border: 3px solid #d9d9d9;
  border-top-color: #0c3c66;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  transform: translate(-50%, calc(-50% - 22px));
  z-index: 11;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ---------------------------- filtros inline em tabela ---------------------------- */
.custom-combo {
  position: relative;
  width: 100%;
  font-size: 10px;
}

.custom-combo-display {
  border: 1px solid #ccc;
  padding: 4px 6px;
  cursor: pointer;
  background: #fff;
  user-select: none;
}

.custom-combo-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}

.custom-combo-search {
  width: 98%;
  padding: 2px 4px;
  margin: 4px;
  font-size: 10px;
  border: 1px solid #ddd;
}

.custom-combo-option {
  padding: 4px 6px;
  cursor: pointer;
}

.custom-combo-option:hover {
  background: #e8e8e8;
}

.filter-row th {
  padding: .35rem .5rem !important;
  background: #f7f7f9 !important;
  border-bottom: 1px solid #ddd !important;
}

/* Inputs e selects */
.filter-row th input,
.filter-row th select {
  box-sizing: border-box !important;
  padding: .30rem .5rem !important;
  font-size: 1.3rem !important;
  color: rgb(71, 69, 69) !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  outline: none !important;
  height: 28px !important;
}

.column-filter.no-filter::placeholder {
  font-weight: 100;
}

.filter-row th input::placeholder {
  color: #999 !important;
  font-size: 1.3rem !important;
}

/* Foco igual ao input */
.filter-row th input:focus,
.filter-row th select:focus {
  border-color: #a6c8ff !important;
  box-shadow: 0 0 0 2px #e6f0ff !important;
}

/* Botões do Datatable */
.dt-buttons {
  position: absolute;
  background-color: transparent !important;
  right: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  top: -10px;
}

/* Dimensão igual para todos */
.dt-buttons .dt-button {
  width: 35px;
  height: 30px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: bold !important;
}

.dt-buttons .dt-button span {
  display: flex !important;
  flex-direction: column !important;
}

/* Ícones — TODOS CONSISTENTES */
.dt-buttons .dt-button .iconBtn {
  font-size: 14px !important;
  margin-bottom: 4px !important;
  display: inline-block !important;
}

/* Excel */
.dt-button.buttons-excel .iconBtn {
  background-image: none !important;
  color: rgb(40, 116, 40) !important;
}

/* PDF */
.dt-button.buttons-pdf .iconBtn {
  background-image: none !important;
  color: rgb(119, 37, 37) !important;
}

/* Print */
.dt-button.buttons-print .iconBtn {
  background-image: none !important;
  color: #082c57 !important;
}

/* Cores do texto */
.dt-button.buttons-excel {
  color: rgb(40, 116, 40) !important;
}

.dt-button.buttons-pdf {
  color: rgb(119, 37, 37) !important;
}

.dt-button.buttons-print {
  color: #082c57 !important;
}

/* Campo de busca (search) */
.dataTables_filter input {
  box-sizing: border-box !important;
  padding: .30rem .5rem !important;
  font-size: 1.2rem !important;
  color: rgb(71, 69, 69) !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  outline: none !important;
  background: #fafafa !important;
  transition: .2s ease !important;
  margin-top: 15px !important;
}

.dataTables_filter input:focus {
  border-color: #6aa6ff !important;
  box-shadow: 0 0 0 2px rgba(106, 166, 255, 0.25) !important;
}

/* Label “Buscar:” */
.dataTables_filter label {
  font-size: 1.2rem !important;
  color: rgb(71, 69, 69) !important;
  font-weight: 500 !important;
}

/* Select “resultados por página” */
.dataTables_length select {
  box-sizing: border-box !important;
  padding: .30rem .5rem !important;
  font-size: 1.2rem !important;
  color: rgb(71, 69, 69) !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  background: #fafafa !important;
  outline: none !important;
  transition: .2s ease !important;
}

.dataTables_length select:focus {
  border-color: #6aa6ff !important;
  box-shadow: 0 0 0 2px rgba(106, 166, 255, 0.25) !important;
}

/* Label do select */
.dataTables_length label {
  font-size: 1.2rem !important;
  color: rgb(71, 69, 69) !important;
  font-weight: 500 !important;
}

/* Organização horizontal */
.dataTables_filter {
  margin-bottom: 10px !important;
  margin-top: 15px !important;
}

.dataTables_length {
  position: absolute;
  top: 15px;
}

/* --------------------------------- Footer --------------------------------- */
:root {
  --footer-bg: #0b2954;
  --text-muted: #94a3b8;
  --primary: #ffffff;
}

.main-footer-container {
  padding: 6px 30px 6px 117px;
  font-size: 14px;
  background: var(--footer-bg);
  color: var(--text-muted);
  font-family: var(--font-display), sans-serif;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 20px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand.system-name > :first-child {
    margin-bottom: 5px;
}

.system-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.system-name small {
  font-weight: 400;
  font-size: 14px;
  opacity: 0.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  gap: 5px;
  justify-content: center;
  align-items: end;
}

.footer-nav a,
.footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.4s;
}

.footer-nav a:hover,
.footer-copy a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--primary);
}



.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}
.php-versions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    width: 30%;
}

.php-versions p {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 9px;
}

.php-versions i {
    font-size: 18px !important;
    opacity: 0.85;
    margin-right: 5px;
}

/* rótulos */
.php-label {
    opacity: 0.75;
}

/* destaque da versão */
.php-version {
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* versão atual */
.php-version.current {
    background-color: rgba(58, 123, 224, 0.15); /* destaque suave */
    margin-left: 4px;
    opacity: 0.85;
}

/* mínimo requerido */
.php-version.required-v {
    background-color: rgba(35, 81, 162, 0.15);
    margin-left: 4px;
    opacity: 0.85;
}

.footer-copy {
  font-size: 12px;
  text-align: center;
  align-self: center;
  margin: 0 auto;
  padding: 0 280px 0 0;
}

/* Seletor de status para o PHP */
.status-warning .php-icon { color: #ef4444; font-weight: bold; }
.status-ok .php-icon { opacity: 0.5; }
