/* Minimal modern multiselect styling for CheckboxSelectMultiple */
.dp-multiselect {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 16px;
  padding: 12px;
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 8px;
  background: #fff;
}

.dp-multiselect .form-check,
.dp-multiselect li,
.dp-multiselect label {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dp-multiselect li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb; /* gray-50 */
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.dp-multiselect li:hover {
  background: #f3f4f6; /* gray-100 */
  border-color: #d1d5db; /* gray-300 */
}

.dp-multiselect input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2563eb; /* blue-600 */
}

.dp-multiselect label {
  font-size: 0.95rem;
  color: #111827; /* gray-900 */
  cursor: pointer;
}

/* Default Django renders UL > LI > LABEL/INPUT; ensure UL has no bullets */
.dp-multiselect ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* When Django wraps as <div> groups */
.dp-multiselect div {
  display: flex;
  align-items: center;
  gap: 10px;
}
