.wbrcompare-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 300px;
  margin: 40px auto;
  overflow: hidden;
}

.wbrcomp-before,
.wbrcomp-after {
  position: absolute;
  inset: 0;
}

.wbrcomp-after {
  clip-path: inset(0 100% 0 0);
  background: #fff;
  transition: clip-path 0.05s linear;
}

.wbrcompare-slider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #00a99d;
  cursor: ew-resize;
  z-index: 3;
}

.wbrcompare-slider span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #00a99d;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
}

.wbr-label {
  position: absolute;
  top: 15px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 20px;
  z-index: 4;
}

.wbr-label-before { left: 15px; }
.wbr-label-after { right: 15px; }