body {
  margin: 0;
  font-family: sans-serif;
}

#sidebar {
  width: 150px;
  height: 100vh;
  background-color: #f0f0f0;
  border-right: 1px solid #ccc;
  float: left;
  box-sizing: border-box;
  padding: 10px;
}

#graph-container {
  margin-left: 150px;
  height: 100vh;
  width: 60%;
  overflow: hidden;
  background-color: #ffffff;
  cursor: default;
  background-image:
    linear-gradient(to right, #ddd 1px, transparent 1px),
    linear-gradient(to bottom, #ddd 1px, transparent 1px);
    background-size: 10px 10px;
}

.draggable-shape {
  background-color: #e0e0e0;
  border: 1px solid #888;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 10px;
  text-align: center;
  cursor: grab;
  user-select: none;
}
.connection-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #00aaff;
  border: 2px solid #0077aa;
  border-radius: 50%;
  cursor: crosshair;
  pointer-events: all;
  z-index: 9999;
}

#right-panel {
  margin-left: 150px;
  height: 100vh;
  width: 40%;
  position: absolute;
  right: 0;
  top: 0;
  height: 100vh;
  width: 40%;
  background: #fff;
  border-left: 1px solid #ddd;
  box-sizing: border-box;
  background: #fff;
}

#root {
  height: 100%;
}

pre {
  background-color: #f6f8fa;
  padding: 12px;
  border-radius: 8px;
  overflow: auto;
  position: relative;
}

.thinking::after {
  content: '...';
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}
