@charset "UTF-8";

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.page > * {
  flex-shrink: 0;
}

.page-bottom {
  margin-top: 0;
}

/** 列表页内容区 */
.list-container {
  width: 100%;
  min-height: 500px;
  height: 0;
  flex: 1;
}

.list-content {
  width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 0 16px 0;
  box-sizing: border-box;
}

/** 标题区域 */
.list-header {
  position: relative;
  margin-bottom: 24px;
  padding: 0 16px;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
}

.list-header-bar {
  display: inline-block;
  width: 4px;
  height: 21px;
  background: #1d2088;
  margin-right: 12px;
  flex-shrink: 0;
}

.list-header-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

/** 列表项 */
.list-item {
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px dashed #c9d5e1;
  cursor: pointer;
  transition: background 0.2s;
}

.list-item:hover {
  background: #f9f9f9;
}

.list-item-date {
  min-width: 80px;
  font-weight: 500;
  text-align: right;
}

.list-item-date-day {
  font-size: 26px;
  color: #333;
  line-height: 1.2;
}

.list-item-date-year {
  font-size: 14px;
  color: #c9d5e1;
  line-height: 1.2;
  margin-top: 2px;
}

.list-item-divider {
  width: 3px;
  align-self: stretch;
  background: #c9d5e1;
  margin: 0 24px;
  flex-shrink: 0;
  border-radius: 2px;
}

.list-item-body {
  flex: 1;
  min-width: 0;
}

.list-item-title {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item-summary {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 52px;
}

/** 空状态 */
.empty-tip {
  text-align: center;
  padding: 60px 0;
  color: #999;
}

.empty-tip img {
  display: block;
  margin: 0 auto 12px;
}

/** 加载状态 */
.list-loading {
  text-align: center;
  padding: 60px 0;
  font-size: 30px;
  color: #115db2;
}

/** 底部分页 */
.list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px 0 0;
  font-size: 16px;
}

.list-footer-total {
  font-weight: 500;
  color: #1d2088;
}

.list-footer-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.list-footer-pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.list-footer-pagination .page-btn:hover {
  color: #1d2088;
  border-color: #1d2088;
}

.list-footer-pagination .page-btn.active {
  background: #1d2088;
  border-color: #1d2088;
  color: #fff;
}

.list-footer-pagination .page-btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.list-footer-pagination .page-btn.disabled:hover {
  color: #606266;
  border-color: #dcdfe6;
}

.list-footer-pagination .page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  color: #606266;
  font-size: 14px;
  user-select: none;
}
