File size: 4,589 Bytes
4279593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85a4a41
4279593
 
 
 
 
 
 
 
 
 
 
 
 
85a4a41
4279593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ace1787
4279593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85a4a41
4279593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85a4a41
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
/* Define a modern dark theme */
:root {
  --dark-surface: #190e10;       /* Deep, dark maroon base */
  --primary-color: #2b2b2b;       /* A dark gray for sidebars and buttons */
  --secondary-color: #03dac6;     /* A cool teal for accents */
  --accent-color: #444a89;        /* A warm accent for highlights and borders */
  --text-color: #e0e0e0;          /* Off-white text */
  --hover-bg: #3a3a3a;           /* Slightly lighter for hover effects */
  --transition-speed: 0.25s;      /* Speed of transitions */
}

/* Global font settings */
html, body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--dark-surface);
}

/* Main container styling */
.app-container {
  background: var(--dark-surface);
  color: var(--text-color);
  display: flex;
  min-height: 100vh;
  position: relative;
  overflow-y: auto;
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding: 2rem;
  transition: 0.1s;
  width: 99%;
  max-width: 900px;
  margin: 0 auto;
}

/* Search Area for Initial Mode */
.search-area h1 {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.search-area {
  width: 83%;
}

.search-bar {
  position: relative;
  width: 100%;
  border-radius: 0.35rem;
  background-color: #21212f;
}

.search-input-wrapper {
  padding: 0rem 0.6rem 4.15rem 0.6rem;
}

.search-input {
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  font-size: 1.2rem;
  border: none;
  background-color: transparent;
  color: var(--text-color);
  line-height: 1.4;
  padding: 0.65rem 0.65rem;
  resize: none;
  white-space: pre-wrap;
}

.search-input:focus {
  outline: none;
}

.search-input::placeholder {
  color: #888;
}

.icon-container {
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  right: 0;
  height: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.75rem;
}

.settings-btn,
.send-btn {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.settings-btn svg,
.send-btn svg {
  font-size: 1.45rem;
}

.settings-btn:hover,
.send-btn:hover {
  color: #888;
}

/* Stop button */
button.chat-send-btn.stop-btn,
button.send-btn.stop-btn {
  background-color: var(--text-color) !important;
  border-radius: 50%;
  width: 28.5px;
  height: 28.5px;
  border: none;
  display: flex;
  align-items: center;    
  justify-content: center; 
  cursor: pointer;
  padding: 0;
  margin: 0 0 10px;
}

button.chat-send-btn.stop-btn:hover,
button.send-btn.stop-btn:hover {
  background-color: #888 !important;
}

/* Chat Mode Search Bar and Textarea Styling */
.floating-chat-search-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 48%;
  background-color: #21212f;
  border-radius: 0.35rem;
}

.floating-chat-search-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.5rem;
  height: 1.5rem;
  background-color: var(--dark-surface);
}

.chat-search-input-wrapper {
  padding: 0.25rem 0.6rem;
}

.chat-search-input {
  width: 100%;
  min-width: 700px;
  max-height: 200px;
  overflow-y: auto;
  font-size: 1.2rem;
  border: none;
  background-color: transparent;
  color: var(--text-color);
  line-height: 1.4;
  padding: 0.65rem 3.25rem;
  resize: none;
  white-space: pre-wrap;
}

.chat-search-input:focus {
  outline: none;
}

.chat-icon-container {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.75rem;
  pointer-events: none;
}

/* Re-enable pointer events on the actual buttons so they remain clickable */
.chat-icon-container button {
  pointer-events: auto;
}

.chat-settings-btn,
.chat-send-btn {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
}

.chat-settings-btn:hover,
.chat-send-btn:hover {
  color: #888;
}

/* Floating sidebar container for chat mode */
.floating-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--right-sidebar-width, 300px);
  z-index: 1000;
}

/* Chat container */
.chat-container {
  flex-grow: 1;
  margin-bottom: 9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .main-content {
    margin: 0;
    padding: 1rem;
  }
}