main {
  width: 100%;
  min-width: 1200px;
  min-height: 1100px;
  background-color: #e8eef3;
  padding-top: 88px;
}
.doc-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
}
.doc-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: fit-content;
}
.doc-category {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 900px;
}
.doc-category li {
  padding: 16px 24px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}
.doc-category li:first-child {
  border-radius: 8px 8px 0 0;
}
.doc-category li:last-child {
  border-radius: 0 0 8px 8px;
}
.doc-category li:hover {
  background-color: #f5f7fa;
  color: #1F3A8C;
}
.doc-category li.active {
  background-color: #1F3A8C;
  color: white;
}
.doc-main {
  flex: 1;
  position: relative;
  min-height: 700px;
}
.doc-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-content: start;
  min-height: 400px;
}
.doc-card {
  background: white;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.doc-card img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  display: block;
}
.doc-card h3 {
  padding: 16px;
  font-weight: bold;
  margin: 0;
  font-size: 16px;
  color: #333;
  text-align: center;
}
.doc-card .doc-btn {
  margin: 0 16px 16px;
  padding: 10px 20px;
  background-color: #f5f7fa;
  color: #333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}
.doc-card .doc-btn:hover {
  background-color: #1890ff;
  color: white;
}

/* 空状态样式 */
.doc-main .doc-empty {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: white !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.doc-empty-icon {
  margin-bottom: 30px;
}
.doc-empty-icon svg {
  width: 150px;
  height: 150px;
  opacity: 0.4;
  display: block;
}
.doc-empty-text {
  font-size: 20px;
  color: #606266;
  margin: 0 0 10px 0;
  font-weight: 500;
  text-align: center;
}
.doc-empty-hint {
  font-size: 14px;
  color: #909399;
  margin: 0;
  text-align: center;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 20px 0;
}
.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  color: #606266;
  background-color: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.pagination-item:hover {
  color: #1F3A8C;
  border-color: #1F3A8C;
}
.pagination-item.active {
  color: #fff;
  background-color: #1F3A8C;
  border-color: #1F3A8C;
}
