/* Container for the entire grid (dividers + icons) */
.visual-bookmark-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;            /* space between items (dividers + icons) */
  padding: 8px;
  border: 1px dashed #ccc;
  margin-bottom: 16px;
  min-height: 80px;    /* ensure a minimum display height */
}

/* Each divider row spans 100% and is non‐draggable */
.visual-bookmark-divider {
  flex: 0 0 100%;
  background: #f7f7f7;
  padding: 6px 12px;
  margin: 8px 0;
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
  border-radius: 4px;
  text-align: left;
  cursor: default;     /* normal arrow cursor */
}

/* Each icon item, draggable - larger size */
.visual-bookmark-item {
  width: 128px !important;
  height: 128px !important;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px;
}

/* Ensure the <img> fits inside its icon box, force size */
.visual-bookmark-item img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain;
  display: block;
}

/* Placeholder styling while dragging an icon */
.visual-bookmark-placeholder {
  border: 2px dashed #999 !important;
  background-color: #f0f0f0 !important;
  visibility: visible !important;
  width: 80px !important;
  height: 80px !important;
  margin: 4px !important;
}
