/* Custom Styles for DONG NAI CULTURAL TOURISM */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.active-nav {
  background-color: #ffffff;
  color: #047857; /* emerald-700 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Chat bubble animation */
@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-bubble {
  animation: fadeInMsg 0.25s ease-out forwards;
}

/* Blinking cursor for AI streaming */
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.streaming-cursor {
  display: inline-block;
  margin-left: 2px;
  color: #059669;
  font-weight: bold;
  animation: blinkCursor 0.7s infinite;
}

/* Itinerary step indicator */
.timeline-item {
  position: relative;
  padding-left: 28px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: -16px;
  width: 2px;
  background-color: #e2e8f0;
}
.timeline-item:last-child::before {
  display: none;
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #059669;
  border: 3px solid #d1fae5;
}

/* Mobile Smooth Scrolling & Responsive Polish */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Hide scrollbar for clean horizontal carousel chips on mobile */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Thanh trượt ngang đơn giản & hiện đại cho 106 Món Ngon */
.custom-dish-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #059669 #f1f5f9;
  -webkit-overflow-scrolling: touch;
}
.custom-dish-scrollbar::-webkit-scrollbar {
  height: 6px;
}
.custom-dish-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 9999px;
}
.custom-dish-scrollbar::-webkit-scrollbar-thumb {
  background: #059669;
  border-radius: 9999px;
  cursor: pointer;
}
.custom-dish-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* Safe touch target on mobile */
@media (max-width: 640px) {
  .mobile-nav-btn {
    user-select: none;
    touch-action: manipulation;
  }
}
