/* ==========================================================================
   TRỢ LÝ CHATBOT TÌM KIẾM & CHỌN SẢN PHẨM 24/24 — CỬA HÀNG MẸ VÀ BÉ NAM DUNG
   Mobile-first • 0 đồng/tháng • Price-Shield Safe 100%
   ========================================================================== */

/* Header & Quick Bar Trigger Pill */
.quick-chat-pill {
  border: 1.5px solid #e11d48;
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  color: #be123c;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.14);
  transition: all 0.15s ease;
}

.quick-chat-pill:hover {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
}

/* Floating Launcher Button (FAB) */
.nd-chat-fab {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 155;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  background: linear-gradient(135deg, #0f172a 0%, #be123c 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.36), 0 4px 12px rgba(225, 29, 72, 0.28);
  transition: bottom 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  font-family: inherit;
}

body.has-floating-cart:not(.is-scrolling-down) .nd-chat-fab {
  bottom: 68px;
}

body.nd-chat-open .nd-chat-fab {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88) translateY(10px);
}

.nd-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.42), 0 6px 16px rgba(225, 29, 72, 0.36);
}

.nd-chat-fab:active {
  transform: scale(0.95);
}

.nd-chat-fab-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.nd-chat-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f172a;
}

.nd-chat-fab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}

.nd-chat-fab-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.nd-chat-fab-sub {
  font-size: 11px;
  color: #fecdd3;
  font-weight: 600;
}

/* Chat Window Backdrop & Panel */
.nd-chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 14px 18px;
  pointer-events: none;
}

.nd-chat-backdrop.open {
  display: flex;
}

.nd-chat-panel {
  pointer-events: auto;
  width: 100%;
  max-width: 468px;
  height: min(740px, calc(100vh - 28px));
  height: min(740px, calc(100dvh - 28px));
  background: #f8fafc;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 54px -12px rgba(15, 23, 42, 0.34);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ndChatPopUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ndChatPopUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Chat Header */
.nd-chat-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 58%, #9f1239 100%);
  color: #ffffff;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.nd-chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nd-chat-header-logo {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.35);
}

.nd-chat-header-info h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.1px;
  color: #ffffff;
}

.nd-chat-header-info p {
  font-size: 11.5px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nd-chat-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  display: inline-block;
  box-shadow: 0 0 6px #34d399;
}

.nd-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nd-chat-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.nd-chat-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Direct Staff Omnichannel Bar (Zalo OA & Facebook Messenger Deep-Links) */
.nd-chat-human-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: linear-gradient(90deg, #f0f9ff 0%, #eef2ff 100%);
  border-bottom: 1px solid #dbeafe;
  flex-shrink: 0;
}

.nd-chat-human-label {
  font-size: 11.6px;
  font-weight: 700;
  color: #1e3a8a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nd-chat-human-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nd-human-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.6px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.nd-human-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.nd-human-pill:active {
  transform: scale(0.96);
}

.nd-human-pill.zalo {
  background: #0068ff;
  color: #ffffff;
  box-shadow: 0 2px 7px rgba(0, 104, 255, 0.25);
}

.nd-human-pill.messenger {
  background: linear-gradient(135deg, #0084ff 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 2px 7px rgba(0, 132, 255, 0.24);
}

.nd-human-badge-z {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  color: #0068ff;
  font-size: 9.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

/* Inline Direct Channel Action Buttons inside Bot Replies */
.nd-direct-channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: 100%;
}

.nd-direct-channel-btn {
  flex: 1 1 135px;
  min-height: 35px;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 12.2px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.nd-direct-channel-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.nd-direct-channel-btn.zalo {
  background: #0068ff;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 104, 255, 0.24);
}

.nd-direct-channel-btn.messenger {
  background: linear-gradient(135deg, #0084ff 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 132, 255, 0.22);
}

/* Quick Prompt Chips Bar: Điện thoại 1 dòng vuốt ngang • Máy tính tự rớt dòng gọn + nút mở rộng không khuất chữ */
.nd-chat-quick-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-shrink: 0;
}

.nd-chat-quick-strip::-webkit-scrollbar {
  display: none;
}

.nd-chat-chip {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
  font-size: 11.8px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.14s ease;
}

.nd-chat-chip:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
}

.nd-chat-chip-more {
  display: none;
  border: 1px dashed #fda4af;
  background: #ffffff;
  color: #be123c;
  font-size: 11.6px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.14s ease;
}

.nd-chat-chip-more:hover {
  background: #ffe4e6;
  border-color: #e11d48;
}

@media (min-width: 641px) {
  .nd-chat-quick-strip {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 6px;
    padding: 7px 12px;
  }

  .nd-chat-quick-strip:not(.is-expanded) .nd-chat-chip-extra {
    display: none;
  }

  .nd-chat-chip-more {
    display: inline-flex;
    align-items: center;
  }
}

/* Messages Stream */
.nd-chat-messages {
  position: relative;
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.nd-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.nd-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.nd-chat-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.nd-chat-messages::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.nd-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}

.nd-msg-row.user {
  justify-content: flex-end;
}

.nd-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.nd-msg-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: calc(100% - 38px);
  min-width: 0;
}

.nd-msg-row.user .nd-msg-content-wrap {
  align-items: flex-end;
  max-width: 85%;
}

.nd-msg-bubble {
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.48;
  word-wrap: break-word;
}

.nd-msg-row.bot .nd-msg-bubble {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-top-left-radius: 5px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.nd-msg-row.user .nd-msg-bubble {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  border-top-right-radius: 5px;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.2);
}

.nd-msg-bubble strong {
  font-weight: 800;
}

.nd-msg-row.bot .nd-msg-bubble strong {
  color: #be123c;
}

