.wbbsupportPdfEmbed {
  display: block;
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--wcfContentBorderInner, #d8d8d8);
  border-radius: 6px;
  background: var(--wcfContentBackground, #fff);
}

.wbbsupportPdfEmbedToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--wcfContentBorderInner, #d8d8d8);
  background: var(--wcfContentContainerBackground, #f7f7f7);
}

.wbbsupportPdfEmbedTitle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wbbsupportPdfEmbedControls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.wbbsupportPdfEmbedButton {
  min-width: 32px;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 18px;
  line-height: 1;
}

.wbbsupportPdfEmbedPageLabel {
  min-width: 110px;
  text-align: center;
  white-space: nowrap;
}

.wbbsupportPdfEmbedViewport {
  display: flex;
  min-height: 240px;
  max-height: 75vh;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 16px;
  background: #525659;
}

.wbbsupportPdfEmbedCanvas {
  display: block;
  max-width: 100%;
  height: auto !important;
  background: #fff;
  box-shadow: 0 3px 14px rgb(0 0 0 / 35%);
}

.wbbsupportPdfEmbedCanvas[hidden] {
  display: none;
}

.wbbsupportPdfEmbedStatus {
  align-self: center;
  padding: 24px;
  color: #fff;
  text-align: center;
}

.wbbsupportPdfEmbedStatus .button {
  margin-top: 12px;
}

@media (max-width: 800px) {
  .wbbsupportPdfEmbedToolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .wbbsupportPdfEmbedControls {
    flex-wrap: wrap;
  }

  .wbbsupportPdfEmbedDownload {
    margin-left: auto;
  }

  .wbbsupportPdfEmbedViewport {
    min-height: 180px;
    max-height: 65vh;
    padding: 8px;
  }
}
.wbbsupportPdfEmbed[hidden] {
  display: none;
}

.wbbsupportPdfEmbedToggleLabel {
  font-weight: 400;
}