.resizer-handle {
    position: absolute;
    z-index: 50;
    background-color: #ccc; /* Visible color */
  }
  
  .resizer {
    transform: translateZ(0);
    display: block;
    z-index: 50;
  }
  
  .resizer-x {
    cursor: ew-resize; /* Horizontal resize cursor */
  }
  
  .resizer-x::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -4px;
    width: 24px;
    z-index: 50;
  }
  
  .resizer-x::after {
    content: "";
    display: flex;
    background: rgba(2, 2, 2, 0.354);
    border-radius: 50px;
    position: absolute;
    width: 4px;
    height: 10%;
    top: 45%;
    margin-left: 6px;
    opacity: 1;
  }
  
  .resizer-x:hover::after {
    background: rgba(2, 2, 2, 0.554);
  }
  
  .resizer-y {
    cursor: ns-resize; /* Vertical resize cursor */
  }
  
  .resizer-y::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin-top: -4px;
    height: 24px;
    z-index: 50;
  }
  
  .resizer-y::after {
    content: "";
    display: flex;
    background: rgba(2, 2, 2, 0.354);
    border-radius: 50px;
    position: absolute;
    height: 4px;
    width: 10%;
    left: 45%;
    margin-top: 6px;
    opacity: 1;
  }
  
  .resizer-y:hover::after {
    background: rgba(2, 2, 2, 0.554);
  }
  