/*TREE*/
.viewshift-tree .list-group {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid #ccc;
    padding-left: 10px;
    margin-bottom: 10px;
    margin-top: 18px;
}

.viewshift-tree .list-group.empty {
    border-left: 0 solid #ccc;
    margin-top: 0;
}

.viewshift-tree-item{
    border: 1px solid #ddd;
    background: #fff;
    margin: 5px 0;
    padding: 8px 10px;
}

.viewshift-tree-item .draggable{
    cursor: move;
}

.viewshift-tree .sortable-chosen {
    opacity: 0.6;
}

.viewshift-tree .sortable-ghost {
    opacity: 0.4;
    background: #d9edf7;
}

.viewshift-tree .highlight-drop-area {
    min-height: 40px;
    background-color: #f9f9f9;
    transition: all 0.2s;
}



/*
KANBAN
*/
.kanban-card:hover{
    border:solid 1px #0079bf33 !important;
}

.kaban-add-state-button {
  width: 300px;
  display: inline-block;
  margin: 0 .5rem;
}

 
.btn-rainbow {
  background: linear-gradient(
    90deg,
    #8b0000,  /* vermelho escuro */
    #c05600,  /* laranja queimado */
    #b8860b,  /* dourado escuro */
    #2e8b57,  /* verde escuro */
    #1e6091,  /* azul médio-escuro */
    #3a0ca3   /* roxo escuro */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.btn-rainbow:hover {
  opacity: 0.85;
}

.btn-rainbow {
  background-size: 300% 100%;
  animation: rainbowMove 4s linear infinite;
}
 

#dinamicboards_container .kanban_content{
  overflow-x: auto;
  overflow-y: hidden;
}
/* Prevenir seleção de texto durante drag */
.kanban-card {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Prevenir seleção em toda a área do kanban durante drag */
.kanban_content {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Opcional: desabilitar seleção também nas colunas */
.kanbanColls {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Permitir seleção apenas em inputs e textareas */
.kanban_content input,
.kanban_content textarea {
    user-select: text;
    -webkit-user-select: text;
}