@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0px);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
.chat-open {
  animation: slideUp 0.4s ease-out;
}
.chat-close {
  animation: slideDown 0.4s ease-out;
}
.modal-overlay {
  animation: fadeIn 0.8s ease;
}
.modal-content {
  animation: slideUp 0.8s ease;
}
.float-button {
  animation: bounce 2s infinite;
}
.message-bubble {
  animation: slideUp 0s ease-out;
}
.typing-indicator span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f97316;
  margin: 0 2px;
  animation: pulse 1.4s infinite;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.3s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}
.chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: #f97316;
  border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #ea580c;
}
#map {
  height: 600px;
  border-radius: 1rem;
  z-index: 1;
}
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0;
}
.leaflet-popup-content {
  margin: 0;
  width: 250px !important;
}
.place-card {
  transition: all 0.4s ease;
  cursor: pointer;
}
.place-card:hover {
  transform: translateY(-2px);
}
.place-card.selected {
  border: 2px solid #f97316;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}
.custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.restaurant-marker {
  background: #ea580c;
}
.pharmacy-marker {
  background: #059669;
}
.user-marker {
  background: #3b82f6;
}
.pulse-animation {
  animation: pulse 3s infinite;
}
.loading-spinner {
  border: 3px solid #f3f4f6;
  border-top: 3px solid #f97316;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}
#location-selector {
  transition: all 0.4s ease;
  cursor: pointer;
}
#location-selector:hover {
  background-color: rgba(249, 115, 22, 0.05);
  transform: translateY(-1px);
}
.animate-pulse {
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
