/* MultiBlockInput.css
 * Styles untuk komponen multi-value block identifier picker.
 * Dipakai oleh: ui/components/MultiBlockInput.js
 * Konteks: field "Can Place On" dan "Can Destroy" di Item Configuration
 */

/* ── Chip container ── */
.multi-block__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 0;
  margin-bottom: 6px;
  max-height: 100px;
  overflow-y: auto;
}

.multi-block__chips:empty {
  margin-bottom: 0;
}

/* ── Individual chip ── */
.multi-block__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: color-mix(in srgb, var(--accent-teal-bright) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-teal-bright) 35%, transparent);
  border-radius: var(--radius-sm);
  padding: 2px 6px 2px 7px;
  max-width: 100%;
}

.multi-block__chip-label {
  font-size: 10.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.multi-block__chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1;
  padding: 0;
  border-radius: 2px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}

.multi-block__chip-remove:hover {
  color: var(--accent-danger, #c15c4a);
  background: color-mix(in srgb, var(--accent-danger, #c15c4a) 14%, transparent);
}

/* ── Hint text below input ── */
.multi-block__hint {
  font-size: 10px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  line-height: 1.5;
  font-style: italic;
}
