#bwebs-image-tool {
  font-family: system-ui, sans-serif;
}

#bwebs-image-tool * {
  box-sizing: border-box;
}

#bwebs-image-tool .tool {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

#bwebs-image-tool h2 {
  margin-top: 0;
}

#bwebs-image-tool .mode-toggle button {
  margin-right: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

#bwebs-image-tool button.primary {
  background: #2EB67D;
  color: #fff;
}

#bwebs-image-tool button.secondary {
  background: #1D2142;
  color: #fff;
}

#bwebs-image-tool .controls {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 14px;
  margin: 20px 0;
}

#bwebs-image-tool label {
  font-size: 14px;
  font-weight: 600;
}

#bwebs-image-tool .canvas-wrap {
  position: relative;
  display: inline-block;
}

#bwebs-image-tool canvas {
  max-width: 100%;
  background: #eee;
  border-radius: 10px;
}

#bwebs-image-tool .crop-box {
  position: absolute;
  border: 2px solid #2EB67D;
  cursor: move;
}

#bwebs-image-tool .crop-handle {
  width: 10px;
  height: 10px;
  background: #2EB67D;
  position: absolute;
}

#bwebs-image-tool .handle-br {
  right: -5px;
  bottom: -5px;
  cursor: nwse-resize;
}

#bwebs-image-tool .acties {
  margin-top: 15px;
}

#bwebs-image-tool .acties button {
  margin-right: 10px;
}

#bwebs-image-tool .status {
  margin-top: 15px;
  font-size: 14px;
}
