.dag-empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: -1;
}

.dag-empty-state-content {
  width: 320px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #e5e7eb;
  border-radius: 1rem;
}

.dag-empty-state-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dag-empty-state-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dag-empty-state-title {
  color: #9ca3af;
  font-size: 14px;
  margin: 0 0 0.5rem 0;
}

.dag-empty-state-hints {
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
}

.dag-empty-state-hint {
  margin: 0.5rem 0;
}

.dag-empty-state-content kbd {
  padding: 2px 8px;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 12px;
  font-family: inherit;
  color: #6b7280;
}

/* G6 edge label transitions - target all child elements */
g[id^="edge-"] * {
  transition: opacity 0.3s ease-in-out, fill-opacity 0.3s ease-in-out !important;
}

/* Prevent browser text selection on G6 canvas and dag container when dragging */
.dag-canvas-container,
.dag-canvas-container *,
.g6-component,
.g6-component * {
  user-select: none;
  -webkit-user-select: none;
}