.nd-msg-note-box {
  margin-top: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: #115e59;
  font-size: 12.2px;
  line-height: 1.42;
}

/* Inline Reply Follow-up Chips */
.nd-inline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nd-inline-chip {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s ease;
}

.nd-inline-chip:hover {
  border-color: #e11d48;
  color: #be123c;
  background: #fff1f2;
}

/* Interactive Product Cards inside Chat */
.nd-chat-prod-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.nd-chat-prod-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.nd-chat-prod-top {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.nd-chat-prod-thumb {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  position: relative;
  cursor: pointer;
}

.nd-chat-prod-thumb.has-photo {
  background: #ffffff !important;
  border-color: #e2e8f0;
}

.nd-chat-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
  background: #ffffff;
  display: block;
}

.nd-chat-prod-info {
  flex: 1;
  min-width: 0;
}

.nd-chat-prod-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 2px;
  cursor: pointer;
  transition: color 0.14s ease;
}

.nd-chat-prod-title:hover {
  color: #be123c;
}

.nd-chat-prod-desc {
  font-size: 11.2px;
  font-weight: 600;
  color: #0f766e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.nd-chat-prod-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.nd-chat-prod-brand {
  background: #fff1f2;
  color: #be123c;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
}

.nd-chat-prod-stock {
  color: #0d9488;
  font-weight: 700;
}

.nd-chat-unit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.nd-chat-unit-btn {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s ease;
}

.nd-chat-unit-btn.active {
  border-color: #e11d48;
  background: #fff1f2;
  color: #be123c;
  font-weight: 700;
}

.nd-chat-prod-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nd-chat-qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
  height: 32px;
}

.nd-chat-qty-btn {
  border: none;
  background: transparent;
  width: 26px;
  height: 32px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.nd-chat-qty-input {
  width: 26px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
}

.nd-chat-add-btn {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: #e11d48;
  color: #ffffff;
  font-size: 12.2px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: inherit;
  transition: background 0.15s ease;
}

.nd-chat-add-btn:hover {
  background: #be123c;
}

.nd-chat-add-btn.added {
  background: #0d9488;
}

.nd-chat-share-btn {
  flex-shrink: 0;
  height: 32px;
  padding: 0 9px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.15s ease;
}

.nd-chat-share-btn:hover {
  border-color: #e11d48;
  background: #fff1f2;
  color: #be123c;
}

.nd-chat-share-btn.shared-ok {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}

/* Batch Add & View All Buttons */
.nd-chat-batch-btn {
  width: 100%;
  border: none;
  border-radius: 11px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  font-size: 12.8px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  transition: filter 0.15s ease;
}

.nd-chat-batch-btn:hover {
  filter: brightness(1.06);
}

.nd-chat-batch-btn.added {
  background: #16a34a;
}

.nd-chat-view-grid-btn {
  width: 100%;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 8px 12px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.nd-chat-view-grid-btn:hover {
  border-color: #e11d48;
  color: #be123c;
  background: #fff1f2;
}

/* Typing Indicator */
.nd-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
}

.nd-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: ndTypingBounce 1.1s infinite ease-in-out;
}

.nd-typing-dots span:nth-child(2) { animation-delay: 0.16s; }
.nd-typing-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes ndTypingBounce {
  0%, 80%, 100% { transform: scale(0.75); opacity: 0.5; }
  40% { transform: scale(1.15); opacity: 1; }
}

/* Mini Cart Summary Bar inside Chat */
.nd-chat-cart-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12.2px;
  flex-shrink: 0;
}

.nd-chat-cart-bar.visible {
  display: flex;
}

.nd-chat-cart-bar-btn {
  border: none;
  border-radius: 8px;
  padding: 6px 11px;
  background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

/* Chat Input Bar */
.nd-chat-input-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.nd-chat-input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom on focus */
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nd-chat-input:focus {
  background: #ffffff;
  border-color: #e11d48;
}

.nd-chat-input::placeholder {
  font-size: 13.2px;
  color: #94a3b8;
}

.nd-chat-mic-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #e11d48;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.nd-chat-mic-btn.listening {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
  animation: voiceRingPulse 1.25s infinite;
}

.nd-chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.nd-chat-send-btn:hover {
  filter: brightness(1.08);
}

.nd-chat-send-btn:active {
  transform: scale(0.93);
}

/* Mobile Bottom-Sheet Layout */
@media (max-width: 640px) {
  .nd-chat-fab {
    right: 12px;
    bottom: 14px;
    padding: 6px 12px 6px 7px;
    gap: 7px;
  }

  body.has-floating-cart:not(.is-scrolling-down) .nd-chat-fab {
    bottom: 68px;
  }

  body.is-scrolling-down .nd-chat-fab {
    padding: 6px;
    gap: 0;
    opacity: 0.86;
  }

  body.is-scrolling-down .nd-chat-fab-text {
    display: none;
  }

  .nd-chat-fab-avatar {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .nd-chat-fab-title {
    font-size: 12.2px;
    white-space: nowrap;
  }

  .nd-chat-fab-sub {
    display: none;
  }

  .nd-chat-backdrop {
    padding: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    pointer-events: auto;
  }

  .nd-chat-panel {
    max-width: 100%;
    height: 88vh;
    height: 88dvh;
    max-height: calc(100dvh - 16px);
    border-radius: 22px 22px 0 0;
    border: none;
  }
}

/* Action Buttons inside Bot Replies for Customer Guide & Family Wallet */
.nd-chat-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.nd-chat-guide-btn {
  border: 1.5px solid #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
  font-size: 12.4px;
  font-weight: 800;
  padding: 7.5px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.14s ease;
}

.nd-chat-guide-btn.primary {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  border-color: #0d9488;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.22);
}

.nd-chat-guide-btn:hover {
  filter: brightness(0.97);
}
