.updates-section {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-header {
  flex: 0 0 auto;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

#search-sn {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 200px;
}

#search-sn:focus {
  outline: none;
  border-color: #2196F3;
}

#filter-status {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 120px;
}

#filter-status:focus {
  outline: none;
  border-color: #2196F3;
}

.updates-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  position: relative;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 10px;
}

.page-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background-color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
  background-color: #f5f5f5;
  border-color: #2196F3;
  color: #2196F3;
}

.page-btn:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

#page-info {
  color: #666;
}

/* 状态样式 */
.status-success {
  color: #4CAF50;
}

.status-failed {
  color: #f44336;
}

.status-processing {
  color: #2196F3;
}

/* 详情按钮样式 */
.detail-btn {
  padding: 6px 12px;
  background-color: #2196F3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.detail-btn:hover {
  background-color: #1976D2;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .filter-group {
    flex-wrap: wrap;
  }

  #search-sn,
  #filter-status {
    width: 100%;
  }
} 