/* ============================================================
   TIOT.dev / admtools framework / ChatGPT
   ------------------------------------------------------------
   Estilos globais do sistema:
     - Layout responsivo e componentes base
     - Grid listrado com cabeçalho fixo e modo card mobile
   ------------------------------------------------------------
   Autor: TIOT.dev / ChatGPT
   Versão: 2025.10
   Framework base: admtools v3
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
    body { margin: 5px; font-family: system-ui, Arial, sans-serif; background: #fff; color: #111; line-height: 1.5; }
    :root{
      --border: #00000007;
      --muted: #6a6a6a;
      --radius: 12px;
      --shadow: 0 2px 6px rgba(0,0,0,0.05);
      --gap: 16px;
      --placeholder:#00000055;
      --borderColorCampos:#454545;
    }

  
  .main-content, .page-wrapper, .container, main {
  overflow-x: visible !important;
} 
    
    
html {
  /* 50px (header) + 40px (respiro das 3 linhas) = 90px */
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}    
    
    
 header {
  background: black;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
 
}

header .app-title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}



 
 
/*-- loading -- */

 #loading {
	
 
	position: absolute;
	left: 50%;
	top: 50%;
	z-index:  9999999;
	margin: -10px 40px 40px -10px;
	border: 5px solid #ccc;
	border-radius: 50%;
	border-top: 0px solid #ccc;
	width: 50px;
	height: 50px;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
} 
 
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}


 .blink {
            animation: blink 1s step-start 3 forwards;
            
        }
         @keyframes blink {
             
            0% { opacity: 1; }   /* Começa visível */
            25% { opacity: 0; }  /* Some */
            50% { opacity: 1; }  /* Volta a aparecer */
            100% { opacity: 1; } /* Mantém visível por xs */
        } 

 @keyframes blink_infinite {
  50% {
    opacity: 0.0;
  }
}
.blink_infinite {
  animation: blink 1s step-start 0s infinite;
}
/* ---------- MENU LATERAL esquerda---------- */
/*
#side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
  transform: translateX(-100%);
  z-index: 9999;
  padding-top: 70px;
  overflow-y: auto;
}
*/

/* ---------- MENU LATERAL (  DIREITA) ---------- */
 
 #side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
  transform: translateX(100%);
  z-index: 9999;
  overflow-y: auto;
}

/* Estado ativo */
#side-menu.active {
  transform: translateX(0);
  right: 0;
}

/* OVERLAY */
#menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 9998;
}
#menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}


/* ---------- HEADER INTERNO DO MENU ---------- */
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
 
  top: 0;
  z-index: 10;
}

.menu-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

#menu-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #555;
  transition: transform 0.2s, color 0.2s;
}

#menu-close:hover {
  color: #000;
  transform: rotate(90deg);
}



/* foto usuario */ 
 .profile-photo-ico {
      width: 25px;
      height: auto;
      border-radius: 50%;
    
        
      
      display: block;
    }
    
     .profile-photo {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      border: 5px solid #fff;
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
      object-fit: cover;
      margin: 30px auto 20px;
      display: block;
    }
 
/* ITENS */
#side-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#side-menu li {
  border-bottom: 1px solid #eee;
}
#side-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 24px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: background 0.25s ease, padding-left 0.25s;
  position: relative;
}
#side-menu a:hover {
  background: rgba(0, 123, 255, 0.08);
  color: #454545;
  padding-left: 30px;
}
#side-menu a.active {
  background: rgba(0, 123, 255, 0.12);
  color: #454545;
  font-weight: 600;
}
#side-menu a.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #f0f4ff;
  border-radius: 4px 0 0 4px;
}
.menu-icon {
  width: 20px;
  opacity: 0.85;
  transition: transform 0.25s, opacity 0.25s;
}
#side-menu a:hover .menu-icon {
  transform: scale(1.1);
  opacity: 1;
}

#side-menu ul li a {
  display: flex;
  align-items: center;       /* ícone e texto alinhados verticalmente */
  gap: 10px;                 /* espaço fixo entre ícone e texto */
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  border-radius: 6px;
}

/* Ícones com tamanho uniforme e alinhamento */
#side-menu ul li a .menu-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;            /* evita distorção */
  display: block;
}

/* Corrige também hover e foco */
#side-menu ul li a:hover {
  background: rgba(0, 0, 0, 0.05); /* onmouseover link menu */
}

 

#side-menu ul li a:hover .menu-icon {
  opacity: 1;
  transform: scale(1.1);
}

#side-menu ul li a:hover::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #454545;
  border-radius: 4px 0 0 4px;
}

#side-menu ul li a.active {
  background:rgba(0, 0, 0, 0.05);;
  font-weight: 600;
}
#side-menu ul li a.active .menu-icon {
  opacity: 1;
  filter: drop-shadow(0 0 2px rgba(0, 123, 255, 0.5));
}

/* Linha lateral fixa para item ativo */
#side-menu ul li a.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #454545;  // /* Linha lateral fixa para item ativo */
  border-radius: 4px 0 0 4px;
}


/* RESPONSIVO */
@media (max-width: 768px) {
  #side-menu {
    width: 260px;
  }
}

/* ---------- RESPONSIVO DESKTOP ---------- */
@media (min-width: 768px) {
  #menu-toggle {
    cursor: pointer;
  }

  #side-menu {
    width: 300px;
  }
}

 /*--  END MENu suspenso*/
 
 
 
 
 /*-- div efeito invert todos elementos da div */
 .divinvert {
    /* Estilos iniciais do container */
 
  	 color: black;
    transition: filter 0.3s ease; /* Adiciona uma transição suave ao efeito */
    padding: 4px 6px;
  	 border-radius: 4px;
  	 cursor:pointer;
}

.divinvert:hover {
    /* Aplica o filtro 'invert' em 100% (inversão completa) a todos os elementos dentro do container */
    filter: invert(100%); 
    background: #ccc;
  	 color: #fff;
}

