/* Error node styles: visual indication for missing node definitions */
.errorContainer {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.errorHeader {
  display: flex;
  align-items: center;
  gap: 6px;
}

.errorIcon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}

.errorTitle {
  margin: 0;
  font: var(--node-editor-title-font, 600 14px var(--node-editor-theme-default-font-family));
  color: var(--node-editor-caution-color, #ff3b30);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.errorContent {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.errorType {
  margin: 0;
  font: var(--node-editor-caption-font, 400 11px var(--node-editor-theme-default-font-family));
  color: var(--node-editor-secondary-text-color, #666);
  line-height: 1.3;
}

.errorTypeCode {
  font-family: var(--node-editor-code-font, monospace);
  background-color: var(--node-editor-surface-color, rgba(0, 0, 0, 0.05));
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 10px;
}

.originalTitle {
  margin: 0;
  font: var(--node-editor-caption-font, 400 11px var(--node-editor-theme-default-font-family));
  color: var(--node-editor-text-color, #111);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
