feat: major platform upgrade — AI extraction pipeline, responsive UI, admin chatbot enhancements
CRITICAL FIXES - Fix blank pages: useCallback declared after useEffect in all 5 pages - Fix showToast undefined everywhere (ToastContext exported addToast not showToast) - Fix admin doc upload always 422 (missing doc_key + doc_label form fields) - Fix audit log wrong field names (log.details -> log.detail, remove user_agent) - Fix SPA catch-all missing in main.py (direct URL access was 404) - Fix chatbot using broken nvidia free model -> llama-3.3-70b AI EXTRACTION PIPELINE - 3-stage pipeline: Stage1 native text (free) -> Stage2 Tesseract OCR (free CPU) -> Stage3 Qwen vision (paid) - Tesseract installed with eng+hin bilingual support, psm6, 2.5x DPI - Scanned PDF fallback via PyMuPDF page render - Blank template fallback: returns form_type/purpose/tax_year instead of empty - Improved prompt: extracts actual document field names, no predefined terms - Auto-poll UI: shows Processing spinner when extraction is running - backfill_extraction.py: re-process all docs, fixed empty-dict-as-None bug ADMIN DASHBOARD - Pending docs split into Pending Personal + Pending Business stat cards - User cards show typed badges: N personal / N business instead of generic N pending - Backend returns pending_personal, pending_business, pending_docs per user ADMIN USER DETAIL - Doc count chips in user info bar: personal / business / returns / total - Doc name bold 15px, date with calendar icon + TY chip, status as colored badges - Responsive layout: doc-review-layout CSS classes replace inline flex styles - Filing Timeline sidebar stacks above doc list on mobile - AI Summary: bold labels and values, blank template shows metadata CHATBOT ENHANCEMENTS - Ask anything free-text input on menu screen (both admin and user chatbots) - Admin: live context with latest uploads by date, new users today - Admin: per-user activity lookup by name/email (docs + audit log) - New endpoint: /api/chatbot/admin-user-context - ExpandableSummaryBlock + ExpandableValue: bold navy field labels and values RESPONSIVENESS - components.css: 480px/640px/768px breakpoints for all pages - Admin table, stat cards, tabs, toasts, FAB all properly responsive - Auth shell stacks on mobile correctly
This commit is contained in:
+97
-305
@@ -1,102 +1,84 @@
|
||||
/* ============================================================
|
||||
chatbot.css — BookKeepPro Chatbot Widget
|
||||
Floating chat bubble + chat window
|
||||
chatbot.css — BookKeepPro Chatbot Widget (Ledger system)
|
||||
============================================================ */
|
||||
|
||||
/* ── Chat Bubble (FAB) ──────────────────────────────────── */
|
||||
.chatbot-fab {
|
||||
position: fixed;
|
||||
bottom: 24px;
|
||||
right: 24px;
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
|
||||
background: var(--ink);
|
||||
color: #fff;
|
||||
border: none;
|
||||
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 20px rgba(0, 119, 200, 0.35);
|
||||
box-shadow: var(--shadow-lg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 28px;
|
||||
font-size: 26px;
|
||||
z-index: 9998;
|
||||
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
||||
}
|
||||
.chatbot-fab:hover {
|
||||
transform: scale(1.08);
|
||||
box-shadow: 0 6px 28px rgba(0, 119, 200, 0.45);
|
||||
}
|
||||
.chatbot-fab:active {
|
||||
transform: scale(0.96);
|
||||
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
|
||||
}
|
||||
.chatbot-fab:hover { transform: scale(1.07); background: var(--emerald-dark); }
|
||||
.chatbot-fab:active { transform: scale(0.96); }
|
||||
.chatbot-fab .fab-icon { transition: transform 0.3s ease; }
|
||||
.chatbot-fab.open .fab-icon { transform: rotate(90deg); }
|
||||
|
||||
/* Pulse ring animation */
|
||||
.chatbot-fab::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -4px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--blue);
|
||||
border: 1.5px solid var(--brass);
|
||||
opacity: 0;
|
||||
animation: chatPulse 2.5s ease-out infinite;
|
||||
}
|
||||
.chatbot-fab.open::before { animation: none; opacity: 0; }
|
||||
|
||||
@keyframes chatPulse {
|
||||
0% { transform: scale(1); opacity: 0.5; }
|
||||
0% { transform: scale(1); opacity: 0.45; }
|
||||
100% { transform: scale(1.4); opacity: 0; }
|
||||
}
|
||||
|
||||
/* Notification dot */
|
||||
.chatbot-fab .notif-dot {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
top: 2px; right: 2px;
|
||||
width: 13px; height: 13px;
|
||||
border-radius: 50%;
|
||||
background: var(--orange);
|
||||
border: 2px solid #fff;
|
||||
background: var(--brass);
|
||||
border: 2px solid var(--ink);
|
||||
animation: dotBounce 1.5s ease infinite;
|
||||
}
|
||||
.chatbot-fab.open .notif-dot { display: none; }
|
||||
|
||||
@keyframes dotBounce {
|
||||
0%, 100% { transform: scale(1); }
|
||||
50% { transform: scale(1.2); }
|
||||
}
|
||||
@keyframes dotBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
|
||||
|
||||
/* ── Chat Window ────────────────────────────────────────── */
|
||||
.chatbot-window {
|
||||
position: fixed;
|
||||
bottom: 96px;
|
||||
bottom: 92px;
|
||||
right: 24px;
|
||||
width: 380px;
|
||||
max-height: 520px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--card);
|
||||
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
|
||||
border-radius: var(--radius-lg);
|
||||
background: #FFFFFF;
|
||||
border: 1px solid var(--border);
|
||||
box-shadow: var(--shadow-lg);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 9999;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
transform: translateY(20px) scale(0.95);
|
||||
transform: translateY(16px) scale(0.97);
|
||||
pointer-events: none;
|
||||
transition: opacity 0.3s ease, transform 0.3s ease;
|
||||
}
|
||||
.chatbot-window.visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1);
|
||||
pointer-events: auto;
|
||||
transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
.chatbot-window.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
|
||||
|
||||
/* ── Header ─────────────────────────────────────────────── */
|
||||
.chatbot-header {
|
||||
background: linear-gradient(135deg, var(--blue) 0%, #005fa3 100%);
|
||||
background: var(--ink);
|
||||
background-image: var(--ruled);
|
||||
color: #fff;
|
||||
padding: 16px 18px;
|
||||
display: flex;
|
||||
@@ -105,302 +87,112 @@
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.chatbot-header .bot-avatar {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.chatbot-header .bot-info h4 {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
color: #fff;
|
||||
}
|
||||
.chatbot-header .bot-info span {
|
||||
font-size: 11px;
|
||||
opacity: 0.8;
|
||||
width: 36px; height: 36px; border-radius: 50%;
|
||||
background: var(--brass);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 18px; flex-shrink: 0; color: #fff;
|
||||
}
|
||||
.chatbot-header .bot-info h4 { font-size: 14px; font-weight: 600; margin: 0; color: #fff; font-family: var(--font-body); }
|
||||
.chatbot-header .bot-info span { font-size: 11px; opacity: 0.75; }
|
||||
.chatbot-header .close-chat {
|
||||
margin-left: auto;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
border: none;
|
||||
color: #fff;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.chatbot-header .close-chat:hover {
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
margin-left: auto; background: rgba(255,255,255,0.12); border: none; color: #fff;
|
||||
width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 15px;
|
||||
display: flex; align-items: center; justify-content: center; transition: background 0.2s;
|
||||
}
|
||||
.chatbot-header .close-chat:hover { background: rgba(255,255,255,0.25); }
|
||||
|
||||
/* ── Messages Area ──────────────────────────────────────── */
|
||||
.chatbot-messages {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
background: #f8fbfe;
|
||||
min-height: 200px;
|
||||
max-height: 340px;
|
||||
flex: 1; overflow-y: auto; padding: 22px 18px;
|
||||
display: flex; flex-direction: column; gap: 12px;
|
||||
background: var(--paper);
|
||||
min-height: 200px; max-height: 380px; scroll-behavior: smooth;
|
||||
}
|
||||
.chatbot-welcome-text {
|
||||
display: flex; align-items: center; justify-content: center; gap: 8px;
|
||||
margin-bottom: 8px; padding: 10px;
|
||||
background: var(--emerald-light);
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid rgba(31,93,70,0.15);
|
||||
}
|
||||
.chatbot-welcome-text p { font-size: 13px; font-weight: 500; color: var(--ink); margin: 0; }
|
||||
.chatbot-welcome-text .sparkle { font-size: 17px; color: var(--brass); }
|
||||
.chatbot-messages::-webkit-scrollbar { width: 5px; }
|
||||
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
|
||||
.chatbot-messages::-webkit-scrollbar-thumb { background: #c5d9ee; border-radius: 10px; }
|
||||
.chatbot-messages::-webkit-scrollbar-thumb { background: #d8d0b6; border-radius: 10px; }
|
||||
|
||||
/* ── Message Bubbles ────────────────────────────────────── */
|
||||
.chat-msg {
|
||||
max-width: 85%;
|
||||
padding: 10px 14px;
|
||||
border-radius: 14px;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
animation: msgSlideIn 0.3s ease;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
@keyframes msgSlideIn {
|
||||
from { opacity: 0; transform: translateY(8px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
max-width: 85%; padding: 10px 14px; border-radius: 13px;
|
||||
font-size: 13px; line-height: 1.5; animation: msgSlideIn 0.3s ease; word-wrap: break-word;
|
||||
}
|
||||
@keyframes msgSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
|
||||
|
||||
.chat-msg.bot {
|
||||
background: #fff;
|
||||
color: #222;
|
||||
border: 1px solid var(--border);
|
||||
border-bottom-left-radius: 4px;
|
||||
align-self: flex-start;
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,0.04);
|
||||
background: #fff; color: var(--ink); border: 1px solid var(--border);
|
||||
border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--shadow-xs);
|
||||
}
|
||||
.chat-msg.user {
|
||||
background: linear-gradient(135deg, var(--blue), var(--accent));
|
||||
color: #fff;
|
||||
border-bottom-right-radius: 4px;
|
||||
align-self: flex-end;
|
||||
background: var(--emerald); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end;
|
||||
}
|
||||
|
||||
/* ── Typing Indicator ───────────────────────────────────── */
|
||||
.typing-indicator {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
padding: 12px 16px;
|
||||
align-self: flex-start;
|
||||
}
|
||||
.typing-indicator span {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--blue);
|
||||
opacity: 0.4;
|
||||
animation: typingDot 1.2s ease-in-out infinite;
|
||||
}
|
||||
.typing-indicator { display: flex; gap: 4px; padding: 12px 16px; align-self: flex-start; }
|
||||
.typing-indicator span { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); opacity: 0.4; animation: typingDot 1.2s ease-in-out infinite; }
|
||||
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
|
||||
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
|
||||
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }
|
||||
|
||||
@keyframes typingDot {
|
||||
0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
|
||||
30% { transform: translateY(-6px); opacity: 1; }
|
||||
}
|
||||
|
||||
/* ── Quick Reply Buttons ────────────────────────────────── */
|
||||
.quick-replies {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.quick-replies { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
|
||||
.quick-reply-btn {
|
||||
background: #fff;
|
||||
border: 1.5px solid var(--blue);
|
||||
color: var(--blue);
|
||||
padding: 9px 14px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
transition: all 0.2s ease;
|
||||
font-family: inherit;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.quick-reply-btn:hover {
|
||||
background: var(--blue);
|
||||
color: #fff;
|
||||
transform: translateX(4px);
|
||||
box-shadow: 0 2px 8px rgba(0, 119, 200, 0.2);
|
||||
}
|
||||
.quick-reply-btn .qr-icon {
|
||||
font-size: 16px;
|
||||
flex-shrink: 0;
|
||||
background: #fff; border: 1.5px solid var(--border); color: var(--ink);
|
||||
padding: 11px 15px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500;
|
||||
cursor: pointer; text-align: left; transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
|
||||
font-family: inherit; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-xs);
|
||||
}
|
||||
.quick-reply-btn:hover { background: var(--emerald-light); border-color: var(--emerald); color: var(--emerald-dark); transform: translateY(-1px); }
|
||||
.quick-reply-btn .qr-icon { font-size: 16px; flex-shrink: 0; }
|
||||
|
||||
/* ── Doc Status Cards ───────────────────────────────────── */
|
||||
.doc-status-card {
|
||||
background: #fff;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xs);
|
||||
padding: 10px 12px;
|
||||
margin-top: 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.doc-status-card .doc-name {
|
||||
font-weight: 600;
|
||||
color: var(--navy);
|
||||
margin-bottom: 4px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.doc-status-card .doc-year {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
.doc-status-card .doc-badge {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
.doc-badge.pending { background: var(--warn-bg); color: var(--warn); }
|
||||
.doc-status-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 10px 12px; margin-top: 6px; font-size: 12px; }
|
||||
.doc-status-card .doc-name { font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 13px; }
|
||||
.doc-status-card .doc-year { color: var(--muted); font-size: 11px; }
|
||||
.doc-status-card .doc-badge { display: inline-block; padding: 2px 8px; border-radius: var(--radius-xs); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; font-family: var(--font-mono); }
|
||||
.doc-badge.pending { background: var(--warn-bg); color: var(--brass-dark); }
|
||||
.doc-badge.approved { background: var(--success-bg); color: var(--success); }
|
||||
.doc-badge.rejected { background: var(--error-bg); color: var(--error); }
|
||||
.doc-status-card .doc-note { margin-top: 4px; color: var(--muted); font-style: italic; font-size: 11px; }
|
||||
|
||||
.doc-status-card .doc-note {
|
||||
margin-top: 4px;
|
||||
color: var(--muted);
|
||||
font-style: italic;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/* ── Summary Banner ─────────────────────────────────────── */
|
||||
.status-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.summary-item {
|
||||
text-align: center;
|
||||
padding: 8px 4px;
|
||||
border-radius: var(--radius-xs);
|
||||
background: #f1f7fb;
|
||||
}
|
||||
.summary-item .count {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
}
|
||||
.summary-item .label {
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
.summary-item.pending .count { color: var(--warn); }
|
||||
.status-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
|
||||
.summary-item { text-align: center; padding: 8px 4px; border-radius: var(--radius-xs); background: var(--paper); }
|
||||
.summary-item .count { font-family: var(--font-mono); font-size: 19px; font-weight: 600; display: block; }
|
||||
.summary-item .label { font-size: 10px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.5px; }
|
||||
.summary-item.pending .count { color: var(--brass-dark); }
|
||||
.summary-item.approved .count { color: var(--success); }
|
||||
.summary-item.rejected .count { color: var(--error); }
|
||||
|
||||
/* ── FAQ List ───────────────────────────────────────────── */
|
||||
.faq-question {
|
||||
background: #fff;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xs);
|
||||
padding: 9px 12px;
|
||||
font-size: 12.5px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
text-align: left;
|
||||
color: var(--navy);
|
||||
width: 100%;
|
||||
font-family: inherit;
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.faq-question:hover {
|
||||
border-color: var(--blue);
|
||||
color: var(--blue);
|
||||
background: var(--blue-light);
|
||||
background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xs);
|
||||
padding: 9px 12px; font-size: 12.5px; cursor: pointer; transition: all 0.2s ease;
|
||||
text-align: left; color: var(--ink); width: 100%; font-family: inherit; display: block; margin-top: 4px;
|
||||
}
|
||||
.faq-question:hover { border-color: var(--emerald); color: var(--emerald); background: var(--emerald-light); }
|
||||
|
||||
/* ── Back Button ────────────────────────────────────────── */
|
||||
.back-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--blue);
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
padding: 4px 0;
|
||||
font-family: inherit;
|
||||
font-weight: 500;
|
||||
margin-top: 6px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
background: none; border: none; color: var(--emerald); cursor: pointer; font-size: 12px;
|
||||
padding: 4px 0; font-family: inherit; font-weight: 500; margin-top: 6px;
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
}
|
||||
.back-btn:hover { text-decoration: underline; }
|
||||
|
||||
/* ── Mobile Responsive ──────────────────────────────────── */
|
||||
@media (max-width: 480px) {
|
||||
.chatbot-window {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
max-height: 75vh;
|
||||
border-radius: var(--radius-md) var(--radius-md) 0 0;
|
||||
}
|
||||
.chatbot-fab {
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
font-size: 24px;
|
||||
}
|
||||
.chatbot-window { bottom: 0; right: 0; left: 0; width: 100%; max-height: 75vh; border-radius: var(--radius-md) var(--radius-md) 0 0; }
|
||||
.chatbot-fab { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 22px; }
|
||||
}
|
||||
|
||||
/* ── Dark Mode Support ──────────────────────────────────── */
|
||||
[data-theme="dark"] .chatbot-window { background: #1a2332; }
|
||||
[data-theme="dark"] .chatbot-messages { background: #0f1923; }
|
||||
[data-theme="dark"] .chat-msg.bot {
|
||||
background: #1e2d3d;
|
||||
border-color: #2a3f54;
|
||||
color: #d4dde6;
|
||||
}
|
||||
[data-theme="dark"] .quick-reply-btn {
|
||||
background: #1e2d3d;
|
||||
border-color: var(--blue);
|
||||
color: var(--accent);
|
||||
}
|
||||
[data-theme="dark"] .quick-reply-btn:hover {
|
||||
background: var(--blue);
|
||||
color: #fff;
|
||||
}
|
||||
[data-theme="dark"] .doc-status-card {
|
||||
background: #1e2d3d;
|
||||
border-color: #2a3f54;
|
||||
}
|
||||
[data-theme="dark"] .doc-status-card .doc-name { color: #d4dde6; }
|
||||
[data-theme="dark"] .faq-question {
|
||||
background: #1e2d3d;
|
||||
border-color: #2a3f54;
|
||||
color: #d4dde6;
|
||||
}
|
||||
[data-theme="dark"] .faq-question:hover {
|
||||
background: #253648;
|
||||
border-color: var(--blue);
|
||||
}
|
||||
[data-theme="dark"] .summary-item { background: #1e2d3d; }
|
||||
.dark-theme .chatbot-window { background: var(--card); }
|
||||
.dark-theme .chatbot-messages { background: var(--bg); }
|
||||
.dark-theme .chat-msg.bot { background: var(--card); border-color: var(--border); color: var(--navy); }
|
||||
.dark-theme .quick-reply-btn { background: var(--card); border-color: var(--border); color: var(--navy); }
|
||||
.dark-theme .quick-reply-btn:hover { background: var(--blue-light); border-color: var(--blue); }
|
||||
.dark-theme .doc-status-card { background: var(--card); border-color: var(--border); }
|
||||
.dark-theme .doc-status-card .doc-name { color: var(--navy); }
|
||||
.dark-theme .faq-question { background: var(--card); border-color: var(--border); color: var(--navy); }
|
||||
.dark-theme .faq-question:hover { background: var(--blue-light); border-color: var(--blue); }
|
||||
.dark-theme .summary-item { background: var(--card); }
|
||||
|
||||
Reference in New Issue
Block a user