/* 2025极简风格按钮 */
#pdfTrigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 24px;
  background: #4285f4;
  color: white;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#pdfTrigger:hover {
  transform: translateY(-2px) scale(1.05);
}

/* 全屏浮窗容器 */
#pdfOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  backdrop-filter: blur(10px);
}

/* 弹窗内容容器 */
#pdfContainer {
  position: relative;
  width: 92%;
  max-width: 800px;
  height: 90vh;
  margin: 5vh auto;
}

/* PDF展示区 */
#pdfViewer {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* 智能关闭按钮 */
#closeBtn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: #ff4444;
  color: white;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.3s;
  z-index: 10;
}

#closeBtn:hover {
  transform: rotate(90deg) scale(1.1);
}

/* PDF页面容器 */
.pdf-page-container {
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100% !important;
  /* 确保宽度撑满 */
}