#chatArea { display: flex !important; opacity: 1 !important; visibility: visible !important; } #chatBox { display: flex !important; opacity: 1 !important; visibility: visible !important; } #footerForm { display: flex !important; opacity: 1 !important; visibility: visible !important; } .hidden { display: none !important; } /* Mermaid diagram container */ .mermaid-diagram { background: rgba(0, 0, 0, 0.2); border-radius: 0.75rem; padding: 1rem; margin: 1rem 0; overflow-x: auto; text-align: center; } .mermaid-diagram svg { max-width: 100%; height: auto; } /* Light theme support for mermaid */ html.light .mermaid-diagram { background: #f3f4f6; } /* Smooth scrolling for chat */ #chatBox, #chatArea { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; } /* Force theme toggle button visibility */ #themeToggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; background: #1f2937 !important; border: none !important; border-radius: 50% !important; width: 2rem !important; height: 2rem !important; font-size: 1.2rem !important; transition: all 0.3s ease !important; } #themeToggle:hover { background: #3b82f6 !important; transform: scale(1.05) !important; } /* Light theme styles for body and background */ html.light body { background: linear-gradient(135deg, #f8fafc, #e2e8f0) !important; } html.light .bg-gradient-to-br { background: var(--bg-primary) !important; } html.light .chat-title, html.light .icon-btn { color: #1f2937 !important; } html.light .icon-btn:hover { background: #e2e8f0 !important; color: #3b82f6 !important; }