/* Position context */
.wy-nav-content div.highlight,
.wy-nav-content div.literal-block-wrapper {
  position: relative;
}

/* Always visible, consistent button */
.wy-nav-content div.highlight button.copybtn,
.wy-nav-content div.literal-block-wrapper button.copybtn {
  position: absolute;
  top: 8px;
  right: 8px;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #fff !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 8px !important;

  box-shadow: 0 2px 10px rgba(0,0,0,.12) !important;
  z-index: 9999 !important;

  color: #555 !important; /* drives currentColor-based SVGs */
}

/* Keep the icon as an outline (copy glyph) */
.wy-nav-content button.copybtn svg {
  width: 18px !important;
  height: 18px !important;

  fill: none !important;       /* critical */
  stroke: #555 !important;
  stroke-width: 2 !important;
  opacity: 1 !important;
}
