/* GENERATED by scripts/build.mjs: chat assistant styles from the pre-portal style.css. */
.chatbot-toggle, .chatbot-panel {
  --navy: #0F2942;
  --blue: #1D5DBF;
  --blue-dark: #164a99;
  --teal: #12B8A6;
  --coral: #FF6B57;
  --amber: #FFB020;
  --ink: #101828;
  --gray-900: #1D2939;
  --gray-700: #344054;
  --gray-500: #667085;
  --gray-300: #D0D5DD;
  --gray-200: #E4E7EC;
  --gray-100: #F2F4F7;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,0.04);
  --shadow-md: 0 2px 8px rgba(16,24,40,0.05);
  --shadow-lg: 0 8px 24px rgba(16,24,40,0.09);
}
.chatbot-panel { font-family: var(--font-body, sans-serif); }
/* Chatbot widget */
.chatbot-toggle {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; border: none;
  box-shadow: var(--shadow-lg); cursor: pointer; z-index: 90; display: flex; align-items: center; justify-content: center;
  font-size: 26px; transition: transform .15s ease;
}
.chatbot-toggle:hover { transform: scale(1.06); }
.chatbot-toggle .chatbot-badge {
  position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); border: 2px solid #fff; display: none;
}
.chatbot-toggle .chatbot-badge.show { display: block; }
.chatbot-panel {
  position: fixed; bottom: 96px; right: 24px; width: 360px; max-width: calc(100vw - 32px); height: 500px; max-height: calc(100vh - 140px);
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); z-index: 91; display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--gray-200);
}
.chatbot-panel.open { display: flex; }
.chatbot-head {
  background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 10px; justify-content: space-between;
}
.chatbot-head-info { display: flex; align-items: center; gap: 10px; }
.chatbot-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.chatbot-head h4 { color: #fff; margin: 0; font-size: 14px; }
.chatbot-head span.status { font-size: 11px; color: #8fd4ca; display: flex; align-items: center; gap: 4px; }
.chatbot-head span.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; display: inline-block; }
.chatbot-close { background: none; border: none; color: rgba(255,255,255,0.85); font-size: 16px; cursor: pointer; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--gray-50); }
.chat-msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--gray-200); color: var(--gray-900); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg a { color: var(--blue); font-weight: 600; }
.chat-msg.bot a { color: var(--blue); }
.chat-msg ul { margin: 6px 0 0; padding-left: 18px; }
.chat-msg li { margin-bottom: 4px; }
.chatbot-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; background: var(--gray-50); }
.chatbot-chip {
  border: 1px solid var(--gray-300); background: #fff; color: var(--navy); font-size: 12px; font-weight: 600; padding: 7px 12px;
  border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.chatbot-chip:hover { border-color: var(--blue); color: var(--blue); }
.chatbot-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--gray-200); background: #fff; }
.chatbot-input-row input { flex: 1; border: 1px solid var(--gray-300); border-radius: 999px; padding: 10px 16px; font-size: 13.5px; font-family: inherit; }
.chatbot-input-row input:focus { outline: 2px solid var(--blue); }
.chatbot-input-row button { background: var(--coral); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 16px; flex-shrink: 0; }
.typing-dots { display: inline-flex; gap: 3px; align-items: center; }
.typing-dots span { width: 6px; height: 6px; background: var(--gray-500); border-radius: 50%; animation: typingBounce 1.2s infinite ease-in-out; }
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 480px) {
  .chatbot-panel { right: 16px; left: 16px; width: auto; bottom: 88px; }
  .chatbot-toggle { right: 16px; bottom: 16px; }
}

