@media (max-width: 1125px) {

/* ===== Layout para Tablet ===== */

  .container {
    padding: 1.5rem;
    max-width: 100%;
  }

  .title-colorBlind {
    display: flex;
    justify-content: center;       
    align-items: center;           
    gap: 1rem;                     
    margin-bottom: 1rem;
    position: relative;
  }

  .title-colorBlind h1 {
    flex-grow: 1;                  
    text-align: center;            
  }

  .title-colorBlind > div {
    position: absolute;
    right: 0;   
    bottom: rem;                   
  }
  .qtdtivo-qualita {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
  }

  .qtdtivo-qualita > div {
    width: 100%;
    max-width: 18rem;
  }

  #ano-filter,
  #mes-filter,
  #idade-filter {
    display: grid !important;
    align-content: start;
    justify-items: center;
    width: 100% !important;
    max-width: 100%;
    min-height: 200px; 
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 0.75rem;
  }
  
  .regraAltura {
    height: auto !important;
  }
  
  select {
    width: 100% !important;
    max-width: 18rem;
  }
  
  hr {
    display: none;
  }
  
  .cids {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
    margin-top: 1.5rem;
  }
  
  
  
  .dados {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .dados > div {
    width: 100%;
  }
  
  .grid.md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  #grafico-sankey {
    height: 420px !important;
  }
  
  #mes-filter .chip,
  #idade-filter .chip {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 0.8rem;
    border-radius: 0.3rem;
  }
  
  #ano-filter .chip {
    width: 3rem !important;
    height: 2rem !important;
    font-size: 0.8rem;
    border-radius: 0.3rem;
  }

  #cid-filter {
    width: 100% !important;
    max-width: 100% !important;
  }

  #toggle-toast,
  #btGerarPDF {
    transform: scale(1);
    font-size: 0.9rem;
  }
  

}
/* } */