* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f5;
  overflow-x: hidden;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: inherit;
}

.main {
  display: flex;
  flex-direction: column;
}

.header.map {
  background: #fff;
  height: 6rem;
}

.header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  height: 6rem;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  height: 2.5rem;
}

.tab {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.tab.active {
  color: #ff5722;
  border-bottom-color: #ff5722;
}

.city-selector {
  height: 3.5rem;
  display: flex;
  gap: 12px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.city-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.city-box.active {
  border-color: #ff5722;
  background: #ff5722;
  color: white;
}

#map {
  flex: 1;
  height: calc(100% - 6rem);
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  padding-bottom: 4rem;
}

.restaurant-card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.restaurant-info {
  display: flex;
  justify-content: space-between;
}

.restaurant-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #333;
}

.restaurant-rating {
  color: #ff9800;
  margin-bottom: 8px;
  font-size: 0.75rem;
}

.restaurant-imgs {
  margin-bottom: 12px;
  width: 100%;
  overflow-y: hidden;
  overflow-x: auto;
  white-space: nowrap;
}
.restaurant-imgs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.restaurant-imgs img {
  border-radius: 0.5rem;
}
.restaurant-imgs img + img {
  margin-left: 0.5rem;
}

.reviews {
  margin: 1rem 0 0.25rem;
  font-size: 0.75rem;
  color: #666;
}

.influencers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.influencer-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  width: calc((100% - 44px) / 4);
}

.influencer-tag:hover .influencer-thumbnail {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.influencer-thumbnail-wrapper {
  position: relative;
  width: 100%;
}

.influencer-thumbnail {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.influencer-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 18px;
  width: 20px;
  height: 20px;
}

.influencer-name {
  font-size: 12px;
  color: #333;
  text-align: center;
  font-weight: 500;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navigate-btn {
  width: 100%;
  padding: 12px;
  background: #ff5722;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
}

.navigate-btn:hover {
  background: #e64a19;
}

.google-maps-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.google-maps-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.5);
}

.google-maps-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
}
