.bx-im-message-content-code pre {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    overflow: auto;
    max-width: 100%;
    line-height: 1.35;
}
.bx-im-message-content-code code.hljs {
    display: block;
    white-space: pre;
}

.hljs-copy-wrapper {
  position: relative;
  overflow: hidden;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}
.hljs-copy-container {
  --hljs-theme-padding: 16px;
  position: absolute;
  top: 0;
  right: 0;
  -webkit-transition: -webkit-transform 200ms ease-out;
  transition: -webkit-transform 200ms ease-out;
  -o-transition: transform 200ms ease-out;
  transition: transform 200ms ease-out;
  transition: transform 200ms ease-out, -webkit-transform 200ms ease-out;
}
.hljs-copy-button {
  position: relative;
  margin: calc(var(--hljs-theme-padding) / 2);
  width: calc(16px + var(--hljs-theme-padding));
  height: calc(16px + var(--hljs-theme-padding));
  font-size: 0.8125rem;
  text-indent: -9999px; /* Hide the inner text */
  color: var(--hljs-theme-color);
  border-radius: 0.25rem;
  border: 1px solid;
  border-color: color-mix(in srgb, var(--hljs-theme-color), transparent 80%);
  background-color: var(--hljs-theme-background);
  -webkit-transition: background-color 200ms ease;
  -o-transition: background-color 200ms ease;
  transition: background-color 200ms ease;
  overflow: hidden;
}
.hljs-copy-button:not([data-copied="true"])::before {
  content: "";
  width: 1rem;
  height: 1rem;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: absolute;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6 5a1 1 0 00-1 1v14a1 1 0 001 1h12a1 1 0 001-1V6a1 1 0 00-1-1h-2a1 1 0 110-2h2a3 3 0 013 3v14a3 3 0 01-3 3H6a3 3 0 01-3-3V6a3 3 0 013-3h2a1 1 0 010 2H6z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 3a2 2 0 012-2h6a2 2 0 012 2v2a2 2 0 01-2 2H9a2 2 0 01-2-2V3zm8 0H9v2h6V3z' fill='%23000'/%3E%3C/svg%3E");
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6 5a1 1 0 00-1 1v14a1 1 0 001 1h12a1 1 0 001-1V6a1 1 0 00-1-1h-2a1 1 0 110-2h2a3 3 0 013 3v14a3 3 0 01-3 3H6a3 3 0 01-3-3V6a3 3 0 013-3h2a1 1 0 010 2H6z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 3a2 2 0 012-2h6a2 2 0 012 2v2a2 2 0 01-2 2H9a2 2 0 01-2-2V3zm8 0H9v2h6V3z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center center;
          mask-position: center center;
}

.hljs-copy-button:hover {
  background-color: color-mix(
    in srgb,
    var(--hljs-theme-color),
    transparent 90%
  );
}
.hljs-copy-button:active {
  border-color: color-mix(in srgb, var(--hljs-theme-color), transparent 60%);
}
.hljs-copy-button[data-copied="true"] {
  text-indent: 0px; /* Shows the inner text */
  width: auto;
}

.hljs-copy-container[data-autohide="true"] {
  -webkit-transform: translateX(calc(100% + 1.125em));
      -ms-transform: translateX(calc(100% + 1.125em));
          transform: translateX(calc(100% + 1.125em));
}

.hljs-copy-wrapper:focus-within .hljs-copy-container {
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}
.hljs-copy-wrapper:hover .hljs-copy-container {
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}

@media (prefers-reduced-motion) {
  .hljs-copy-button {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

/* visually-hidden */
.hljs-copy-alert {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
