html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.marker-ring {
  width: 20px;
  height: 20px;
  background-color: white;
  border: 3px solid #FF533F;
  border-radius: 9999px;
}

.marker-lfg-ring {
  width: 24px;
  height: 24px;
  padding: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #6366f1, #ec4899, #6366f1);
  background-size: 600% 600%;
  animation: glowing-ring 3s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-inner {
  width: 100%;
  height: 100%;
  background-color: white;
  border: 3px solid #FF533F;
  border-radius: 9999px;
}

.custom-cluster {
  background-color: #FF533F;
  color: white;
  border-radius: 9999px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  line-height: 40px;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 0 4px white;
}

@keyframes glowing-ring {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.avatar {
  width: 40px;
  height: 40px;
  border: 2px solid #e5e7eb;
  border-radius: 9999px;
  object-fit: cover;
}

.avatar-lfg {
  width: 40px;
  height: 40px;
  padding: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #6366f1, #ec4899, #6366f1);
  background-size: 600% 600%;
  animation: glowing-ring 3s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#sidebar h2 + p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.message-btn {
  display: inline-block;
  background-color: #6366f1;
  color: white;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
  text-align: center;
  margin-top: 0.25rem;
}

.message-btn:hover {
  background-color: #4f46e5;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.2;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.pulse-highlight {
  pointer-events: none;
  position: absolute;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  border-radius: 9999px;
  background-color: #6366f1;
  animation: pulse-ring 1s ease-out forwards;
  z-index: 1000;
}

