/* PDF Base64 转换工具特定样式 */
.text-icon.pdf-base64 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-icon.pdf-base64 .algo-text {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill-input {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#output {
  white-space: pre-wrap !important;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
}

#input {
  white-space: pre-wrap !important;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
}

/* PDF 预览容器 */
.pdf-preview-container {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1f2937;
  display: none;
}

.light-theme .pdf-preview-container {
  border-color: #e2e8f0;
}

.pdf-preview-container.show {
  display: block;
}

.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}
