.tpa-pixel.selected {
  outline: 2px dashed red;
}


#tpa-ad-canvas {
  background: url('https://millionstevens.betaprojects.net/wp-content/plugins/taraxa-pixel-ads/img/0x0001001110101003.webp') no-repeat top center;
  background-size: contain;
  width: 100%;
  max-width: 1000px;
  position: relative;
  margin: 0 auto;
}

/* Optionally, enforce a square aspect ratio using a padding hack */
#tpa-ad-canvas::before {
  content: "";
  display: block;
  padding-top: 100%; /* 1:1 aspect ratio */
}


.tpa-pixel {
  position: absolute;
  border: 1px solid #ccc;
  box-sizing: border-box;
}


  margin: 0 auto;
}

/**
.tpa-pixel {
  position: absolute;
  border: 1px solid #ccc;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 10px;
  overflow: hidden;
  text-align: center;
  line-height: 1.2;
}
**/
.tpa-pixel.selected {
  outline: 2px dashed #ff0000;
  background-color: rgba(255, 0, 0, 0.2);
}
