@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --fc-brand: #0aa89e !important;
  --fc-brand-dark: #0b8f87 !important;
  --fc-brand-light: #e6f6f5 !important;
  --fc-bg: #f3f4f6 !important;
  --fc-bg-chat: #f8fafc !important;
  --fc-text-dark: #1f2937 !important;
  --fc-text-muted: #6b7280 !important;
  --fc-border: #f3f4f6 !important;
  --fc-border-strong: #e5e7eb !important;
  --fc-danger: #ef4444 !important;
  --fc-danger-light: #fef2f2 !important;
}

/* Guard standalone mode vs embedded mode */
body.foodchow-ai-agent-body {
  background-color: var(--fc-bg) !important;
  height: 100vh !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
div.foodchow-ai-agent-body {
  background-color: transparent !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Base Reset & Isolation */
.foodchow-ai-agent-body {
  font-family: 'Inter', sans-serif !important;
  color: var(--fc-text-dark) !important;
}
.foodchow-ai-agent-body * {
  box-sizing: border-box !important;
  line-height: normal !important;
}
/* Ensure elements inherit typography directly and avoid host bleed */
.foodchow-ai-agent-body p,
.foodchow-ai-agent-body h1,
.foodchow-ai-agent-body h2,
.foodchow-ai-agent-body h3,
.foodchow-ai-agent-body span,
.foodchow-ai-agent-body div,
.foodchow-ai-agent-body button,
.foodchow-ai-agent-body input,
.foodchow-ai-agent-body textarea {
  font-family: 'Inter', sans-serif !important;
}

.foodchow-ai-agent-body ::selection {
  background-color: rgba(10, 168, 158, 0.2) !important;
  color: var(--fc-brand-dark) !important;
}

/* Scrollbar hide */
.foodchow-ai-agent-no-scrollbar::-webkit-scrollbar { display: none !important; }
.foodchow-ai-agent-no-scrollbar { -ms-overflow-style: none !important; scrollbar-width: none !important; }

/* Wrapper */
.foodchow-ai-agent-wrapper {
  position: fixed !important;
  z-index: 1000 !important;
  background-color: #fff !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.16) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 100dvh !important;
  bottom: 0 !important;
  right: 0 !important;
  border: 1px solid rgba(243,244,246,0.5) !important;
  transform: translateY(20px) scale(0.95) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), width 0.3s, height 0.3s !important;
}
.foodchow-ai-agent-wrapper.active {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (min-width: 768px) {
  .foodchow-ai-agent-wrapper {
    width: 420px !important;
    height: 85vh !important;
    max-height: 800px !important;
    bottom: 7rem !important;
    right: 2rem !important;
    border-radius: 1.5rem !important;
  }
  .foodchow-ai-agent-wrapper.expanded {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;
    right: auto !important;
    transform: translate(-50%, -50%) scale(1) !important;
    width: 90vw !important;
    max-width: 900px !important;
    height: 85vh !important;
    max-height: 800px !important;
    border-radius: 24px !important;
    z-index: 9999 !important;
  }
}

/* Sections */
.foodchow-ai-agent-section {
  display: none !important;
  flex-direction: column !important;
  height: 100% !important;
  background: var(--fc-bg-chat) !important;
  flex: 1 !important;
  position: relative !important;
}
.foodchow-ai-agent-section.active {
  display: flex !important;
  animation: fcFadeIn 0.3s ease forwards !important;
}

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

/* Headers */
.foodchow-ai-agent-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1rem 1.5rem !important;
  background-color: var(--fc-brand) !important;
  color: #fff !important;
  flex-shrink: 0 !important;
  height: 80px !important;
  position: relative !important;
  z-index: 50 !important; 
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}
.foodchow-ai-agent-header-left, .foodchow-ai-agent-header-center {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.foodchow-ai-agent-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  position: relative !important; 
}
.foodchow-ai-agent-header-center { gap: 0.75rem !important; }

.foodchow-ai-agent-logo-img { height: 1.75rem !important; object-fit: contain !important; }
.foodchow-ai-agent-logo-text { font-weight: 800 !important; font-size: 1.25rem !important; letter-spacing: -0.025em !important; }

.foodchow-ai-agent-bot-avatar {
  position: relative !important; width: 2.5rem !important; height: 2.5rem !important; background: #fff !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; border: 1px solid var(--fc-border-strong) !important; padding: 2px !important;
}
.foodchow-ai-agent-bot-avatar img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
.foodchow-ai-agent-status-dot {
  position: absolute !important; bottom: 0 !important; right: 0 !important; width: 10px !important; height: 10px !important; background: #4ade80 !important; border-radius: 50% !important; border: 2px solid #fff !important;
}
.foodchow-ai-agent-bot-info { display: flex !important; flex-direction: column !important; }
.foodchow-ai-agent-bot-title { font-weight: bold !important; font-size: 1rem !important; line-height: 1 !important; }
.foodchow-ai-agent-bot-subtitle { font-size: 11px !important; color: rgba(230,246,245,0.9) !important; font-weight: 500 !important; margin-top: 4px !important; display: flex !important; align-items: center !important; gap: 4px !important; }
.foodchow-ai-agent-bot-subtitle span { width: 6px !important; height: 6px !important; background: #4ade80 !important; border-radius: 50% !important; }

/* Icon Buttons */
.foodchow-ai-agent-icon-btn {
  width: 2.25rem !important; height: 2.25rem !important; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 50% !important; background: rgba(255,255,255,0.2) !important; border: none !important; color: #fff !important; cursor: pointer !important; transition: background 0.2s !important; backdrop-filter: blur(4px) !important;
}
.foodchow-ai-agent-icon-btn:hover { background: rgba(255,255,255,0.3) !important; }
.foodchow-ai-agent-icon-btn-hidden-mobile { display: none !important; }
@media (min-width: 768px) { .foodchow-ai-agent-icon-btn-hidden-mobile { display: flex !important; } }

/* Scroll Area */
/* Update this block in index.css */
.foodchow-ai-agent-scroll-area { 
  flex: 1 !important; 
  overflow-y: auto !important; 
  padding: 1.5rem !important; 
  position: relative !important; 
  padding-bottom: 1.5rem !important; /* ✨ FIX: Changed from 5.5rem to 1.5rem to remove the huge gap */
  scroll-behavior: smooth !important; 
}
.foodchow-ai-agent-chat-area { 
  flex: 1 !important; 
  overflow-y: auto !important; 
  padding: 1.25rem !important; 
  display: flex !important; 
  flex-direction: column !important; 
  gap: 0.5rem !important; 
  background: var(--fc-bg-chat) !important; 
  padding-bottom: 1.25rem !important; 
  scroll-behavior: smooth !important; 
}
/* Home Components */
.foodchow-ai-agent-welcome { margin-top: 0.5rem !important; margin-bottom: 2rem !important; }
.foodchow-ai-agent-welcome h1 { font-size: 1.875rem !important; font-weight: 800 !important; display: flex !important; align-items: center !important; gap: 0.75rem !important; margin: 0 !important; color: var(--fc-text-dark) !important; letter-spacing: -0.025em !important; }
.foodchow-ai-agent-welcome p { color: var(--fc-text-muted) !important; font-weight: 500 !important; margin-top: 0.5rem !important; font-size: 1rem !important; }

.foodchow-ai-agent-pill-btn {
  display: inline-flex !important; align-items: center !important; gap: 0.75rem !important; background: #fff !important; padding: 0.625rem 1.25rem !important; border-radius: 9999px !important; box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; border: 1px solid var(--fc-border) !important; font-size: 14px !important; font-weight: 600 !important; color: #374151 !important; margin-bottom: 2rem !important; cursor: pointer !important; transition: box-shadow 0.2s !important;
}
.foodchow-ai-agent-pill-btn:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important; }
.foodchow-ai-agent-pulse-dot { width: 8px !important; height: 8px !important; background: #22c55e !important; border-radius: 50% !important; animation: fcPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important; }
@keyframes fcPulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.foodchow-ai-agent-hero {
  background: linear-gradient(to bottom, rgba(230,246,245,0.5), #fff) !important; border-radius: 1rem !important; box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; border: 1px solid rgba(243,244,246,0.8) !important; display: flex !important; flex-direction: column !important; align-items: center !important; padding: 1.25rem !important; text-align: center !important; margin-bottom: 1.5rem !important; position: relative !important; overflow: hidden !important;
}
.foodchow-ai-agent-hero img { max-width: 200px !important; width: 100% !important; margin-top: -0.5rem !important; margin-bottom: 0.75rem !important; filter: drop-shadow(0 20px 13px rgba(0,0,0,0.03)) !important; transition: transform 0.5s !important; position: relative !important; z-index: 10 !important; }
.foodchow-ai-agent-hero:hover img { transform: scale(1.05) !important; }
.foodchow-ai-agent-hero h2 { font-size: 16px !important; font-weight: bold !important; margin: 0 0 4px 0 !important; color: var(--fc-text-dark) !important; position: relative !important; z-index: 10 !important; }
.foodchow-ai-agent-hero p { font-size: 13px !important; color: var(--fc-text-muted) !important; margin: 0 0 1rem 0 !important; line-height: 1.4 !important; position: relative !important; z-index: 10 !important; }
.foodchow-ai-agent-primary-btn {
  background: var(--fc-brand) !important; color: #fff !important; padding: 0.625rem 1.25rem !important; border-radius: 0.75rem !important; font-size: 14px !important; font-weight: bold !important; width: 100% !important; border: none !important; cursor: pointer !important; transition: all 0.2s !important; position: relative !important; z-index: 10 !important;
}
.foodchow-ai-agent-primary-btn:hover { background: var(--fc-brand-dark) !important; transform: translateY(-2px) !important; box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important; }

.foodchow-ai-agent-resources-title { font-weight: bold !important; color: var(--fc-text-dark) !important; font-size: 15px !important; padding: 0 4px !important; margin-bottom: 0.75rem !important; }
.foodchow-ai-agent-resource {
  display: flex !important; align-items: center !important; gap: 1rem !important; background: #fff !important; border: 1px solid var(--fc-border) !important; border-radius: 1rem !important; padding: 1rem !important; cursor: pointer !important; transition: all 0.2s !important; text-decoration: none !important; margin-bottom: 0.75rem !important;
}
.foodchow-ai-agent-resource:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important; border-color: rgba(10,168,158,0.3) !important; }
.foodchow-ai-agent-resource-icon { width: 40px !important; height: 40px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: background 0.2s, color 0.2s !important; }
.foodchow-ai-agent-resource.blue .foodchow-ai-agent-resource-icon { background: #eff6ff !important; color: #3b82f6 !important; }
.foodchow-ai-agent-resource.blue:hover .foodchow-ai-agent-resource-icon { background: #3b82f6 !important; color: #fff !important; }
.foodchow-ai-agent-resource.purple .foodchow-ai-agent-resource-icon { background: #f5f3ff !important; color: #a855f7 !important; }
.foodchow-ai-agent-resource.purple:hover .foodchow-ai-agent-resource-icon { background: #a855f7 !important; color: #fff !important; }
.foodchow-ai-agent-resource h3 { font-size: 14px !important; font-weight: bold !important; color: var(--fc-text-dark) !important; margin: 0 !important; transition: color 0.2s !important; }
.foodchow-ai-agent-resource:hover h3 { color: var(--fc-brand) !important; }
.foodchow-ai-agent-resource p { font-size: 12px !important; color: var(--fc-text-muted) !important; margin: 2px 0 0 0 !important; }

.foodchow-ai-agent-faq-link {
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.5rem !important; text-align: center !important; background: #f9fafb !important; color: #4b5563 !important; padding: 0.875rem !important; border-radius: 1rem !important; font-weight: bold !important; text-decoration: none !important; font-size: 14px !important; border: 1px solid rgba(229,231,235,0.6) !important; transition: all 0.2s !important; margin-top: 1rem !important; width: 100% !important;
}
.foodchow-ai-agent-faq-link:hover { background: #f3f4f6 !important; color: #111827 !important; }

/* Input Areas */
.foodchow-ai-agent-input-wrap {
  padding: 0.75rem !important; background: rgba(255,255,255,0.95) !important; backdrop-filter: blur(12px) !important; border-top: 1px solid var(--fc-border) !important; flex-shrink: 0 !important; position: relative !important; z-index: 20 !important; padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
}
.foodchow-ai-agent-input-wrap.home-input { padding-bottom: 85px !important; }
.foodchow-ai-agent-input-box {
  display: flex !important; align-items: flex-end !important; gap: 0.5rem !important; background: #fff !important; border: 1px solid var(--fc-border-strong) !important; border-radius: 1.5rem !important; padding: 0.375rem !important; transition: all 0.2s !important; box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; position: relative !important;
}
.foodchow-ai-agent-input-box:focus-within { border-color: var(--fc-brand) !important; box-shadow: 0 0 0 4px rgba(10,168,158,0.1) !important; }
.foodchow-ai-agent-textarea {
  width: 100% !important; background: transparent !important; border: none !important; min-height:0px; outline: none !important; resize: none !important; padding: 0.625rem 0.5rem !important; font-size: 15px !important; color: var(--fc-text-dark) !important; max-height: 120px !important; font-family: inherit !important; margin: 0 !important;
}
.foodchow-ai-agent-textarea::placeholder { color: #9ca3af !important; }
.foodchow-ai-agent-send-btn {
  width: 40px !important; height: 40px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: var(--fc-brand) !important; color: #fff !important; border: none !important; border-radius: 50% !important; cursor: pointer !important; flex-shrink: 0 !important; box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important; transition: all 0.2s !important;
}
.foodchow-ai-agent-send-btn:hover:not(:disabled) { background: var(--fc-brand-dark) !important; transform: scale(1.05) !important; }
.foodchow-ai-agent-send-btn:disabled { opacity: 0.5 !important; cursor: not-allowed !important; }
.foodchow-ai-agent-emoji-btn {
  width: 40px !important; height: 40px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: transparent !important; color: #9ca3af !important; border: none !important; border-radius: 50% !important; cursor: pointer !important; flex-shrink: 0 !important; transition: all 0.2s !important; font-size: 20px !important;
}
.foodchow-ai-agent-emoji-btn:hover { color: #4b5563 !important; background: #f3f4f6 !important; }

/* Emoji Picker */
.foodchow-ai-agent-emoji-picker {
  display: none !important; position: absolute !important; bottom: 100% !important; left: 0 !important; margin-bottom: 0.75rem !important; background: rgba(255,255,255,0.95) !important; backdrop-filter: blur(12px) !important; border: 1px solid var(--fc-border) !important; box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important; border-radius: 1rem !important; padding: 1rem !important; z-index: 1002 !important; grid-template-columns: repeat(6, 1fr) !important; gap: 0.5rem !important; max-height: 220px !important; overflow-y: auto !important; width: 280px !important;
}
.foodchow-ai-agent-emoji-picker.active { display: grid !important; animation: fcPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important; }
.foodchow-ai-agent-emoji { cursor: pointer !important; border-radius: 0.5rem !important; font-size: 1.5rem !important; padding: 0.5rem !important; text-align: center !important; transition: transform 0.2s, background 0.2s !important; }
.foodchow-ai-agent-emoji:hover { background: #f3f4f6 !important; transform: scale(1.1) !important; }

/* Dropdown Menus */
.foodchow-ai-agent-dropdown {
  display: none !important; 
  position: absolute !important; 
  top: calc(100% + 0.5rem) !important; 
  right: 0 !important; 
  background: rgba(255,255,255,0.98) !important; 
  backdrop-filter: blur(12px) !important; 
  border: 1px solid var(--fc-border-strong) !important; 
  border-radius: 1rem !important; 
  box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important; 
  min-width: 220px !important; 
  width: max-content !important; 
  padding: 0.5rem !important; 
  z-index: 9999 !important; 
  transform-origin: top right !important;
}
.foodchow-ai-agent-dropdown.active { 
  display: block !important; 
  animation: fcPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important; 
}
.foodchow-ai-agent-dropdown-item {
  padding: 0.75rem 1rem !important; 
  font-size: 14px !important; 
  font-weight: 600 !important; 
  color: #374151 !important; 
  display: flex !important; 
  align-items: center !important; 
  gap: 0.75rem !important; 
  cursor: pointer !important; 
  transition: background 0.2s !important; 
  border-radius: 0.75rem !important;
  white-space: nowrap !important; 
}
.foodchow-ai-agent-dropdown-item:hover { 
  background: rgba(249,250,251,0.8) !important; 
  color: var(--fc-brand) !important; 
}
.foodchow-ai-agent-dropdown-item.danger { 
  color: #dc2626 !important; 
}
.foodchow-ai-agent-dropdown-item.danger:hover { 
  background: #fef2f2 !important; 
  color: #dc2626 !important; 
}
.foodchow-ai-agent-dropdown-icon { 
  width: 32px !important; 
  height: 32px !important; 
  border-radius: 50% !important; 
  background: #f3f4f6 !important; 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  color: #6b7280 !important; 
  flex-shrink: 0 !important; 
}
.foodchow-ai-agent-dropdown-item.danger .foodchow-ai-agent-dropdown-icon { 
  background: #fee2e2 !important; 
  color: #ef4444 !important; 
}

@keyframes fcPopIn { 0% { opacity: 0; transform: translateY(10px) scale(0.95); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

/* Messages */
.foodchow-ai-agent-msg { animation: fcSlideInUp 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important; transform-origin: bottom left !important; display: flex !important; flex-direction: column !important; margin-bottom: 0.75rem !important; }
@keyframes fcSlideInUp { 0% { opacity: 0; transform: translateY(15px) scale(0.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.foodchow-ai-agent-msg-user { align-self: flex-end !important; transform-origin: bottom right !important; max-width: 80% !important; align-items: flex-end !important; }
.foodchow-ai-agent-msg-bot { align-self: flex-start !important; max-width: 92% !important; }
.foodchow-ai-agent-msg-inner { display: flex !important; align-items: flex-end !important; gap: 0.5rem !important; width: 100% !important; }
.foodchow-ai-agent-msg-user .foodchow-ai-agent-msg-inner { justify-content: flex-end !important; }
.foodchow-ai-agent-msg-bubble { font-size: 14.5px !important; padding: 0.5rem 0.875rem !important; border-radius: 1rem !important; line-height: 1.5 !important; }
.foodchow-ai-agent-msg-user .foodchow-ai-agent-msg-bubble { background: var(--fc-brand) !important; color: #fff !important; border-bottom-right-radius: 0.125rem !important; word-break: break-word !important; white-space: pre-wrap !important; display: inline-block !important; }
.foodchow-ai-agent-msg-bot .foodchow-ai-agent-msg-bubble { background: #fff !important; color: var(--fc-text-dark) !important; border: 1px solid var(--fc-border) !important; border-bottom-left-radius: 0.125rem !important; box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; width: fit-content !important; padding: 0.75rem 1rem !important; }
.foodchow-ai-agent-msg-avatar { width: 32px !important; height: 32px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; }
.foodchow-ai-agent-msg-user .foodchow-ai-agent-msg-avatar { background: var(--fc-brand-light) !important; border: 1px solid rgba(10,168,158,0.2) !important; color: var(--fc-brand) !important; font-size: 13px !important; }
.foodchow-ai-agent-msg-bot .foodchow-ai-agent-msg-avatar { background: #fff !important; border: 1px solid var(--fc-border-strong) !important; margin-bottom: 0.25rem !important; overflow: hidden !important; }
.foodchow-ai-agent-msg-bot .foodchow-ai-agent-msg-avatar img { width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 2px !important; }
.foodchow-ai-agent-msg-time { font-size: 10px !important; color: #9ca3af !important; margin-top: 0.25rem !important; }
.foodchow-ai-agent-msg-user .foodchow-ai-agent-msg-time { margin-right: 2.5rem !important; text-align: right !important; }
.foodchow-ai-agent-msg-title { font-weight: bold !important; font-size: 13px !important; color: #111827 !important; margin-bottom: 0.5rem !important; display: flex !important; align-items: center !important; gap: 0.5rem !important; }
.foodchow-ai-agent-badge { background: var(--fc-brand-light) !important; color: var(--fc-brand) !important; font-size: 10px !important; font-weight: bold !important; padding: 2px 8px !important; border-radius: 9999px !important; }

/* Prose Formatting inside Bot Messages */
.foodchow-ai-agent-prose { max-width: 100% !important; }
.foodchow-ai-agent-prose p { margin: 0.375rem 0 !important; line-height: 1.625 !important; }
.foodchow-ai-agent-prose a { color: var(--fc-brand) !important; font-weight: 600 !important; text-decoration: none !important; word-break: break-all !important; }
.foodchow-ai-agent-prose a:hover { text-decoration: underline !important; }
.foodchow-ai-agent-prose strong { color: var(--fc-text-dark) !important; font-weight: bold !important; }
.foodchow-ai-agent-video-box { background: #f9fafb !important; padding: 0.75rem !important; border-radius: 0.75rem !important; border: 1px solid var(--fc-border) !important; margin: 0.5rem 0 !important; }
.foodchow-ai-agent-video-wrap { position: relative !important; width: 100% !important; aspect-ratio: 16 / 9 !important; border-radius: 0.75rem !important; overflow: hidden !important; border: 1px solid var(--fc-border-strong) !important; }
.foodchow-ai-agent-video-wrap iframe { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; }

/* Feedback Actions */
.foodchow-ai-agent-feedback { 
  display: flex !important; 
  align-items: center !important; 
  gap: 0.5rem !important; 
  margin-top: 0.5rem !important; 
  padding-top: 0.5rem !important; 
  border-top: 1px solid #f9fafb !important; 
  opacity: 1 !important; 
  pointer-events: auto !important; 
  transition: opacity 0.3s ease !important; 
}
.foodchow-ai-agent-feedback-btn { 
  width: 28px !important; 
  height: 28px !important; 
  border-radius: 50% !important; 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  background: #f9fafb !important; 
  color: #9ca3af !important; 
  border: none !important; 
  cursor: pointer !important; 
  transition: all 0.2s !important; 
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; 
}
.foodchow-ai-agent-feedback-btn.like:hover { color: #16a34a !important; background: #f0fdf4 !important; }
.foodchow-ai-agent-feedback-btn.dislike:hover { color: #dc2626 !important; background: #fef2f2 !important; }
.foodchow-ai-agent-feedback-text { 
  font-size: 12px !important; 
  font-weight: 600 !important; 
  color: var(--fc-brand) !important; 
  margin-left: 4px !important; 
  letter-spacing: -0.025em !important; 
}
@media (min-width: 768px) {
  .foodchow-ai-agent-msg-bot .foodchow-ai-agent-feedback { opacity: 0 !important; pointer-events: none !important; }
  .foodchow-ai-agent-msg-bot:hover .foodchow-ai-agent-feedback, .foodchow-ai-agent-feedback.visible { opacity: 1 !important; pointer-events: auto !important; }
}

/* Suggestions */
.foodchow-ai-agent-suggestions { width: 100% !important; transition: all 0.3s !important; padding-bottom: 0.25rem !important; }
.foodchow-ai-agent-suggestions-inner { display: flex !important; flex-wrap: wrap !important; justify-content: flex-end !important; gap: 0.5rem !important; width: 100% !important; }
.foodchow-ai-agent-suggestion-btn { 
  background: rgba(10,168,158,0.1) !important; 
  color: var(--fc-brand) !important; 
  border: 1px solid rgba(10,168,158,0.2) !important; 
  padding: 0.5rem 0.875rem !important; 
  border-radius: 1rem !important; 
  font-size: 13px !important; 
  font-weight: 500 !important; 
  cursor: pointer !important; 
  transition: all 0.2s !important; 
  text-align: left !important; 
  max-width: 95% !important; 
  white-space: normal !important;
  word-wrap: break-word !important;
  line-height: 1.4 !important;
}
.foodchow-ai-agent-suggestion-btn:hover { background: var(--fc-brand) !important; color: #fff !important; }

/* See More Button Specific Styling */
.foodchow-ai-agent-see-more-btn {
  background: transparent !important;
  border: 1px dashed var(--fc-brand) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-weight: 600 !important;
}
.foodchow-ai-agent-see-more-btn:hover {
  background: rgba(10,168,158,0.1) !important;
  color: var(--fc-brand) !important;
}

/* Active Feedback States */
.foodchow-ai-agent-feedback-btn.like.active { color: #16a34a !important; background: #f0fdf4 !important; pointer-events: none !important; }
.foodchow-ai-agent-feedback-btn.dislike.active { color: #dc2626 !important; background: #fef2f2 !important; pointer-events: none !important; }

/* Loading State */
.foodchow-ai-agent-typing { display: flex !important; gap: 6px !important; align-items: center !important; height: 16px !important; }
.foodchow-ai-agent-typing span { width: 8px !important; height: 8px !important; border-radius: 50% !important; background: var(--fc-brand) !important; animation: fcTyping 1.2s infinite ease-in-out !important; }
.foodchow-ai-agent-typing span:nth-child(1) { opacity: 0.4 !important; animation-delay: -0.3s !important; }
.foodchow-ai-agent-typing span:nth-child(2) { opacity: 0.6 !important; animation-delay: -0.15s !important; }
@keyframes fcTyping { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.foodchow-ai-agent-spinner { width: 32px !important; height: 32px !important; border: 4px solid rgba(10,168,158,0.3) !important; border-top-color: var(--fc-brand) !important; border-radius: 50% !important; animation: fcSpin 1s linear infinite !important; margin: 2rem auto !important; }
@keyframes fcSpin { to { transform: rotate(360deg); } }

/* History Screens */
.foodchow-ai-agent-history-header { padding: 1rem 1.5rem !important; border-bottom: 1px solid var(--fc-border) !important; background: #fff !important; flex-shrink: 0 !important; position: relative !important; z-index: 10 !important; }
.foodchow-ai-agent-history-header h2 { font-size: 1.25rem !important; font-weight: 800 !important; color: var(--fc-text-dark) !important; margin: 0 !important; letter-spacing: -0.025em !important; }
.foodchow-ai-agent-search-bar { padding: 0.75rem 1.25rem !important; background: var(--fc-bg-chat) !important; border-bottom: 1px solid var(--fc-border-strong) !important; position: relative !important; z-index: 10 !important; flex-shrink: 0 !important; }
.foodchow-ai-agent-search-inner { position: relative !important; }
.foodchow-ai-agent-search-inner i { position: absolute !important; left: 1rem !important; top: 50% !important; transform: translateY(-50%) !important; color: #9ca3af !important; font-size: 14px !important; }
.foodchow-ai-agent-search-inner input { width: 100% !important; background: #fff !important; border: 1px solid var(--fc-border-strong) !important; border-radius: 9999px !important; padding: 0.625rem 1rem 0.625rem 2.5rem !important; font-size: 14px !important; outline: none !important; transition: all 0.2s !important; color: #374151 !important; box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; }
.foodchow-ai-agent-search-inner input:focus { border-color: var(--fc-brand) !important; box-shadow: 0 0 0 2px rgba(10,168,158,0.1) !important; }
.foodchow-ai-agent-history-list { flex: 1 !important; overflow-y: auto !important; padding: 1.25rem !important; display: flex !important; flex-direction: column !important; gap: 0.75rem !important; padding-bottom: 5.5rem !important; }

/* History Cards */
.foodchow-ai-agent-history-card { background: #fff !important; border: 1px solid var(--fc-border) !important; padding: 1rem !important; border-radius: 1.25rem !important; box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important; display: flex !important; align-items: center !important; gap: 0.75rem !important; cursor: pointer !important; transition: all 0.3s !important; position: relative !important; }
.foodchow-ai-agent-history-card:hover { border-color: rgba(10,168,158,0.4) !important; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important; }
.foodchow-ai-agent-history-avatar { width: 48px !important; height: 48px !important; border-radius: 50% !important; border: 1px solid var(--fc-border-strong) !important; padding: 2px !important; background: #fff !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; overflow: hidden !important; }
.foodchow-ai-agent-history-avatar img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
.foodchow-ai-agent-history-info { flex: 1 !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; justify-content: center !important; gap: 4px !important; margin-left: 4px !important; }
.foodchow-ai-agent-history-row { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; }
.foodchow-ai-agent-history-title { font-size: 15px !important; font-weight: bold !important; color: var(--fc-text-dark) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; padding-right: 8px !important; transition: color 0.2s !important; text-transform: capitalize !important; }
.foodchow-ai-agent-history-card:hover .foodchow-ai-agent-history-title { color: var(--fc-brand) !important; }
.foodchow-ai-agent-history-time { font-size: 11px !important; color: #9ca3af !important; font-weight: bold !important; background: #f9fafb !important; padding: 2px 8px !important; border-radius: 9999px !important; white-space: nowrap !important; flex-shrink: 0 !important; }
.foodchow-ai-agent-history-sub { font-size: 13px !important; color: var(--fc-text-muted) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; display: flex !important; align-items: center !important; gap: 4px !important; font-weight: 500 !important; }
.foodchow-ai-agent-history-sub i { font-size: 10px !important; color: var(--fc-brand) !important; }

.foodchow-ai-agent-delete-btn { width: 40px !important; height: 40px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; color: #d1d5db !important; border: none !important; background: transparent !important; cursor: pointer !important; transition: all 0.2s !important; flex-shrink: 0 !important; margin-left: 4px !important; }
.foodchow-ai-agent-delete-btn:hover { color: #ef4444 !important; background: #fef2f2 !important; }

/* Empty States & Skeletons */
.foodchow-ai-agent-empty { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; margin-top: 4rem !important; padding: 0 1.5rem !important; }
.foodchow-ai-agent-empty-icon { width: 80px !important; height: 80px !important; background: #f9fafb !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-bottom: 1rem !important; border: 1px solid var(--fc-border) !important; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02) !important; }
.foodchow-ai-agent-empty-icon i { font-size: 2rem !important; color: #d1d5db !important; }
.foodchow-ai-agent-empty h3 { font-size: 1.125rem !important; font-weight: bold !important; color: var(--fc-text-dark) !important; margin: 0 0 4px 0 !important; }
.foodchow-ai-agent-empty p { font-size: 13px !important; color: var(--fc-text-muted) !important; margin: 0 !important; font-weight: 500 !important; }

.foodchow-ai-agent-skeleton-box {
  background: #f6f7f8 !important; background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%) !important; background-repeat: no-repeat !important; background-size: 1000px 100% !important; animation: fcShimmer 1.5s linear infinite forwards !important;
}
@keyframes fcShimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }
.foodchow-ai-agent-skeleton-avatar { width: 48px !important; height: 48px !important; border-radius: 50% !important; flex-shrink: 0 !important; }
.foodchow-ai-agent-skeleton-line { height: 16px !important; border-radius: 4px !important; width: 75% !important; margin-bottom: 8px !important; }
.foodchow-ai-agent-skeleton-line.short { width: 50% !important; height: 12px !important; margin-bottom: 0 !important; }

/* Fixed Footers & Bottom Nav */
.foodchow-ai-agent-bottom-action { padding: 1.25rem !important; background: #fff !important; border-top: 1px solid var(--fc-border) !important; position: relative !important; z-index: 10 !important; box-shadow: 0 -10px 20px rgba(0,0,0,0.02) !important; padding-bottom: 85px !important; }
.foodchow-ai-agent-new-chat-btn { width: 100% !important; background: var(--fc-brand) !important; color: #fff !important; padding: 0.875rem !important; border-radius: 1rem !important; border: none !important; font-size: 15px !important; font-weight: bold !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.5rem !important; cursor: pointer !important; transition: all 0.3s !important; }
.foodchow-ai-agent-new-chat-btn:hover { background: var(--fc-brand-dark) !important; transform: translateY(-2px) !important; box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important; }

.foodchow-ai-agent-footer-nav {
  position: absolute !important; bottom: 0 !important; left: 0 !important; width: 100% !important; background: rgba(255,255,255,0.95) !important; backdrop-filter: blur(12px) !important; border-top: 1px solid rgba(243,244,246,0.8) !important; display: flex !important; align-items: center !important; justify-content: space-around !important; height: 70px !important; z-index: 20 !important; box-shadow: 0 -4px 20px rgba(0,0,0,0.03) !important; padding-bottom: env(safe-area-inset-bottom) !important;
}
.foodchow-ai-agent-nav-btn {
  flex: 1 !important; height: 100% !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 6px !important; color: #9ca3af !important; background: transparent !important; border: none !important; cursor: pointer !important; transition: color 0.3s !important;
}
.foodchow-ai-agent-nav-btn:hover { color: var(--fc-brand) !important; }
.foodchow-ai-agent-nav-btn.active { color: var(--fc-brand) !important; }
.foodchow-ai-agent-nav-btn i { font-size: 1.25rem !important; transition: transform 0.3s !important; }
.foodchow-ai-agent-nav-btn:hover i { transform: translateY(-4px) !important; }
.foodchow-ai-agent-nav-btn span { font-size: 11px !important; font-weight: bold !important; letter-spacing: 0.025em !important; }

/* Delete Modal */
.foodchow-ai-agent-modal-overlay {
  position: fixed !important; inset: 0 !important; background: rgba(15,23,42,0.5) !important; backdrop-filter: blur(4px) !important; z-index: 10005 !important; display: flex !important; align-items: center !important; justify-content: center !important; opacity: 0 !important; pointer-events: none !important; transition: all 0.3s !important;
}
.foodchow-ai-agent-modal-overlay.active { opacity: 1 !important; pointer-events: auto !important; }
.foodchow-ai-agent-modal-content {
  background: #fff !important; border-radius: 28px !important; padding: 1.5rem !important; width: 88% !important; max-width: 340px !important; box-shadow: 0 20px 60px -15px rgba(0,0,0,0.3) !important; transform: scale(0.95) translateY(1rem) !important; transition: all 0.3s !important; display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important;
}
.foodchow-ai-agent-modal-overlay.active .foodchow-ai-agent-modal-content { transform: scale(1) translateY(0) !important; }
.foodchow-ai-agent-modal-icon { width: 64px !important; height: 64px !important; border-radius: 50% !important; background: #fef2f2 !important; display: flex !important; align-items: center !important; justify-content: center !important; color: #ef4444 !important; margin-bottom: 1.25rem !important; border: 4px solid #fff !important; box-shadow: 0 0 0 1px rgba(239,68,68,0.1) !important; position: relative !important; font-size: 1.5rem !important; }
.foodchow-ai-agent-modal-icon-ping { position: absolute !important; inset: 0 !important; border-radius: 50% !important; background: rgba(239,68,68,0.2) !important; animation: fcPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite !important; opacity: 0.2 !important; }
@keyframes fcPing { 75%, 100% { transform: scale(2); opacity: 0; } }
.foodchow-ai-agent-modal-title { font-size: 19px !important; font-weight: 800 !important; color: var(--fc-text-dark) !important; margin: 0 0 0.5rem 0 !important; letter-spacing: -0.025em !important; }
.foodchow-ai-agent-modal-desc { font-size: 14px !important; color: var(--fc-text-muted) !important; margin: 0 0 1.75rem 0 !important; font-weight: 500 !important; line-height: 1.5 !important; padding: 0 8px !important; }
.foodchow-ai-agent-modal-actions { display: flex !important; width: 100% !important; gap: 0.75rem !important; }
.foodchow-ai-agent-modal-btn { flex: 1 !important; padding: 0.875rem !important; border-radius: 1rem !important; font-size: 14px !important; font-weight: bold !important; cursor: pointer !important; transition: all 0.2s !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.5rem !important; border: none !important; }
.foodchow-ai-agent-modal-btn-cancel { background: #fff !important; color: #374151 !important; border: 1px solid var(--fc-border-strong) !important; box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important; }
.foodchow-ai-agent-modal-btn-cancel:hover { background: #f9fafb !important; }
.foodchow-ai-agent-modal-btn-confirm { background: #ef4444 !important; color: #fff !important; box-shadow: 0 4px 12px rgba(239,68,68,0.3) !important; }
.foodchow-ai-agent-modal-btn-confirm:hover { background: #dc2626 !important; transform: translateY(-2px) !important; box-shadow: 0 6px 16px rgba(239,68,68,0.4) !important; }
.foodchow-ai-agent-modal-btn:active { transform: scale(0.95) !important; }

/* Chat Toggle Launcher & Greeting */
.foodchow-ai-agent-launcher {
  position: fixed !important; bottom: 1.5rem !important; right: 1.5rem !important; width: 4rem !important; height: 4rem !important; background: #fff !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; box-shadow: 0 8px 20px rgba(10,168,158,0.4) !important; z-index: 1001 !important; transition: all 0.3s !important; border: none !important; outline: none !important; padding: 0 !important; overflow: hidden !important;
}
.foodchow-ai-agent-launcher:hover { transform: scale(1.05) !important; box-shadow: 0 8px 25px rgba(10,168,158,0.6) !important; }
.foodchow-ai-agent-launcher:active { transform: scale(0.95) !important; }

.foodchow-ai-agent-launcher img { width: 100% !important; height: 100% !important; border-radius: 50% !important; object-fit: cover !important; border: none !important; }

.foodchow-ai-agent-greeting {
  position: fixed !important; bottom: 6rem !important; right: 1.5rem !important; background: #fff !important; box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important; border: 1px solid var(--fc-border) !important; padding: 1rem !important; border-radius: 1rem !important; border-bottom-right-radius: 0.125rem !important; display: flex !important; align-items: flex-start !important; gap: 0.75rem !important; z-index: 1001 !important; width: 260px !important; cursor: pointer !important; transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s !important; transform-origin: bottom right !important; transform: translateY(20px) scale(0.95) rotate(-2deg) !important; opacity: 0 !important; pointer-events: none !important;
}
.foodchow-ai-agent-greeting.active { transform: translateY(0) scale(1) rotate(0) !important; opacity: 1 !important; pointer-events: auto !important; animation: fcFloatBounce 4s ease-in-out infinite alternate !important; }
.foodchow-ai-agent-greeting:hover { box-shadow: 0 10px 45px rgba(10,168,158,0.2) !important; }
.foodchow-ai-agent-greeting::after { content: '' !important; position: absolute !important; bottom: -8px !important; right: 24px !important; border-left: 8px solid transparent !important; border-right: 8px solid transparent !important; border-top: 8px solid #fff !important; }
.foodchow-ai-agent-greeting-content p:first-child { font-size: 13.5px !important; color: var(--fc-text-dark) !important; font-weight: 600 !important; margin: 0 0 4px 0 !important; line-height: 1.4 !important; }
.foodchow-ai-agent-greeting-content p:last-child { font-size: 12.5px !important; color: var(--fc-text-muted) !important; font-weight: 500 !important; margin: 0 !important; }
.foodchow-ai-agent-greeting-close { background: transparent !important; border: none !important; color: #9ca3af !important; cursor: pointer !important; border-radius: 50% !important; width: 24px !important; height: 24px !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-top: -4px !important; margin-right: -4px !important; transition: all 0.2s !important; }
.foodchow-ai-agent-greeting-close:hover { color: var(--fc-text-dark) !important; background: #f3f4f6 !important; }

@keyframes fcFloatBounce { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-5px) scale(1); } }

@media (min-width: 768px) {
  .foodchow-ai-agent-launcher { bottom: 2rem !important; right: 2rem !important; }
  .foodchow-ai-agent-greeting { bottom: 6.5rem !important; right: 2rem !important; }
}
@media (max-width: 767px) {
  .foodchow-ai-agent-wrapper.active ~ .foodchow-ai-agent-launcher { opacity: 0 !important; pointer-events: none !important; transform: scale(0.5) !important; }
  .foodchow-ai-agent-wrapper.active ~ .foodchow-ai-agent-greeting { display: none !important; }
}

/* LEAD CAPTURE FORM SPECIFIC STYLES */
.foodchow-ai-agent-form-group { display: flex !important; flex-direction: column !important; gap: 0.35rem !important; }
.foodchow-ai-agent-form-group label { font-size: 13px !important; font-weight: 600 !important; color: var(--fc-text-dark) !important; }
.foodchow-ai-agent-form-input { width: 100% !important; padding: 0.75rem 1rem !important; border: 1px solid var(--fc-border-strong) !important; border-radius: 0.75rem !important; font-size: 14px !important; font-family: inherit !important; outline: none !important; transition: all 0.2s !important; color: var(--fc-text-dark) !important; background: #fff !important; }
.foodchow-ai-agent-form-input::placeholder { color: #9ca3af !important; }
.foodchow-ai-agent-form-input:focus { border-color: var(--fc-brand) !important; box-shadow: 0 0 0 3px rgba(10,168,158,0.1) !important; }

.foodchow-ai-agent-hidden { display: none !important; }

/* Custom Dropdown & Phone Group */
.foodchow-ai-agent-phone-group {
  display: flex !important;
  gap: 0.5rem !important;
  height: 46px !important; /* Ensure both inputs are same height */
}
.foodchow-ai-agent-phone-group input {
  width: 65% !important;
  height: 100% !important;
}

/* Custom Select Dropdown UI */
.foodchow-ai-agent-custom-select-wrapper {
  position: relative !important;
  width: 35% !important;
  min-width: 90px !important;
  height: 100% !important;
}
.foodchow-ai-agent-custom-select-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 0.75rem !important;
  border: 1px solid var(--fc-border-strong) !important;
  border-radius: 0.75rem !important;
  background: #fff !important;
  color: var(--fc-text-dark) !important;
  font-size: 14px !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.2s !important;
}
.foodchow-ai-agent-custom-select-trigger.active {
  border-color: var(--fc-brand) !important;
  box-shadow: 0 0 0 3px rgba(10,168,158,0.1) !important;
}
.foodchow-ai-agent-custom-select-options {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  width: 200px !important; /* Expands to show full country name */
  max-height: 160px !important; /* Keeps it inside the chatbot */
  overflow-y: auto !important;
  background: #fff !important;
  border: 1px solid var(--fc-border-strong) !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
  z-index: 1000 !important;
}
.foodchow-ai-agent-custom-select-options.active {
  display: block !important;
}
.foodchow-ai-agent-custom-option {
  padding: 0.6rem 0.75rem !important;
  font-size: 13px !important;
  color: var(--fc-text-dark) !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  white-space: nowrap !important;
}
.foodchow-ai-agent-custom-option:hover {
  background: var(--fc-brand-light) !important;
  color: var(--fc-brand) !important;
}

/* Errors */
/* Errors */
.foodchow-ai-agent-form-input.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}
.foodchow-ai-agent-form-error {
  color: #ef4444 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: -0.5rem !important;
  display: none !important;
}
/* This active class bypasses the display: none override */
.foodchow-ai-agent-form-error.active {
  display: block !important;
  animation: fcFadeIn 0.2s ease forwards !important;
}

/* Disabled state for primary button */
.foodchow-ai-agent-primary-btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* Agent Selection Styling */
.foodchow-ai-agent-selection-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  margin-top: 0.5rem !important;
  width: 100% !important;
}
.foodchow-ai-agent-selection-card {
  background: #fff !important;
  border: 1px solid var(--fc-border-strong) !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.foodchow-ai-agent-selection-card:hover {
  border-color: var(--fc-brand) !important;
  background: var(--fc-brand-light) !important;
  transform: translateY(-2px) !important;
}
.foodchow-ai-agent-selection-card img {
  width: 35px !important;
  height: 35px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}
.foodchow-ai-agent-selection-info b {
  display: block !important;
  font-size: 14px !important;
  color: var(--fc-text-dark) !important;
}
.foodchow-ai-agent-selection-info span {
  font-size: 11px !important;
  color: var(--fc-text-muted) !important;
}

/* Compact Agent Selection Styling */
.foodchow-ai-agent-selection-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  margin-top: 0.6rem !important;
  width: 100% !important;
}

.foodchow-ai-agent-selection-card {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.6rem !important;
  padding: 0.5rem 0.8rem !important;
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.foodchow-ai-agent-selection-card:hover {
  border-color: var(--fc-brand) !important;
  background: var(--fc-brand-light) !important;
}

/* Ensure the card layout is aligned */
.foodchow-ai-agent-selection-card {
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
}

.foodchow-ai-agent-selection-card:hover {
  transform: translateX(5px) !important;
  border-color: var(--fc-brand) !important;
}

/* Styling for Agent Logo before Name */
.foodchow-ai-agent-card-logo {
  width: 22px !important;      /* Small size relative to name */
  height: 22px !important;
  min-width: 22px !important;  /* Prevents shrinking */
  margin-right: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;   /* Ensures logo is always visible */
}

.foodchow-ai-agent-card-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.foodchow-ai-agent-selection-card {
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important; /* Vertically centers logo and text */
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  margin-bottom: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.foodchow-ai-agent-selection-info b {
  font-size: 14px !important;
  color: #374151 !important;
  line-height: 1.2 !important;
}