.draggable {
    position: fixed;
    top: 120px;
    left: 320px;
    width: 360px; /* largura inicial no computador (o usuário ainda pode redimensionar); no celular vale o painel inferior (app.css) */
    max-width: calc(100vw - 340px);
    height: 150px; /* altura inicial (o usuário ainda pode redimensionar) */
    background: white;
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000003;
    display: block;
}

.draggable-header {
    background-color: green;
    padding: 5px;
    color: white;
    text-align: center;
    cursor: move; /* Apenas aqui! */
    user-select: none;
}

  .resizable {
    position: relative;
  }

  .resize-handle {
    width: 10px; /* Width of the resize handle */
    height: 10px; /* Height of the resize handle */
    background: #3388ff; /* Color of the resize handle */
    position: absolute;
    bottom: 0; /* Position it at the bottom right corner */
    right: 0; /* Position it at the bottom right corner */
    cursor: nwse-resize; /* Cursor style for resize */
  }

  .flex-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Espaçamento entre os itens */
  }

#texto {
    padding: 10px;
    overflow-y: auto;
    overflow-x: auto; /* Adicione isso para permitir rolagem horizontal */
    max-height: calc(100% - 35px); /* mantém a lógica do cabeçalho */
    box-sizing: border-box;
    width: 100%; /* Garante que #texto acompanhe a largura da div pai */
    height: calc(100% - 35px); /* Garante que ocupe toda a altura menos o cabeçalho */
}





  #textoMenu, .texto-menu{
    margin-left: 10px;
  }

  #checkMenu, .check-menu{
    margin-top: 3px;
  }

.spinner-overlay {
    position: fixed;  
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%;  
    background: rgba(0, 0, 0, 0.6);  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    pointer-events: none;  /* <<< Adicione esta linha! */
}

  .spinner-border {
    width: 3rem;  /* Tamanho do spinner */
    height: 3rem;
  }

    @keyframes fadeInOut {

      0%,
      100% {
          opacity: 1;
      }

      50% {
          opacity: 0.3;
      }
  }

  .pulsar {
      animation: fadeInOut 2s infinite;
  }


  /* Estilo para o grupo principal do CAR */
.grupo-legenda {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}
.grupo-header {
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 5px;
}

/* Estilo para as Subpastas (APP, Reserva Legal, etc) */
.subpasta-legenda {
    border-left: 2px dashed #ccc;
    padding-left: 8px;
    margin-bottom: 8px;
}
.subpasta-header {
    user-select: none;
    padding: 2px 0;
}
.subpasta-header:hover {
    color: #007bff !important;
}

/* Elemento flex que segura o checkbox, cores e botões de cada feição */
.flex-container {
    display: flex;
    align-items: center;
    padding: 2px 0;
    margin-left: 5px;
}