File size: 1,720 Bytes
2123c41
f9cc4c4
cbf9883
 
 
 
f9cc4c4
 
cbf9883
 
 
 
f9cc4c4
 
cbf9883
 
 
 
b738a5e
 
cbf9883
 
43807a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
981c02f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90


#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;
}