File size: 5,718 Bytes
2376116
 
 
 
 
 
 
 
 
4437fdc
2376116
 
 
 
 
 
 
 
 
 
 
 
 
 
257c939
2376116
 
 
 
 
 
 
 
 
 
 
 
 
 
4437fdc
2376116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f6a9034
2376116
 
 
 
 
 
 
 
257c939
2376116
 
 
 
 
 
 
 
 
 
 
 
 
257c939
2376116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257c939
2376116
 
 
 
 
 
 
 
 
 
 
 
257c939
2376116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257c939
2376116
 
 
 
 
 
 
 
53ed7bb
a949edc
 
e0d123d
a949edc
53ed7bb
a949edc
 
 
 
53ed7bb
a949edc
53ed7bb
 
 
a949edc
 
 
fde6689
a949edc
 
 
 
53ed7bb
 
a949edc
 
53ed7bb
a949edc
53ed7bb
a949edc
53ed7bb
a949edc
 
 
53ed7bb
 
a949edc
 
 
 
 
 
 
 
 
53ed7bb
 
a949edc
 
 
 
 
 
 
 
 
 
4437fdc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1226ed3
9dfa66e
4437fdc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1226ed3
4437fdc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a949edc
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
.chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    min-width: 400px;
}

.round {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 30px;

}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: darkblue;
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.chat-header h4 {
    margin: 0;
}

.chat-close {
    cursor: pointer;
}

.chat-body {
    height: 400px;
    overflow-y: scroll;
    padding: 10px;
    word-wrap: break-word;
    display:flex;
    flex-direction: column;
}

.chat-message {
    margin: 10px;
}

.chat-message p {
    margin: 0;
    padding: 10px;
    font-size: 16px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
    border-radius: 10px;
    color: #fff;
}

.chat-message.user {
    display: flex;
    align-self: flex-end;
    justify-content: flex-end;
    text-align: right;
    align-items: center;
    background-color: rgba(0, 0, 139, 0.75);
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 10px;
    word-wrap: break-word;
}


.chat-message.bot {
    display: flex;
    align-self: flex-start;
    justify-content: flex-start;
    text-align: left;
    align-items: center;
    background-color: rgba(0, 0, 139, 0.75);
    border-top-left-radius: 0px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 0px;
    word-wrap: break-word;
}

.chat-message.bot p {
    margin: 0;
    padding: 10px;
    font-size: 16px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
    border-radius: 10px;
    overflow-wrap: anywhere;
}

.chat-message.user:after {
    content: "";
    position: relative;
    top: 0;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 16px solid #00008BBF;
    border-top-right-radius: 10px;
}

.chat-message.bot:before {
    content: "";
    position: relative;
    top: 0;
    left: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #00008BBF;
    border-top-left-radius: 10px;
}


.chat-input {
    display: flex;
    margin-top: 10px;
}

.chat-input input {
    flex-grow: 1;
    border: none;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 16px;
    margin-right: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.chat-input button {
    background-color: #00008BBF;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

/* CSS for chat-container when minimized */
.chat-container.minimized {
    min-width: 70px;
    height: 70px;
    border-radius: 50%;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* CSS for chat-bot-icon */
.chat-bot-icon {
    font-size: 30px;
    color: #00008BBF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* CSS for chat-header when not minimized */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #6c7ae0;
    color: #fff;
    padding: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* CSS for chat-container when not minimized */
.chat-container:not(.minimized) {
    border-radius: 5px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

/* CSS for chat-bot-icon when chat-container is minimized */
.chat-container.minimized .chat-bot-icon {
    display: block;
}

/* CSS for chat-bot-icon when chat-container is not minimized */
.chat-container:not(.minimized) .chat-bot-icon {
    display: none;
}

.queries {

    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 0.5px solid #a5a0a0;
    border-radius: 20px;
    color: #000;
    background-color: #343a404a;
    cursor: pointer;
    margin: 5px;
}

.queries:hover {
    background-color: #343a40ad;
}

.queries:active {
    background-color: #0053a4;
}

#button-container {
    display: flex;
    position: relative;
    left: 2%;
    top: 40%;
    flex-direction: column;
    justify-content: inherit;
    align-items: center;
    width: auto;
    overflow-y: scroll;
    max-height: 350px;
    padding-top: 110%;
    margin-top: 2%;

}

#button-container button {
    margin-bottom: 10px;
}

.query-heading {
    display: flex;
    position: relative;
    width: auto%;
    background-color: #fff;
    padding: 10px;
    z-index: 1;
    justify-content: inherit;
    width: 100%;
    border-bottom: 1px solid #2f4f4f5e;
}

.sample-query {
    display: flex;
    position: absolute;
    left: 30%;
    top: 10%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    padding: 10px;
    border: 1px solid #2f4f4f5e;
    justify-content: center;
    border-radius: 10px;
    max-width: 30%;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #f4f4f4;
}

::-webkit-scrollbar-thumb {
    background-color: #a3bfe9a6;
    border-radius: 20px;
}