.nearby-users {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.distance-controls {
  margin-bottom: 20px;
}

.distance-controls button {
  margin-right: 10px;
  padding: 8px 16px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

.distance-controls button:hover {
  background-color: #e0e0e0;
}

.user-list {
  list-style: none;
  padding: 0;
}

.user-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-name {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}

.user-distance {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.user-bio {
  color: #333;
}

.mode-button {
  margin-left: 20px;
  padding: 8px 16px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  cursor: pointer;
}

.mode-button.active {
  background-color: #007bff;
  color: white;
  border-color: #0056b3;
}

.missed-users-warning {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 12px;
  margin: 15px 0;
  border-radius: 4px;
}

.border-user {
  border-left: 4px solid #ff9800 !important;
  background-color: #fff8e1;
}

.border-badge {
  display: inline-block;
  background-color: #ff9800;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 8px;
}

.search-info {
  background-color: #e1f5fe;
  border: 1px solid #b3e5fc;
  color: #01579b;
  padding: 10px;
  margin-top: 20px;
  border-radius: 4px;
}

.additional-user {
  border-left: 4px solid #4caf50 !important;
  background-color: #e8f5e9;
}

.additional-badge {
  display: inline-block;
  background-color: #4caf50;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 8px;
  margin-left: 8px;
}

.additional-users-info {
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* App styles */
.App {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.App-header {
  background-color: #282c34;
  padding: 20px;
  color: white;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* NearbyUsers component styles */
.nearby-users-container {
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.current-location, .geohash-info {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.geohash-info table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.geohash-info th, .geohash-info td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.geohash-info th {
  background-color: #f2f2f2;
}

.geohash-info tr:hover {
  background-color: #f5f5f5;
}

.filters {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  flex-wrap: wrap;
}

.filter-group {
  margin: 10px;
}

.filter-group select {
  margin-left: 8px;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.users-list {
  margin-top: 20px;
}

.users-list ul {
  padding: 0;
  list-style: none;
}

.user-card {
  display: flex;
  align-items: center;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.user-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.user-info {
  flex-grow: 1;
}

.user-info h4 {
  margin: 0 0 8px 0;
}

.user-info p {
  margin: 4px 0;
  color: #666;
}

/* New styles for geohash display */
.search-geohashes {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-geohashes h4 {
  margin-top: 15px;
  margin-bottom: 8px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.geohash-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.geohash-chip {
  background-color: #e3f2fd;
  border: 1px solid #90caf9;
  color: #1565c0;
  padding: 5px 10px;
  border-radius: 16px;
  font-family: monospace;
  font-size: 14px;
}

.extended-chips {
  margin-bottom: 10px;
}

.extended-chip {
  background-color: #f3e5f5;
  border: 1px solid #ce93d8;
  color: #7b1fa2;
}

.extended-stats {
  margin-top: 8px;
  font-size: 14px;
  color: #7b1fa2;
  font-style: italic;
}

.user-geohash {
  font-family: monospace;
  background-color: #f5f5f5;
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid #e0e0e0;
}

.extended-user {
  border-left: 4px solid #9c27b0;
  background-color: #f3e5f5;
}

.extended-badge {
  display: inline-block;
  background-color: #9c27b0;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 8px;
}

.extended-info {
  width: 100%;
  margin-top: 10px;
  font-style: italic;
  color: #7b1fa2;
}

