.overview * {
  box-sizing: border-box;
}

.overview .react-flow__controls button {
  box-sizing: content-box;
}

.overview .react-flow__node {
  font-size: 12px;
}

.edgebutton {
  width: 20px;
  height: 20px;
  background: #eee;
  border: 1px solid #fff;
  cursor: pointer;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

.edgebutton:hover {
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.08);
}

.react-flow__node-tools {
  border: 1px solid #333;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.react-flow__node-toolbar {
  border-radius: 5px;
  box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.08);
}

.react-flow__node-toolbar button {
  border: 1px solid #eee;
  background: white;
  cursor: pointer;
}

.react-flow__node-toolbar button:hover {
  background: #f5f5f6;
}

.react-flow__node-toolbar button:first-child {
  border-radius: 5px 0 0 5px;
  border-right: none;
}

.react-flow__node-toolbar button:last-child {
  border-radius: 0 5px 5px 0;
  border-left: none;
}

.react-flow__node-resizer {
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.react-flow__node-colorful .react-flow__handle {
  background: #bbb;
  border-radius: 0;
  width: 8px;
  height: 4px;
  border: none;
  min-width: 2px;
  min-height: 2px;
}

.react-flow__node-colorful .react-flow__handle-bottom {
  bottom: -5px;
  transform: none;
  border-radius: 0 0 2px 2px;
}

.react-flow__node-colorful .react-flow__handle-top {
  top: -5px;
  transform: none;
  border-radius: 2px 2px 0 0;
}

.react-flow__node-colorful .react-flow__handle-left {
  height: 8px;
  width: 4px;
  left: -5px;
  border-radius: 2px 0 0 2px;
}

.react-flow__node-circle,
.react-flow__node-colorful {
  color: #fff;
  border-radius: 100%;
  display: flex;
  height: 75px;
  width: 75px;
  box-shadow: 6px 2px 15px rgba(42, 138, 246, 0.3),
    -6px 2px 15px rgba(233, 42, 103, 0.3);
  font-family: monospace;
}

.react-flow__node-colorful .wrapper,
.react-flow__node-colorful .wrapper {
  overflow: hidden;
  display: flex;
  padding: 2px;
  position: relative;
  border-radius: 100%;
  flex-grow: 1;
}

.react-flow__node-colorful {
  border-radius: 5px;
  width: 150px;
  text-align: left;
  height: auto;
}

.react-flow__node-colorful .wrapper {
  border-radius: 5px;
  height: 100%;
}

.react-flow__node-colorful .inner {
  background: rgba(255, 255, 255, 0.5);
  flex-grow: 1;
  position: relative;
  padding: 10px;
  border-radius: 4px;
  height: 100%;
}

.react-flow__node-colorful input {
  width: 100%;
  font-size: 12px;
  border: none;
  border-radius: 2px;
  margin-bottom: 10px;
  margin-top: 2px;
  padding: 2px 4px;
  color: #555;
}

.gradient:before {
  content: "";
  position: absolute;
  padding-bottom: calc(100% * 1.41421356237);
  width: calc(100% * 1.41421356237);
  background: conic-gradient(
    from -160deg at 50% 50%,
    var(--colorful) 0deg,
    var(--colorful) 120deg,
    var(--colorful) 240deg,
    var(--colorful) 360deg
  );
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
}

/* .gradient:before {
  content: "";
  position: absolute;
  padding-bottom: calc(100% * 1.41421356237);
  width: calc(100% * 1.41421356237);
  background: conic-gradient(
    from -160deg at 50% 50%,
    #5893f9 0deg,
    #5893f9 120deg,
    #5893f9 240deg,
    #5893f9 360deg
  );
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
} */

.react-flow__minimap .group {
  fill-opacity: 0.4;
}

.react-flow__minimap .resizer,
.react-flow__minimap .tools,
.react-flow__minimap .circle,
.react-flow__minimap .colorful {
  fill: rgb(208, 192, 247);
}

.react-flow__minimap .resizer {
  fill: rgb(208, 192, 247);
}

.react-flow__minimap .circle {
  rx: 100%;
  ry: 100%;
}

.react-flow__minimap .annotation {
  display: none;
}
