body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f4f4f4;
}

h1 {
  color: #333;
  text-align: center;
  padding: 20px 0;
  background-color: #24292e;
  color: white;
  border-radius: 5px;
}

.search-container {
  margin-bottom: 20px;
  text-align: center;
}

#search-input {
  width: 70%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.repo-card {
  background-color: white;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.repo-card h2 {
  margin-bottom: 10px;
  color: #0366d6;
}

.repo-card h2 a {
  text-decoration: none;
  color: inherit;
}

.repo-card h2 a:hover {
  text-decoration: underline;
}

.repo-card p {
  margin: 10px 0;
  color: #586069;
}

.repo-card .stars {
  display: inline-block;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: #28a745;
  border-radius: 2em;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.file-structure {
  font-family: monospace;
  white-space: pre;
}

/* ... (previous styles) ... */

/* 现有的样式保持不变 */

/* 新增和修改的样式 */
.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background-color: #f6f8fa;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.filters select, .filters input[type="date"] {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  background-color: white;
  color: #24292e;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.filters select:focus, .filters input[type="date"]:focus {
  outline: none;
  border-color: #0366d6;
  box-shadow: 0 0 0 3px rgba(3,102,214,0.3);
}

#update-btn {
  background-color: #2ea44f;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#update-btn:hover {
  background-color: #2c974b;
}

.search-container {
  margin-bottom: 20px;
}

#search-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#search-input:focus {
  outline: none;
  border-color: #0366d6;
  box-shadow: 0 0 0 3px rgba(3,102,214,0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .filters {
      flex-direction: column;
      align-items: stretch;
  }

  .filters select, .filters input[type="date"], #update-btn {
      margin-bottom: 10px;
      width: 100%;
  }
}
#update-btn {
  background-color: #0366d6;
  color: white;
  border: none;
  cursor: pointer;
}

#update-btn:hover {
  background-color: #0056b3;
}