.highlight {
  position: relative;
}

.btn-copy {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 24px;
  cursor: pointer;
  border-radius: 6px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  color: #8f9bb0;
  background: rgba(10, 15, 27, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.2);
  backdrop-filter: blur(10px);
  -webkit-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

.btn-copy:hover {
  color: #eef2ff;
  background: rgba(138, 173, 244, 0.18);
  border-color: rgba(138, 173, 244, 0.35);
}

.highlight:hover .btn-copy {
  opacity: 1;
}