/* Opcional: Para garantir que a transição seja suave em todos os elementos */
 

 /*-- end div efeito invert todos elementos da div */
 
 
 
 
 
 

 /* input com lupa */
.input-com-lupa {
    background-image: url('../imagens/lupasearch.svg');
    background-repeat: no-repeat;
    /* Move a imagem para a direita (right), centralizada verticalmente (center) */
    background-position: right 10px center;
    /* Define o tamanho da lupa */
    background-size: 22px 22px; 

    /* Remove o padding da esquerda, se houver */
    padding-left: 10px; 
    /* Adiciona padding à direita para o texto não ficar por cima da imagem */
    padding-right: 40px; /* Ajuste: largura do ícone + espaço */

    /* ... outros estilos de input ... */
    width: 250px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .input-com-lupa {
        display: none; 
    }
}
 
   /* end input com lupa */

     
/*--  Idioma  language -->
 
 
 
 
 .lang-selector {
  position: relative;
  margin-left: 1rem;
}
*/


.lang-selector img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid #ddd;
}


.lang-menu div {
  display: flex;
  align-items: center;   /* alinha verticalmente */
  gap: 6px;              /* espaço entre bandeira e texto */
  padding: 4px 8px;
  cursor: pointer;
}

.lang-menu div:hover {
  background: #f5f5f5;
}

.lang-menu img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;        /* garante que a bandeira não deforme */
}

.lang-menu {
  display: none;
  position: absolute;
 
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 1000;
}

 




    header h1 {
      font-size: 1.5rem;
      margin: 0;
    }

    header a {
      color: #000;
      text-decoration: none;
      font-size: 0.95rem;
    }
    
    
.input-lupa {
  position: relative;
  display: inline-block;
}

.input-lupa input {
  width: 220px;
  padding: 8px 8px 8px 30px; /* espaço p/ a lupa */
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.input-lupa::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url('../imagens/lupasearch.svg') no-repeat center;
  background-size: 16px 16px;
  opacity: 0.2; /* apenas a lupa */
  pointer-events: none;
}

.input-lupa input:focus {
  outline: none;
  border-color: #0b1834;
  box-shadow: 0 0 4px rgba(11, 24, 52, 0.4);

  }

.containerCard {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 2fr; /* padrão: 1 por linha */
  gap: 1.5rem;
}
 
/* header checkbox e largura enxuta */
.col-checkbox { text-align:center; width: 36px; }

