body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", "微软雅黑", "宋体", "Arial", "sans-serif";
}
body,
button,
input,
select,
textarea {
  font: 12px/1 system-ui, "Microsoft YaHei", "微软雅黑", "arial", "tahoma", "MicrosoftJhengHei", "sans-serif";
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased !important;
  /* 用 ascii 字符表示，使得在任何编码下都无问题 */
}
a {
  text-decoration: none;
}
a:link,
a:visited,
a:hover {
  color: inherit;
  text-decoration: none;
}
input {
  all: unset;
  /* 移除所有默认样式 */
  box-sizing: border-box;
  /* 让 padding 和 border 计算在 width 内 */
  font-family: inherit;
  /* 继承父级字体 */
  font-size: inherit;
  /* 继承字体大小 */
  appearance: none;
  /* 移除默认外观（对部分浏览器有效） */
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  padding: 0;
  margin: 0;
}
input:focus {
  outline: none;
}
button {
  all: unset;
  /* 移除所有默认样式 */
  background: transparent;
  /* 背景透明 */
  border: none;
  /* 移除默认边框 */
  font-family: inherit;
  /* 继承父元素字体 */
  font-size: inherit;
  /* 继承字体大小 */
  padding: 0;
  /* 去除内边距 */
  margin: 0;
  /* 去除外边距 */
  cursor: pointer;
  /* 使按钮可点击 */
  outline: none;
  /* 去除焦点框 */
  appearance: none;
  /* 去除系统样式 */
}
* {
  box-sizing: border-box;
}
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pdf-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
#pdf-canvas {
  height: 440px;
  display: block;
  margin: 0 auto 20px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.pdf-pagination {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pdf-btn {
  padding: 8px 20px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pdf-btn:hover:not(:disabled) {
  background-color: #3972D4;
  color: #fff;
  border-color: #3972D4;
}
.pdf-btn:active:not(:disabled) {
  transform: scale(0.95);
}
.pdf-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pdf-page-info {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  min-width: 80px;
  text-align: center;
}
