.maps {
  padding: 20px;
}

.search-box {
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  width: 200px;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #1a237e;
  box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.1);
}

.filters {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: center;
}

.filter-select {
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  min-width: 100px;
}

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

.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-btn,
.page-number {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  color: #1a237e;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  min-width: 40px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover:not(:disabled),
.page-number:hover:not(.active) {
  background: #f5f7fa;
  border-color: #1a237e;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-number.active {
  background: #1a237e;
  color: white;
  border-color: #1a237e;
}

.page-ellipsis {
  color: #666;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
}

.page-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  flex-wrap: wrap;
  justify-content: center;
}

.page-jump input {
  width: 50px;
  padding: 4px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.page-jump input:focus {
  outline: none;
  border-color: #1a237e;
  box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.1);
}

.jump-btn {
  padding: 4px 12px;
  border: 1px solid #1a237e;
  border-radius: 4px;
  background: #1a237e;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.jump-btn:hover:not(:disabled) {
  background: #283593;
  border-color: #283593;
}

.jump-btn:disabled {
  background: #e0e0e0;
  border-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .search-box input {
    width: 100%;
  }

  .pagination {
    gap: 12px;
  }

  .page-btn,
  .page-number {
    padding: 6px 12px;
    font-size: 13px;
  }

  .page-jump {
    font-size: 13px;
  }

  .page-jump input {
    width: 40px;
    padding: 3px 6px;
  }

  .jump-btn {
    padding: 3px 10px;
    font-size: 13px;
  }
} 