/* ============================================================
 * Files Gallery custom.css — pdf.js 全屏浮层样式
 * 配合 _files/js/custom.js 使用（2026-08-13）
 * ============================================================ */

.fg-pdfjs-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000; /* 高于 sweetalert2/files.gallery 模态框 */
  background: #000;
  display: flex;
  flex-direction: column;
}
.fg-pdfjs-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 6px 0 14px;
  background: #1f1f1f;
  color: #eee;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.fg-pdfjs-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 12px;
}
.fg-pdfjs-status {
  flex: 0 0 auto;
  margin-left: auto;
  padding-right: 10px;
  color: #aaa;
  font-size: 12px;
}
.fg-pdfjs-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #eee;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fg-pdfjs-close:hover,
.fg-pdfjs-close:active {
  background: rgba(255, 255, 255, .15);
}
.fg-pdfjs-frame {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #333;
}