/* hover / zebra iguais aos seus */
.row-even-listrado > .grid-item-listrado { background:#f0f5eb; }
.row-odd-listrado  > .grid-item-listrado { background:#fff; }
.grid-row-listrado:hover > .grid-item-listrado { background:#6c9367; color:#fff;  }

/* mobile: esconde o "header label" do checkbox para não duplicar */
@media (max-width: 400px) {
  .grid-container-listrado .grid-item-listrado[data-label='checkboxAllLista'] { display:none !important; }
  .col-checkbox[data-label]::before { content:none !important; }
  .col-checkbox input[type="checkbox"] { transform:scale(1.22); }
}


/* A partir de 600px → 3 colunas */
@media (min-width: 600px) {
  .containerCard {
    grid-template-columns: repeat(2, 3fr);
  }
}

/* A partir de 900px → 4 colunas  */
@media (min-width: 900px) {
  .containerCard {
    grid-template-columns: repeat(4, 1fr);
  }
}
 
 
 
  
 
/* card */


 .card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem; /* Aumentado levemente para facilitar o toque */
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    display: flex;
    align-items: center; /* Centraliza verticalmente itens no mobile */
    gap: 1rem;
    cursor: pointer;
    
    
max-height: 70vh; /* No mobile, 70% da altura da tela é mais seguro */
    overflow-y: auto !important;
    overflow-x: hidden;
    /* ESSENCIAL PARA MOBILE */
    -webkit-overflow-scrolling: touch; 
    display: block; /* Garante que o container se comporte como bloco */
    
    /* Evita o destaque azul padrão do Android ao tocar */
    -webkit-tap-highlight-color: transparent; 
  }

  /* Efeito de destaque (Desktop e Mobile) */
  .card:hover, .card:active {
    background-color: #f9f9f9;
    filter: brightness(0.95);
    border-color: #ddd;
    transform: translateY(-4px);
  }

  /* No Mobile, reduzimos o deslocamento para não parecer instável */
  @media (max-width: 768px) {
    .card:hover {
      transform: translateY(-2px); /* Deslocamento menor no toque */
    }
    
    .card {
      padding: 0.8rem; /* Ajuste fino de espaçamento */
    }
  }
    

    .icon {
      width: 40px;
      height: 40px;
   
      border-radius: 8px;
      flex-shrink: 0;
    }
    
.icon-md {
  width: 22px;
  height: 22px;
}

.icon-lg {
  width: 26px;
  height: 26px;
}

.icon:hover {
  color: #1E73BE;
}

    .card h3 {
      margin: 0;
      font-size: 1.1rem;
    }

    .card p {
      margin: 0.3rem 0 0;
      font-size: 0.95rem;
      color: #555;
    }
    
       .cardSection {
      background: #fff;
      border-radius: 12px;
      padding: .7rem;
      border: 1px solid #eee;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      
    }

    footer {
      text-align: center;
      padding: 2rem 1rem;
      font-size: 0.9rem;
      border-top: 1px solid #eee;
      margin-top: 2rem;
    }
    
 
 

.btns_Imgdownload {
  display: flex;
  flex-direction: column;   /* empilha em coluna */
  gap: 10px;                /* espaço entre botões */
  width: 160px; 
  align-items: center;      /* centraliza */
}

.btns_Imgdownload button {
  display: inline-flex;     
    align-items: center;       
    justify-content: center;  /* centraliza conteúdo no botão */
    gap: 6px;                 
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    width: 100%;               /* todos com a mesma largura */
   transition: background .5s, color .5s; 
}


.btns_Imgdownload button img {
    width: 20px;
    height: auto;
    display: block;
     transition: filter .5s;
  }


.btns_Imgdownload button:hover {
  background: #000;         /* preto no hover */
  color: #fff;              /* texto branco */
  border-color: #000;
}

.btns_Imgdownload button:hover img {
  filter: invert(1);       /* inverte a cor do ícone (fica branco) */
}  
  
.layout70x30 {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 20px; /* espaço entre colunas */
  align-items: start; /* alinha no topo */
}

/* Coluna 1 (formulário) */
.col1_layout70x30 {
  padding: 10px;
}

 

.col2_layout70x30 {
  display: flex;
  flex-direction: column; /* empilha em coluna */
  align-items: center;    /* centraliza horizontal */
  justify-content: flex-start; /* garante que os botões fiquem logo abaixo */
}

.col2_layout70x30 .btns-download {
  display: flex;
  flex-direction: column;   /* empilha em coluna */
  gap: 10px;                /* espaço entre botões */
  width: 160px; 
  align-items: center;      /* centraliza */
}

.col2_layout70x30 .btns-download button {
  display: inline-flex;     
    align-items: center;       
    justify-content: center;  /* centraliza conteúdo no botão */
    gap: 6px;                 
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    width: 100%;               /* todos com a mesma largura */
   transition: background .5s, color .5s; 
}


.col2_layout70x30 .btns-download button img {
    width: 20px;
    height: auto;
    display: block;
     transition: filter .5s;
  }


.col2_layout70x30 .btns-download button:hover {
  background: #000;         /* preto no hover */
  color: #fff;              /* texto branco */
  border-color: #000;
}

.col2_layout70x30 .btns-download button:hover img {
  filter: invert(1);       /* inverte a cor do ícone (fica branco) */
}


.download-label {
  
font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
  }

  #id_namefileqrcode {
    width: 100%;
    font-size: 11px;
    margin-bottom: 12px;
  }  
  

/* Responsivo: em telas menores, vira 1 coluna */
@media (max-width: 768px) {
  .layout70x30 {
    grid-template-columns: 1fr; /* só 1 coluna */
  }

  .col2_layout70x30 {
    margin-top: 20px; /* espaço embaixo do form */
  }
}
 

  .img-col {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .img-col img {
  width: auto;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  
  
  
  
/* ===========================================
TIOT.dev GRID RESPONSIVO AVANÇADO
=========================================== */

  .grid{ padding:8px; display: grid; gap: var(--gap); }
  
  .cols-1{ grid-template-columns: 1fr; }
  .cols-2{ grid-template-columns: repeat(2,1fr); }
  .cols-3{ grid-template-columns: repeat(3,1fr); }
  .cols-4{ grid-template-columns: repeat(4,1fr); }
  
	.cols-2-10per90per{ grid-template-columns: 10% 90%;   }  
  
   
  
  .cols-2-20per80per{ grid-template-columns: 20% 80%;   }
  
  .cols-2-50per50per{ grid-template-columns: 50% 50%;   }
  
  .cols-2-80per20per { grid-template-columns: 80% 20%;   }
  .cols-3-33per{ grid-template-columns: 33% 33% 34% ;   }
  
  .cols-3-40per40per20per{ grid-template-columns: 40% 40% 20% ;   }
  .cols-4-25per{ grid-template-columns: 25% 25% 25% 25%;   }
  

  @media (max-width: 600px){ 
    .layout70x30 { grid-template-columns: 1fr; }
    .cols-2{ grid-template-columns: 1fr; }
    
  }
  
  @media (max-width: 350px){ 
 
    .cols-2-80per20per { grid-template-columns: 1fr; }
  }


/*
   NOVA GRID FLEXÍVEL  TELA HTML LINHAS X COLUNAS  TIOT.dev

*/
 
/* container geral */
.qbgrid {
    width: 100%;
}


.qbcol-6 > div {
    margin-bottom: 10px;
}
/* cada linha */
.qblinha {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

/* bloco padrão */
.qblinha > div {
    box-sizing: border-box;
    padding: 6px 8px;
}

/* colunas (12 grid) */
.qbcol-1  { grid-column: span 1; }
.qbcol-2  { grid-column: span 2; }
.qbcol-3  { grid-column: span 3; }
.qbcol-4  { grid-column: span 4; }
.qbcol-5  { grid-column: span 5; }
.qbcol-6  { grid-column: span 6; }
.qbcol-7  { grid-column: span 7; }
.qbcol-8  { grid-column: span 8; }
.qbcol-9  { grid-column: span 9; }
.qbcol-10 { grid-column: span 10; }
.qbcol-11 { grid-column: span 11; }
.qbcol-12 { grid-column: span 12; }

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

    .qblinha {
        grid-template-columns: 1fr;
    }

    .qblinha > div {
        grid-column: span 1 !important;
    }
}



.qb-highlight {
    border: 1px solid #4a90e2;
    box-shadow: 0 0 0 1px rgba(74,144,226,0.15);
}


legend {
    font-weight: 600;
    color: #444;
}

legend::before {
    content: "";
    color: #999;
}
.qb-btn-lista {
    padding: 8px 12px;
    cursor: pointer;
}












 
 /* ================================
   GRID FLEXÍVEL TIOT.dev
   ================================ */
 

/* Modo auto: 12 colunas flex */
.grid.auto {
    grid-template-columns: repeat(12, 1fr);
     align-items: stretch; /* FUNDAMENTAL */
}

/* Col-span estilo Bootstrap */
.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* Responsivo opcional */
@media (max-width: 400px) {
    .grid.auto {
        grid-template-columns: repeat(12, 2fr);
    }

    /* Em telas menores tudo vira full */
    .col-1, .col-2, .col-3, .col-4,
    .col-5, .col-6, .col-7, .col-8,
    .col-9, .col-10, .col-11, .col-12 {
        grid-column: span 12;
    }
}








  
  
  
 .cardheadanc{ background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
  .cardheadanc-h{ padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .cardheadanc-c{ padding: 16px; }
  
    h1,h2{ margin:0 0 8px; }
      .xxgrid{ display: grid; gap: var(--gap); }
 
.btn {
  
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  
   width: 100%;
    background: #333;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 4px;
}

.btn.primary {
  background: #000;
  color: #fff;
}

.btn.primary:hover {
  background: #222; /* preto mais claro no hover */
  transform: scale(1.05); /* cresce levemente */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* sombra suave */
}

.btn.ghost {
  background: #fff;
  border: 1px solid #111;
  color: #111;
}
 
  .btn:hover {
    background: #000;
  } 
  
  
 .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.btn.cinza { background: #c9c9c9; color:#111; }
.btn.azul { background: #2d69ff; color:white; }
.btn.verde { background: #2ecc71; color:white; }
.btn.amarelo { background: #f1c40f; color:black; }
.btn.vermelho { background: #e74c3c; color:white; }




.btnTitulo {
  
  font-weight:bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  
   width: 100%;
    background: white;;
    color: black;
    border: none;
    padding: 13px;
    border-radius: 4px;
    cursor: pointer;
    opacity: .7;
    
}

.btnTitulo.primary {
  background: #000;
  color: #fff;
}

.btnTitulo.primary:hover {
  background: #222; /* preto mais claro no hover */
  transform: scale(1.05); /* cresce levemente */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* sombra suave */
}

.btnTitulo.ghost {
  background: #fff;
  border: 0px solid #111;
  color: #111;
}
 
  .btnTitulo:hover {
    background: white;
  } 
  
  
 .btnTitulo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


 


.btnTitulo.cinza { background: #c9c9c9; color:#111; }
.btnTitulo.azul { background: #2d69ff; color:white; }
.btnTitulo.verde { background: #2ecc71; color:white; }
.btnTitulo.amarelo { background: #f1c40f; color:black; }
.btnTitulo.vermelho { background: #e74c3c; color:white; }






 


 
    .pill{ font-size:12px; padding:4px 10px; border:1px solid var(--border); border-radius:999px; }
    input, select, textarea{  color:#454545; background:#00000005; width:100%; padding:10px; border:2px solid var(--border); border-radius:8px; font: inherit; }
    
    input.error {
    border-color: red;
     
  }

 
  
  
    label{ font-size:13px; font-weight:600; display:block; margin-bottom:4px; }
    /* --- Tabela --- */
    .table{ width:100%; border-collapse: collapse; }
    .table th, .table td{ text-align:left; padding:10px 12px; border-bottom:1px solid var(--border); }
    .table th{ font-size:12px; color:var(--muted); text-transform:uppercase; cursor:pointer; user-select:none; }
    .table tr:nth-child(even){ background:#fafafa; }
     .table tr:hover {
            background-color: #d1e7ff !important; /* Cor de destaque */
            cursor: pointer;
        }
    .table tbody tr:hover { background:#f0f0f0; }
    .table th.asc::after{ content:'▲'; font-size:10px; margin-left:4px; }
    .table th.desc::after{ content:'▼'; font-size:10px; margin-left:4px; }
    @media (max-width:640px){
      .table th:nth-child(2), .table td:nth-child(2),
      .table th:nth-child(4), .table td:nth-child(4){ display:none; }
    }
    .pager{ display:flex; gap:6px; margin-top:10px; flex-wrap:wrap; }
    .pager button{ border:1px solid var(--border); background:#fff; padding:6px 10px; border-radius:6px; cursor:pointer; }
    .pager button[disabled]{ opacity:.5; cursor:not-allowed; }
    .pager .active{ background:#000; color:#fff; }
    /* --- Modal --- */
  
   
        table {
            width: 100%;
            border-collapse: collapse;
            font-family: sans-serif;
        }

        th, td {
            padding:2px; 
            border: 1px solid #c5c8c0;
            
        }

        /* Cabeçalho */
        th {
            background-color: #333;
            color: white;
        }

        /* Linhas Zebradas (Cinza claro nas pares) */
        tr:nth-child(even) {
            background-color: #f0f5eb;
        }

        /* Destaque no Mouse (Hover) */
        tr:hover {
            background-color: #e3f7e0 !important; /* Cor de destaque */
            cursor: pointer;
        }
   
  
 
    .xxmodal-content{ 
    	background:#fff; 
   	padding:20px; 
   	border-radius:var(--radius); 
   	max-width:500px; 
   	width:90%; 
   	box-shadow:var(--shadow); 
   	}



/*
///////////////////////////
  Estilos para o modal 
//////////////////////////  
*/
        .modal {
            display: none; /* Esconde o modal por padrão */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro semi-transparente */
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            text-align: center;
        }
        
         .modal-content-auto {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            max-width: 99%;
            text-align: center;
        }

        .modal-buttons {
            margin-top: 20px;
        }

        .modal-buttons button {
            margin: 0 10px;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .modal-buttons button.confirm {
            background-color: black;
            color: white;
            width: 30%;
            font-weight: bold;
        }

        .modal-buttons button.cancel {
            background-color: #bdbaba;
            color: white;
            width: 30%;
            font-weight: bold;


		 }

















    .modal-content h3{
    	 margin-top:0;
    }
  
  
  
   /* --- color placeHolder --- */ 
  input::placeholder {
  color: var(--placeholder); /* Sets the placeholder color to red */
}

/* For older browsers and specific compatibility */
::-webkit-input-placeholder { /* Chrome, Safari, Opera */
  color: var(--placeholder);
}

::-moz-placeholder { /* Firefox 19+ */
  color:var(--placeholder);
  opacity: 1; /* Ensures full opacity in Firefox */
}
 

 


 
/* ALERT MODAL OVERLAY */
/* Overlay escuro por trás do modal */
 .admtools-alert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;        /* <=== ajuda muito no mobile */
}

/* BOX DO MODAL */
.admtools-alert-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 36px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: fadeIn 0.25s ease;
  width: 90%;
  max-width: 90%;
  max-height: 85vh;     /* <=== IMPRESCINDÍVEL NO MOBILE */
  overflow-y: auto;     /* <=== o modal passa a scrollar internamente */
}

.admtools-alert-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admtools-alert-icon img {
  width: 28px;
  height: auto;
}

.admtools-alert-message {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  white-space: pre-line;
}

.admtools-alert-ok {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.admtools-alert-ok:hover { opacity: 0.8; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* botao google login conta */

#g_id_signin > div {
  width: 100% !important;
  display: flex;
  justify-content: center;
}



/* class abas de formato de nova aba/form em list opcoes menu */

.novaclassAbas {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 4px;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #f9f9f9;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.novaclassAbas:hover {
    background: #eee;
}

.novaclassAbas.active {
    background: #000;
    border-color: #999;
    font-weight: bold;
    color: red;
    position: relative;
    top: 1px; /* dá o efeito de aba “ativa” colada no conteúdo */
}



.novaclassAbasPeriodo {
    display: inline-block;
    padding: 8px 16px;
    xmargin-right: 4px;
    xborder: 1px solid #ccc;
    border-bottom: none;
    xbackground: #f9f9f9;
    xborder-top-left-radius: 6px;
    xborder-top-right-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.xnovaclassAbasPeriodo:hover {
    background: #eee;
}

.xnovaclassAbasPeriodo.active {
    background: #000;
    border-color: #999;
    font-weight: bold;
    color: red;
    position: relative;
    top: 1px; /* dá o efeito de aba “ativa” colada no conteúdo */
}



/*   */


.input-wrapper {
    position: relative;
    margin-bottom: 12px;
  }
  .input {
    width: 100%;
    padding: 12px;
    margin-bottom: 2px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border 0.2s;
  }

  .input:focus {
    border-color: #333;
  }
  
.icon-right {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 20px;
    height: 20px;
    color: #888;
    transform: translateY(-50%);
    cursor: pointer;
    pointer-events: none; /* email não clicável */
  }

  .toggle-pass {
    pointer-events: auto; /* botão de ver senha clicável */
  }

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border: 1.8px solid #555;     /* cinza escuro neutro */
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15); /* leve sombra elegante */
  background-color: #fff;       /* mantém fundo limpo */
  transition: all 0.2s ease;    /* suavidade */
}

 input[type="checkbox"]:checked {
  accent-color:#555 /* Or any other color you prefer */
}


/*          */
/*  UPLOAD  */
/*          */

/* Container principal */
.file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  flex-wrap: wrap;
}

/* Botão de escolher arquivo */
.file-upload-label {
  display: inline-block;
  background: #f7f7f7;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  border: 1px solid #ccc;
  transition: 0.25s;
  user-select: none;
}
.file-upload-label:hover {
  background: #e9e9e9;
}

/* Nome do arquivo */
#file-name {
  font-size: 14px;
  color: #555;
  min-width: 200px;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Input escondido */
#file {
  display: none;
}

/* Botão Upload */
.btn.primary {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}
.btn.primary:hover {
  background: #111;
  transform: translateY(-1px);
}

/* Resultado */

#resultado {
  margin-top: 10px;
  font-size: 14px;
}




/* alinhamento checkbox com label */

.alinhado-esquerda {
  justify-items: start !important;
  text-align: left !important;
}


.alinhado-direita {
  justify-items: start !important;
  text-align: right !important;
}

/*Flex para manter input e label lado a lado */
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
}
.checkbox-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.checkbox-inline label {
  cursor: pointer;
  user-select: none;
}



/*Flex para manter input e label lado a lado */
.radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/*Remove margens padrão */
.radio-inline input[type="radio"] {
  margin: 0;
}

.radio-inline label {
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
}


.radio-inline img{
    vertical-align: middle;
}

/*Flex para manter div lado a lado */
.div-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
}



.div-inline_right {
  display: flex;
 
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
}

.div-inline_menor {
  display: flex;
  align-items: center;
  
  margin-top: 4px;
  font-size: 11px;
}



.div-inline_right_menor {
  display: flex;
 
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
}

/*                          */
/*  acçoes lista a href menu
/*                           */


.acao-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  max-width: 300px;
}

.acao-lista a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 0.95rem;
  color: #222;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.acao-lista a:hover {
  background: #000;
  color: #fff;
  transform: translateX(4px);
}



/* ==========================================================
   GRID LISTRADO ZEBRADO COM CABEÇALHO FIXO
   ========================================================== */

 


.grid-wrapper-listrado {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background-color: #fff;
}

.grid-container-listrado {
    display: grid;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
 
    width: max-content;        /* ← ESSENCIAL */
    min-width: 100%;           /* ← garante largura mínima */
}


.grid-item-header {
    padding: 6px;
    border: 1px solid #ccc;
    background-color: #4d6d46;
    color: #fff;
    font-weight: bold;
}

 




/* Linhas e células */
.grid-item-listrado {
  padding: 6px;
  border: 1px solid #ddd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-even-listrado > .grid-item-listrado {
  background-color: #f0f5eb;
}
.row-odd-listrado > .grid-item-listrado {
  background-color: #ffffff;
}

/* Hover */
.grid-row-listrado:hover > .grid-item-listrado {
  background-color: #e3f7e0;/* black; */
  color: black;
  font-weight: 600;
}

/* Ícone de ordenação (se existir) */
.sort-icon {
  margin-left: 5px;
  font-size: 10px;
}


._admtools_js_unFlagAllClass {
 
}
._admtools_js_unFlagAllClass:hover  {
  background-color: #f9f9f9;;/* black; */
  color: black;
  font-weight: bold;
}




 
/* CONTROLE DE PAGINAÇÃO */
/* Animação suave */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}
.fade-out {
  animation: fadeOut 0.15s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-2px); }
}

/* Paginação */
.paginacao {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0;
}

.paginacao-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 550px;
}

.paginacao-controles img {
  width: 18px;
  vertical-align: middle;
  cursor: pointer;
  opacity: 0.9;
}
.paginacao-controles img:hover {
  opacity: 1;
}
.paginacao-controles span {
  margin: 0 6px;
  font-size: 12px;
}

.paginacao-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
}

.paginacao-info select {
  font-size: 11px;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 1px 4px;
  cursor: pointer;
}

.paginacao-info .total-registros {
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
}


#xcontainer-pagination {
    text-align: center;
    margin-top: 10px;
}
#xcontainer-pagination img {
    width: 18px;
    vertical-align: middle;
    cursor: pointer;
    opacity: 0.9;
}
#xcontainer-pagination img:hover {
    opacity: 1;
}
#xcontainer-pagination span {
    margin: 0 8px;
    font-size: 12px;
}
/* =========================
   MODO CARDS - MOBILE
   ========================= */
@media (max-width: 400px) {
  .grid-wrapper-listrado {
    overflow-x: hidden;
  }

  .grid-container-listrado {
    display: block;
    width: 100%;
  }

  .grid-row-listrado {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    box-sizing: border-box;
    overflow: hidden;
  }

  .grid-item-header {
    display: none;
  }

  .grid-item-listrado {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 6px 10px;
  border: none;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.grid-item-listrado::before {
  content: attr(data-label);
  display: inline-block;
  font-weight: bold;
  color: #4d6d46;
  margin-right: 6px;
  width: 38%;           /* agora largura fixa */
  min-width: 110px;     /* garante base estável */
  max-width: 150px;
  text-align: left;     /* força alinhamento à esquerda */
  white-space: normal;
}

  /* último item sem borda inferior */
  .grid-item-listrado:last-child {
    border-bottom: none;
  }
}
/*  end GRID listrado zebrado



/* button paginacao grid */
 
.btn-pag {
  border: 1px solid #140f46;
  background: #fff;
  color: #140f46;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  margin: 2px;
  font-size:12px;
}

.btn-pag:hover {
  background: #140f46;
  color: #fff;
}



/*
// modal filtro filter 
*/
/* Modal base */ 

.modal-filtro {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  pointer-events: auto;  
}

.modal-filtro-content {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  max-width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

 


.modal-filtro-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.modal-filtro-close {
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

.modal-filtro-body {
  padding: 10px 0;
}

.modal-filtro-footer {
  text-align: right;
  margin-top: 10px;
}

.btn-aplicar {
  background: #0b1834;
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.modal-filtro-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
  cursor: pointer;
}


.btn-aplicar:hover {
  opacity: 0.8;
}
 
    @keyframes modal-filtro  {
      0% {
        transform: translateX(100%); /* Starting position */
      }
      100% {
        transform: translateX(0px); /* Ending position (200px to the right) */
      }
    }
    
    
    
    
/*
/////////////////////////
// circulos div color
*/

.circulo-vermelho {
width: 12px; /* Largura igual à altura para formar um quadrado */
  height: 12px; /* Altura igual à largura para formar um quadrado */
   background:#d33; border-radius:50%;
  
}

.circulo-verde {
  width: 12px; /* Largura igual à altura para formar um quadrado */
  height: 12px; /* Altura igual à largura para formar um quadrado */
  background:#3cc43c; border-radius:50%;
 
}

.circulo-amarelo {
  width: 12px; /* Largura igual à altura para formar um quadrado */
  height: 12px; /* Altura igual à largura para formar um quadrado */
    background:#e3c02b; border-radius:50%;
}

  

/* Indicadores Redis */
.status-dot {
  width:12px; height:12px; border-radius:50%;
}
.status-green { background:#07c800; }
.status-yellow { background:#ffd000; border:1px solid #bca600; }





 

/* ==========================
   BARRA TOPO GRID AJAX
   ========================== */
   
   .grid-topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  margin:5px 0;
  gap:10px;
}

.grid-left {
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.grid-center {
  flex:1;
  display:flex;
  justify-content:center;
}

.grid-right {
  display:flex;
  justify-content:flex-end;
  gap:10px;
}


 .breadcrumb {
  font-size: 14px;
  opacity: 1;
  font-weight:600;
  color:#f9f9f9;
}


/* ============================================================
   GRID TOPBAR PREMIUM - TIOT.dev
   ============================================================ */

.grid-topbar-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e5e5;
    gap: 10px;
}

.gt-left, .gt-center, .gt-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* botões SVG */
.gt-icon {
    width: 26px;
    height: 26px;
    cursor: pointer;
    opacity: 0.85;
    transition: 0.15s ease;
}

.gt-icon:hover {
    opacity: 1;
    transform: scale(1.05);
}




/*
///////////////////////////////////////
// filtro barra x - close filtros
///////////////////////////////////////
*/

.filter-chips {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 14px;
    background: #f2f4f7;
    border: 1px solid #d5d9de;
    font-size: 12px;
    color: #303846;
    white-space: nowrap;
}



.filter-chip:hover {
    background: #e7ebf0;
    border-color: #c3c7cc;
}


.filter-chip img {
    width: 14px;
    height: 14px;
    cursor: pointer;
    opacity: 0.75;
    transition: 0.15s;
}

.filter-chip img:hover {
    opacity: 1;
    transform: scale(1.15);
}

.filter-chip {
    animation: chipFade 0.25s ease;
}

@keyframes chipFade {
    from { opacity: 0; transform: translateY(-2px); }
    to   { opacity: 1; transform: translateY(0); }
}



 


/* ==========================
   DROPDOWN MULTI TIOT.MINIMAL
   ========================== */
/* script_grid_edit css    */
.dd-tiot {
    position: relative;
    width: 100%;
}

/* BOTÃO PRINCIPAL — IGUAL AO INPUT DO TIOT */
.dd-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: #00000005;
    color: #454545;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.15s ease;
}

/* hover suave */
.dd-btn:hover {
    background: #0000000a;
}

/* FOCUS — EXATAMENTE IGUAL AO SEU SELECT/INPUT */
.dd-btn:focus,
.dd-tiot.open .dd-btn {
    outline: none;
    border: 1.8px solid #555 !important; /* cinza escuro neutro */
    background: #fff;
}


/* seta */
.dd-caret {
    font-size: 11px;
    opacity: 0.6;
}

/* MENU */
.dd-menu {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: white;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    max-height: 430px;
    overflow-y: auto;
    z-index: 1000;

    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;
    transition: 0.15s ease;
}

.dd-tiot.open .dd-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ITEM */
.dd-item {
    padding: 9px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.15s ease;
}

.dd-item:hover {
    background: #f0f9f3; /* verde bem suave */
}

.dd-check {
    width: 16px;
    opacity: 0;
    transform: scale(0.6);
    transition: 0.15s ease;
}

/* SELECIONADO */
.dd-item.selected {
    background: #27ae60;
    color: #fff;
}

.dd-item.selected .dd-check {
    opacity: 1;
    transform: scale(1);
}


/*  Arte nos textos e imagens */
/*  brilhante                 */

.imagem-brilhante {
     
            /* Aplica o filtro de sombra para criar o brilho */
            filter: drop-shadow(0 0 10px #ff00ff) 
                    drop-shadow(0 0 30px #0000ff); 
            /* Adicione mais drop-shadows para intensificar o brilho */
            transition: filter 0.3s ease; /* Adiciona uma transição suave */
        }

        .imagem-brilhante:hover {
            filter: drop-shadow(0 0 20px #0000ff) 
                    drop-shadow(0 0 50px #0000ff); /* Brilho mais forte no hover */
        }
     
 .texto-brilhante {
            
            /* A propriedade mágica: text-shadow */
            text-shadow: 
                0 0 10px #0000ff, /* Brilho interno/suave */
                0 0 20px #0000ff, /* Brilho médio */
                0 0 40px #0000ff; /* Brilho externo/forte */
            
            /* Efeito opcional de animação (veja abaixo) */
            transition: text-shadow 0.3s ease-in-out;
            cursor: pointer;
        }

        /* Efeito ao passar o mouse para intensificar o brilho */
        .texto-brilhante:hover {
            text-shadow: 
                0 0 15px #0000ff, 
                0 0 30px #0000ff, 
                0 0 60px #0000ff,
                0 0 80px #0000ff;
        }



    
        
.origimagem-brilhante {
            width: 200px; /* Ajuste o tamanho da imagem conforme necessário */
            height: auto;
            /* Aplica o filtro de sombra para criar o brilho */
            filter: drop-shadow(0 0 10px #ff00ff) 
                    drop-shadow(0 0 30px #ff00ff); 
            /* Adicione mais drop-shadows para intensificar o brilho */
            transition: filter 0.3s ease; /* Adiciona uma transição suave */
        }

        .origimagem-brilhante:hover {
            filter: drop-shadow(0 0 20px #ff00ff) 
                    drop-shadow(0 0 50px #ff00ff); /* Brilho mais forte no hover */
        }








.origtexto-brilhante {
            color: #ffffff; /* Cor base do texto    orig - origem ia*/
            font-size: 48px;
            font-weight: bold;
            text-transform: uppercase;
            /* A propriedade mágica: text-shadow */
            text-shadow: 
                0 0 10px #00baff, /* Brilho interno/suave */
                0 0 20px #00baff, /* Brilho médio */
                0 0 40px #00baff; /* Brilho externo/forte */
            
            /* Efeito opcional de animação (veja abaixo) */
            transition: text-shadow 0.3s ease-in-out;
            cursor: pointer;
        }

        /* Efeito ao passar o mouse para intensificar o brilho */
        .origtexto-brilhante:hover {
            text-shadow: 
                0 0 15px #00baff, 
                0 0 30px #00baff, 
                0 0 60px #00baff,
                0 0 80px #00baff;
        }
        
        











        
/* Container individual de cada indicador  - modal da cclasstrib grid_cclasstrib  */
.indicador-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: top;
    width: auto;            /* Largura ajustada para evitar scroll horizontal */
    margin: 5px 2px;        /* Espaçamento lateral reduzido para caber mais itens */
    font-family: sans-serif;
}

/* Rótulo superior (Nome do campo) */
.indicador-label {
    font-size: 12px;        /* Fonte reduzida para acomodar nomes longos em 80px */
    font-weight: 600;
    color: #666;
    text-align: center;
    height: 25px;           /* Altura fixa para alinhar os boxes horizontalmente */
    line-height: 1.1;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word; /* Quebra o nome se for muito grande */
}



/* Rótulo superior (Nome do campo) */
.indicador-label_left {
    display: block;              /* NÃO flex */
    text-align: left;
    line-height: 1.0;
    height: auto;                /* FUNDAMENTAL */
    word-break: break-word;
    overflow-wrap: anywhere;
    margin-top: 0;
    margin-bottom: 4px;   /* controla respiro inferior */
}

.indicador-label_center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    line-height: 1;
}

/* Quadrado que contém o valor (S/N) */
.indicador-box {
    width: 120px;            /* Ocupa os 80px do container */
    padding: 6px 0;
    font-size: 13px;
    font-weight: bold;
    color: #999;            /* Cor padrão para o estado 'N' */
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* --- ESTADOS DE SELEÇÃO --- */

/* Classe aplicada quando o valor é 'S' (conforme image_48ebab.png) */
.item-ativo .indicador-box {
    color: #0056b3 !important;
    background-color: #eaf4ff !important;
    border-color: #0056b3 !important;
}

/* Destaque opcional no texto do rótulo quando ativo */
.item-ativo .indicador-label {
    color: #000;
    font-weight: 700;
       display: block;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}


/* Container do indicador */
.qbase-tooltip {
    position: relative;
/*    white-space: pre-line;
      height: auto !important;
    min-height: unset; */
    overflow: visible;
}



/* Balão Principal */

.qbase-tooltip:before {
    content: attr(data-tooltip);
    position: absolute;
    /* Ajustado para ficar logo acima da linha do texto */
    bottom: calc(100% + 1px); 
    left: 0;
    transform: none;
    
    max-width: 280px;
    width: max-content;
    min-width: 180px;
    padding: 10px 12px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.4;
    border-radius: 6px;
    
    white-space: pre-wrap; 
    text-align: left;
    
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out; /* Transição apenas na opacidade para não "pular" */
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Seta do Balão */
.qbase-tooltip:after {
    content: "";
    position: absolute;
    bottom: calc(100% + -10px); /* Ajustado para encostar na base do balão */
    left: 10px; /* Seta alinhada ao início */
    
    border: 6px solid transparent;
    border-top-color: #2c3e50;
    
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

/* Efeito Hover */
.qbase-tooltip:hover:before, 
.qbase-tooltip:hover:after {
    visibility: visible;
    opacity: 1;
}




/*
// busca incremental
*/
.input-label {
    border: none;
    background-color: transparent;
    outline: none; /* Remove o contorno de foco no Chrome/Safari */
    padding: 0;
    font-size: inherit; /* Mantém o tamanho da fonte do contexto */
    color: #333; /* Cor do texto */
    cursor: default; /* Cursor normal, não o de texto 'I' */
    pointer-events: none; /* Impede qualquer clique ou seleção no input */
  }
.campo-grupo { margin-bottom: 15px; }
   

        /* Estilo da busca e spinner */
        .busca-wrapper { position: relative; margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
        #inputBusca { width: 100%; padding: 12px 40px 12px 12px; font-size: 16px; border: 2px solid #3498db; border-radius: 6px; outline: none; }
        
        .loader-busca {
            display: none; position: absolute; right: 15px; top: 32px;
            width: 20px; height: 20px; border: 3px solid #ccc;
            border-top: 3px solid #ccc; border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
  

        #resBusca { margin-top: 5px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; }
        
 /* Linha selecionada via teclado */
.linha-focada {
    background-color: #e3f2fd !important; /* Azul claro */
    outline: 2px solid #2196f3;
    cursor: pointer;
}

       
.container-resultados-flutuantes {
    position: absolute;
    z-index: 999;
    width: 100%;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-height: 450px;
    overflow-y: auto;
    border-radius: 0 0 4px 4px;
}

.loader-spinner {
    display: none;
    position: absolute;
    right: 10px;
    top: 32px;
    width: 15px;
    height: 15px;
    border: 2px solid #ccc;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }        

@keyframes highlight {
    from { background-color: #fff9c4; } /* Amarelo claro */
    to { background-color: #f8f9fa; }
}


.classe-fade {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.fade-out {
    opacity: 0;
}
   
        
/*
layout pos busca incremental, qtde, valor enviar
*/      
/* Container que agrupa os inputs de Qtde e Valor */
.class_item_fluxo_incremental {
    display: none; /* Controlado pelo JS */
    background-color: #fdfdfd; 
    border: 1px dashed #ced4da; /* Borda tracejada dá um ar de 'área de edição' */
    border-radius: 6px;
    padding: 10px 15px;
    margin-top: 5px;
    margin-bottom: 10px;
    align-items: flex-end; /* Alinha labels e inputs por baixo */
    gap: 15px; /* Espaçamento entre os blocos de input */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    animation: fadeInSlide 0.25s ease-out;
}

/* Animação para o painel não 'dar um soco' na tela */
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajuste para que os labels fiquem em cima dos inputs no fluxo */
.class_item_fluxo_incremental .form-group {
    display: flex;
    flex-direction: column;
}

.class_item_fluxo_incremental label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 3px;
}


/*
button instalar pwa instalar app
*/
.btn-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 4px;
  border-radius: 8px;

  background: #000;
  color: #fff;
  border: 1px solid #000;

  font-size: 12px;
  cursor: pointer;

  transition: all .2s ease;
}

.btn-install:hover {
  background: #111;
}

.btn-install:active {
  transform: scale(0.97);
}

.btn-icon svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}





        
/*
Efeito scan lazer leitura code bar
*/
.scanner-container {
    position: relative;
     
     
}

#barcodeInput {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* O Feixe Laser */
.scanner-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px; /* Espessura do feixe */
    background: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 10px 2px rgba(255, 0, 0, 0.4);
    border-radius: 2px;
    opacity: 0; /* Invisível por padrão */
    pointer-events: none; /* Não atrapalha o clique */
    animation: scanAnimation 1s infinite;
}

/* Animação do feixe (vai e vem) */
@keyframes scanAnimation {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    30% { top: 100%; opacity: 1; }
 
}

/* Ativar animação apenas quando o input está focado (opcional) */
#barcodeInput:focus  + .scanner-beam {
    opacity: 1;
}
 /*
END  Efeito scan lazer leitura code bar
*/  



// re-grid itens
.qbase-grid{width:100%;border-collapse:collapse;font-size:14px}
.qbase-grid th{background:#0f2240;color:#fff;padding:8px;border-right:1px solid rgba(255,255,255,.15)}
.qbase-grid td{padding:8px;border-bottom:1px solid #ddd}
.qbase-grid tbody tr:nth-child(odd){background:#eef0ea}
.qbase-grid tbody tr:hover{background:#e3e6dc}
.qbase-grid .col-check{width:34px;text-align:center}
