@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.25s ease-out forwards;
}

.glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav-item.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(5, 150, 105, 0.45);
}

.nav-item:not(.active):hover {
  background: #f1f5f9;
  color: #0f172a;
}

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

/* Autocomplete dropdown */
.ac-dropdown {
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 18px 36px -12px rgba(15, 23, 42, 0.22);
}

/* 3D Farm Canvas */
#farm3d-canvas {
  cursor: grab;
  touch-action: none;
}
#farm3d-canvas.pin-mode {
  cursor: crosshair;
}
#farm3d-canvas:active {
  cursor: grabbing;
}

/* Markdown-lite chat bubble */
.chat-bubble strong { font-weight: 700; color: #064e3b; }
.chat-bubble em { font-style: italic; }
