
.sortable-container {
  display: flex;
  flex-direction: column;
  margin: 10px;
  min-width: 200px;
}
.sortable-header {
  background-color: #f5f5f5;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-bottom: none;
  text-align: center;
  border-radius: 4px 4px 0 0;
}
.sortable-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ddd;
  min-height: 100px;
   max-height: 300px; /* Fixed max height */
  overflow-y: auto; /* Vertical scrollbar */
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #ccc #f0f0f0; /* For Firefox */
}
.sortable-list li {
  margin: 5px;
  padding: 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  cursor: move;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.sortable-list li label {
  cursor: move;
  margin-left: 8px;
  flex-grow: 1;
}
.main-container {
  display: flex;
  flex-wrap: wrap;
}

.drag-handler {
margin-right: 5px;
}

.main-container input {
	display: none;
}

.ui-state-highlight {
  background: #ffe45c;
  height: 1.5em;
}
.sortable-list li:active {
  background-color: #d0d0d0;
}
.list2-full .sortable-header {
  background-color: #ffebee;
}
.list2-full .ui-state-highlight {
  background: #ffcdd2;
}
.count-badge {
  background-color: #2196F3;
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.8em;
  margin-left: 8px;
}

/* Mobile-friendly scrollbar enhancements */
@media (pointer: coarse) {
  .sortable-list {
    scrollbar-width: auto; /* Thicker scrollbar for mobile */
    scrollbar-color: #888 #f0f0f0;
  }

  .sortable-list::-webkit-scrollbar {
    width: 12px; /* Thicker scrollbar for touch devices */
  }

  .sortable-list::-webkit-scrollbar-thumb {
    background-color: #888;
    border: 2px solid #f0f0f0; /* Adds contrast border */
    min-height: 40px; /* Minimum touch target size */
  }

  .sortable-list::-webkit-scrollbar-thumb:hover {
    background-color: #666; /* Visual feedback */
  }
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 4 equal columns */
  gap: 10px; /* Spacing between items */
}

