/* icones/icons... consultar o site abaixo */
/* https://icons8.com/ */
/* https://feathericons.com/?query=searc */

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
  }
  
    
  body{
    background-position: center;
    background: white;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box; 
  }


  .container {
    margin-top: 0;
    height: 100vh;
    align-self: flex-start; 
    background-color: white;
    flex-wrap: wrap; /* Faz com que os elementos sejam redistribuídos em várias linhas se necessário */
    justify-content: space-around; /* Centraliza os itens */    
    border-radius: 10px;
    margin: 4px;
    min-height: 300px; /* tamanho minimo do container - caso remover ele fica dinamico */
    max-width: 98%; /* Ajusta para ocupar até 90% da largura da viewport */
    max-height: 98%; /* Ajusta para ocupar até 90% da altura da viewport */
    width: 100%; /* Para garantir que ocupe 100% da largura disponível */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); /* Correção do box-shadow */
    overflow-x: auto;  
  }
  
  .circulo 
  {
    position: absolute;
    transform: translateY(-30%);
    width: 18px;
    height: 18px;
    border: 1px solid red;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
  }


  .header{
    background: linear-gradient(120deg, #3acbf0 0%, #8bb0ff 100%);
    padding: 0px;
    text-align: center;
    color: #FFF;
  }
  
  .form{
    padding: 5px;
  }


  .pesquisar
  {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  
  .img-pesquisar:hover
{
  border: 1px solid red;
  border-radius: 5px;
  padding: 1px;
}


.img-botao-form:hover
{
  border: 1px solid red;
  border-radius: 5px;
  padding: 1px;
}

  .img-pesquisar
  {
    height: 2.5rem; 
    width: 2.5rem;
    cursor: pointer;
  }

  .img-botao-form
  {
    height: 2.3rem; 
    width: 2.3rem;
    margin-top: 0.5rem; 
    cursor: pointer;
    
  }

  .pesquisar-icone
  {
    position: absolute;
    right: 8px; /* Ajuste conforme necessário */
    top: 55%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 22px;
    height: 22px;
  }

  .coluna
  {
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .colunas_2
  {
    display: flex;
    gap: 15px;
    grid-template-columns: 1fr 1fr;
  }

  
  .linha 
  {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  
  
  /* telas intermediarias*/
  @media (max-width: 900px) 
  {
    .linha 
    {
      /* 2 colunas em telas médias */
      grid-template-columns: repeat(3, 1fr); 
      gap: 4px; 
    }

    .colunas_2
    {
      gap: 4px;
    }
  }
  
  /* Para telas pequenas */
  @media (max-width: 600px) 
  {
    .linha 
    {
      grid-template-columns: repeat(2, 1fr); /*1 coluna em telas pequenas */
      gap: 4px;
    }

    .colunas_2
    {      
      gap: 4px;
    }     
  }   

  /* @media (max-width: 768px) 
  {  
    .escondecoluna 
    { 
      width: 0;        Define a largura como zero 
      min-width: 0;   Garante que não tenha largura mínima 
      max-width: 0;    Garante que não possa aumentar 
      overflow: hidden;          Esconde o conteúdo excedente 
      white-space: nowrap;        Evita quebra de linha 
      padding: 0;     Remove o espaçamento interno 
      border: none;    Remove a borda para evitar espaços
    }
  } 
   */
 
.tabela
  {    
    height: 420px; 
    overflow-x: auto;
    overflow-y: auto;
    box-sizing: border-box; /* Inclui padding e borda dentro da largura total */
    border: 2px solid #ccc;
  }



.tabela-table
{
  min-width: 1270px;
  width: 100%;
  table-layout: fixed; /* Garante que a largura da tabela seja fixa */
  border-collapse: collapse; /* Remove os espaços entre as células da tabela */  
  box-sizing: border-box; /* Inclui padding e borda dentro da largura total */
}


/* O hover é um efeito visual temporário ativado quando o mouse está sobre o elemento. */
.tabela-table td:first-child:hover,
.tabela-table td:nth-child(2):hover
{
  background-color: #ff3b25; /* cor ao passar o mouse */
  color: white;
  cursor: pointer; 
}

.tabela-table tbody tr:nth-child(odd)
{
  background-color: white; /* Cor de fundo para linhas ímpares */
}

.tabela-table tbody tr:nth-child(even) 
{
  background-color: rgb(234, 232, 140); /* Cor de fundo para linhas pares */
}

.tabela-table tbody
{
  font-size: 15px;  
}


table td, th
{
  border: 1px solid white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* impede a quebra de linha*/  
}

table thead
{
  font-size: 10pt;
  font-style: normal;
  position: sticky;
  top: 0;
  color: white;
  background-color: rgb(0, 124, 185); /* Cor de fundo do cabeçalho para sobrepor o conteúdo */
  z-index: 1; /* Garante que o cabeçalho fique acima do conteúdo da tabela */
}



label
{
  width: fit-content; /* Garante que o tamanho seja do texto */ 
  display: flex; /* Ocupa apenas o conteúdo */
  margin-bottom: 3px;
  color: green;
  position: relative;
  bottom: 22px;
  left: 7px;
  max-width: 100%;
  font-size: 12.2px; 
}


select
{
    background-color: white;
    height: 50px;
    padding-bottom: 22px;
    width: 100%;
    border-radius: 8px;
    padding-top: 4px;
    border: 2px solid #dfdfdf;
}

  input
  {
     padding-bottom: 22px;
     border-radius: 8px;
     padding-left: 6px;
     padding-top: 5px;
     border: 2px solid #dfdfdf;
     position: relative; 
     width: 100%; /* faz com que o input se ajuste ao container pai */
     box-sizing: border-box; /* garante que padding e borda sejam incluídos na largura */
  }
  
button:hover
{
  border: 2px solid #121212;
}


button
{
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #408a9c 0%, #2849b6 100%);
  color: #FFF;
  height: 55px;
  width: 100px;
  border-radius: 14px;
  padding: 10px;
  border: 0px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.form button:hover
  {
    background-color: blueviolet;
  }

.form-content.error input
  {
    border-color: #ff3b25;
  }
  
.form-content.error label
  {
    color: #ff3b25;
  }

  .form-content.error img
  {
    position: absolute;
    right: 8px; 
    top: 71%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 22px;
    height: 22px;
  }

  .form-content
  {
    position: relative;
    display: inline-block;
    margin-bottom: 0px;
  }

  
  .form-content img
  {
    border-radius: 12px;
    position: absolute;
    right: 08px;
    top: 71%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 22px;
    height: 22px;
  }

  .tab 
  {
    display: none;
    padding: 5px;
    box-sizing: border-box; /* Garante que padding não estoure o tamanho */
    width: 100%;            /* Ocupa toda a largura disponível */
  }

  .tab-buttons 
  {
    flex-wrap: wrap;
    margin-top: 15px;
    margin-left: 5px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }

  .tab-button 
  {
    padding: 6px;
    cursor: pointer;    
    color: black;
    font-weight: bold;
    background-color: white;
    margin-right: 15px;
    border-radius: 5px;    
  }

  .tab-button.active 
  {
    background-color: bisque;
    border: 1px solid red;
  }

  .tab-button:hover
  {
    border: 1px solid red;
    border-radius: 5px;
  }
  

  .relatorios-imagem-com-texto 
  {
      text-align: center; /* Centraliza a imagem e o texto */
      margin: 10px; /* Espaçamento ao redor do contêiner */
      width: 70px;
  }
  
  .relatorios-imagem-com-texto img 
  {
      display: flex;
      margin: 0 auto; /* Centraliza a imagem */
      height: 2rem;
      width: 2rem;
  }
  
  .relatorios-imagem-com-texto span 
  {
      display: block;
      margin-top: 5px; /* Espaçamento entre a imagem e o texto */
      font-size: 14px; /* Tamanho da fonte do texto */
      color: #333; /* Cor do texto */
  }

  .relatorios-imagem-com-texto:hover
  {
    border: 1px solid red;
    border-radius: 5px;
    padding: 1px;
  }


  input[type="checkbox"] 
  {
    appearance: none;
    position: relative;
    /* Tamanho */
    top: 10px;
    width: 2rem;
    height: 1.5rem;
    /* Cor do fundo e borda */
    background-color: #fff;
    border: 0.125rem solid #ccc;
    border-radius: 0.25rem;
  }

  input[type="checkbox"]::before {
    content: "";
    /* Posicionar no meio */
    position: absolute;
    top: 50%;
    left: 50%;
    /* Tamanho do marcador */
    width: 0.75rem;
    height: 0.75rem;
    /* Formato do marcador */
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    /* Posicionar no meio */
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center;
    transition: 0.125s transform ease-in-out;
    /* Cor do marcador */
    box-shadow: inset 1rem 1rem #fff;
  }


  /* Cor da caixa para o marcador */
input[type="checkbox"]:checked {
  background-color: #e0138c;
  border-color: #e0138c;
}

/* Características do marcador quando selecionado */
input[type="checkbox"]:checked::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Características do marcador quando selecionado */
input[type="checkbox"]:disabled {
  opacity: 0.25;
}

   
/* Animação de rotação do spinner */
@keyframes spin 
{
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
   