.edit-columns .wb-body{
  display:flex;
  flex-direction:column;
  overflow:hidden;  
}
.edit-columns .cont{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;   
  min-height:0;   
  min-width:0;  
}
.edit-columns .column-selector{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;  
  min-height: 0; 
}
.edit-columns .table-scroll{
  position: relative;
  display: flex;    
  flex: 1 1 auto;    
  overflow-y: auto; 
  min-height: 0;
  min-width: 0;     
}
#columns-table{
  border-collapse: collapse; 
  width: 100%;
  table-layout: fixed;           
  
}
.edit-columns #columns-table th:nth-child(1),
.edit-columns #columns-table td.field-name {
  width: 15%;                 
}
#columns-table thead th{
  position: sticky;
  top: -1px;                       
  background: var(--background-grey);
  z-index: 5;
  padding: 6px 8px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.08);
  text-align: center;
  vertical-align: middle;
}
.edit-columns .modal-footer{
  flex:0 0 auto;   
  position:relative;
}

#columns-table td {
    padding: 5px !important;
    height: 32px !important;
    font-size: 14px;
    border-width: 0 0px !important;
    border-bottom-width: 1px;
  }

  /*  Format — 2ª columna  */
.edit-columns #columns-table th:nth-child(2),
.edit-columns #columns-table td.format-select-container {
  min-width: 188px;
}

  .format-select-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 188px;
    select{
      top: -2px;
      position: relative; 
    }
  }

  .field-name .row-id-col{
    font-weight: 600;
    color: var(--main);
  }
  .field-name .focus-response-col{
    font-weight: 600;
    color: goldenrod;
  }

  .field-name-container{
    position: relative;
    padding: 4px;
    overflow:visible;      
    display: block;
    width: 100%;
           

  }
  .ellipsis-text{
    display: block; 
    width: 100%;  
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    padding-right: 4px;
  }

.tooltip-edit-col{
  position: absolute;
  background: var(--background-grey-very-ligth);
    z-index: 1;
    border: 0.6px solid var(--background-grey-very-ligth);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    color: var(--dark-accent-main);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
}
.tooltip-edit-col::after {
  content: '';
  position: absolute;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--background-grey-very-ligth) transparent;
}

  .field-name-container .tooltip-edit-col{

    left: 100%;
    top: -6px;
    padding: 10px 15px 10px 10px;
    flex-direction: column;
    min-width: 200px;
    align-items: center;
}
.field-name-container .tooltip-edit-col .tooltip-container-edit-col{
  display: flex;
  align-items: center;
  gap: 8px;
 flex-direction: row-reverse;
 justify-content: center;
  
}
/* Arrow tooltip */
.field-name-container .tooltip-edit-col::after {

    top: 5px;
    left: -20px;
    transform: rotate(-92deg);
}

  .decimal-input-container{
    text-align: center;
  }
  .decimal-input-container input{
    border: none;
    text-align: center;
    background: none;
    margin-top: 3px;
  }

  .row-radio{
    display: flex;
    justify-content: center;
    height: 100%;
  }
  .row-radio input{
    width: 17px;
    cursor:pointer;
    accent-color: var(--main);
  }


.show-field .show-icon-container{
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;
}
.show-field .show-icon-container .material-icons{
    color: var(--main);

}
.hidden {
    display: none;
}
.arrow-row {
    cursor: pointer;
    text-align: center; 
    font-size: 20px; 
    width: 100%;
    height: 100%;
}
.arrow-row span {
width: 100%;
}

.heatmap-col{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.heatmap-col .empty-heatmap{
    background: none !important;

}

.heatmap-col .heatmap-button{
    width: 50%;
    height: 100%;
    cursor: pointer;
    border: 1px solid;
    border-radius: 4px;
    position: relative;
    top: 6px;
}

 
.heatmap-button .tooltip-edit-col{
     right: 60px;
    top: -5px;
   white-space: nowrap;
   padding: 7px;
   }
/* arrow tooltip */
.heatmap-button .tooltip-edit-col::after {
    top: 5px;
    right: -20px;
    transform: rotate(92deg);
}
.tooltip-edit-col img{
  height: 20px;
  margin-right: 8px;

}


/* // Exit Modal */

.modal-exit-colums-editor-content h3{
  font-size: 16px;
  padding: 19px;
}

/* // Footer */
#action-buttons-columnUI-wrapper .simple-filter {
  font-size: 28px !important;
}

#columnUI-add-expression span {
  font-size: 20px;
}
#column-content .modal-footer .general-button {
  margin: .25rem;
}

#column-content .modal-footer {
  justify-content: space-between !important;
}

#column-content .modal-footer  #column-icon-buttons .action-buttons-wrapper {
  gap: 10px !important;
}


/* /// Heatmap Modal/// */
#heatmap-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 20px;
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    
  }
  #heatmap-title{
    cursor:default; 
  }
  
  .heatmap-tuple {
    display: flex;
    margin-bottom: 10px;
    gap: 5px;
    position: relative;
    width: 85%;
  }

  .heatmap-tuple .form-control:focus {
    outline: none;
    border: 1px solid var(--dark-accent-main); 
    box-shadow: 0 0 3px rgba(74, 144, 226, 0.5);
  }
  .heatmap-tuple .general-button {
        display: flex  ;
        margin-bottom: 10px;
        gap: 5px;
        width: 20px;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0px;
        left: 101%;
    
  }
  

.heatmap-content .heatmap-container{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

}
.heatmap-content .btn-group{
margin-top: 30px;
padding-bottom: 15px;

}

.heatmap-content .btn-group a {
margin: 0 !important;

}
.heatmap-content .btn-group a:hover {
 transform: scale(1.1);
}
.heatmap-content .btn-group a span {
  cursor: pointer;
  font-size: 35px;
  color: var(--dark-accent-main);
  
  }

.ui-sortable-helper{
    background-color:  var(--background-grey-light);
}
.ui-sortable-helper td{
   display: none;
}
.ui-sortable-helper .field-name{
    display: flex !important;
 }

 .ui-sortable-helper .tooltip-heatmap {
display: none !important;
 }


#save-heatmap-button{
  align-self: end;
  margin-top: auto;
}
.edit-columns {
  container-type: inline-size;
  container-name: editCols;
}

@container (max-width: 900px) {
  .edit-columns #columns-table thead th {
    font-size: 0.75rem; 
    padding: 4px 6px;       
  }
}

#columns-table{
  .table-bordered>:not(caption)>*>* {

  }
}
.multi-selected {
  background-color: var(--grey-off-white) !important;
  box-shadow: inset 0 0 0 2px var(--main) !important;
  color: var(--text-black);
}



.field-name-container {
  cursor: move;
}

.field-name-container:hover {
  background-color: var(--grey-off-white);
  border-radius: 4px;
}

