/* =============== CHATBOT STYLES =============== */
.chatbot-list {
    padding-left: 20px;
    margin: 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
}
.chatbot-list li {
    margin-bottom: 4px;
}
.chatbot-list ol {
    list-style-type: decimal;
}
body.app-active .chatbot-toggle {
    display: flex;
}
/* Dark mode support */
body.dark-mode .chatbot-list {
    color: var(--text);
}
.chatbot-toggle {
    position: fixed;
    bottom: 10px;
    right: 35px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(22, 200, 155, 0.4);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.chatbot-toggle:hover {
    transform: scale(1.1);
}
.chatbot-modal {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 340px;
    max-height: 80vh;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    z-index: 1000;
    border: 1px solid var(--border);
}
.chatbot-header {
    padding: 12px 16px;
    background-color: var(--primary);
    color: white;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-header-buttons {
    display: flex;
    gap: 0px; 
    align-items: center;
}
.chatbot-header-btns {
    display: flex;
    align-items: center;
}
.chatbot-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}
.chatbot-minimize {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: none;
}
.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: none;
}
.chatbot-messages {
    padding: 12px;
    flex: 1;
    overflow-y: auto;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bot-message, .user-message {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 85%;
    word-wrap: break-word;
    line-height: 1.4;
    font-size: 0.9rem;
}
.bot-message {
    background-color: #f0f9f6;
    color: var(--text);
    align-self: flex-start;
    border: 1px solid #e0f0ea;
}
.user-message {
    background-color: var(--accent);
    color: white;
    align-self: flex-end;
}
.chatbot-input-area {
    display: flex;
    padding: 10px;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.chatbot-input-area input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.9rem;
    background-color: var(--card-bg);
    color: var(--text);
}
.chatbot-input-area button {
    width: 36px;
    height: 36px;
    margin-left: 8px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Dark mode support */
body.dark-mode .bot-message {
    background-color: #1a2b3a;
    border-color: #2d4458;
}
body.dark-mode .chatbot-modal {
    background-color: var(--card-bg);
}
body.dark-mode .chatbot-input-area input {
    background-color: #1a2b3a;
    color: var(--text);
    border-color: var(--border);
}
/* =============== END CHATBOT STYLES =============== */







/* Quick Action Buttons (Chips) */
.chatbot-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 4px;
  align-self: flex-start;
  flex-wrap: wrap;
  padding: 0 4px;
}

.chatbot-action-btn {
  padding: 6px 10px;
  font-size: 0.7rem;
  background: #e6f7f4;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-weight: 500;
}

.chatbot-action-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}

/* Dark mode support */
body.dark-mode .chatbot-action-btn {
  background: #1e3a4a;
  border-color: #2d5a50;
  color: #a0e0d0;
}

body.dark-mode .chatbot-action-btn:hover {
  background: #2d5a50;
  color: white;
}

