.widget-container .image-gallery-widget,
.widget-container .image-viewer-widget {
  margin-left: -5px;
}

.flex-container {
  display: flex;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 8px;
  width: 100%;
  position: relative;
}

.label {
  font-family: var(--vpl-ui-font-family);
  font-weight: 400;
  font-size: 12px;
  flex-shrink: 0;
  margin-right: 10px;
}

.widget-container {
  flex-grow: 1;
  width: 100%;
  margin-right: 10px;
}

.widget-container-no-label {
  margin-right: 8px;
  width: 100%;
}

.handle-container-input {
  position: absolute;
  left: -22px;
}

.handle-container-output {
  position: absolute;
  right: -13px;
}

.react-flow__handle.handle-style {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
  transform: none !important;
}

.react-flow__handle.handle-style.disconnected {
  background: #fff;
  border: 1.5px solid var(--vpl-blue-1);
}

.react-flow__handle.handle-style.connected {
  background: var(--vpl-blue-1);
  border: 1.5px solid var(--vpl-blue-2);
}

.react-flow__handle.handle-style:hover {
  transform: scale(1.2) !important;
  transform-origin: center;
}

.image-gallery-container {
  position: relative;
}

.image-gallery-container .image-gallery-label {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  height: 24px;
  line-height: 24px;
  z-index: 1;
}

.image-gallery-container .widget-container {
  margin-right: 0;
}

.image-gallery-container .gallery-controls {
  padding-left: 80px;
}