File size: 7,987 Bytes
00bfbaf
 
 
 
 
 
 
f2490ec
00bfbaf
 
 
 
f2490ec
cc52c63
 
00bfbaf
cc52c63
00bfbaf
b13ffad
00bfbaf
f2490ec
 
cc52c63
00bfbaf
 
 
22cbb8d
00bfbaf
b13ffad
00bfbaf
b13ffad
f2490ec
00bfbaf
 
 
56230b4
cc52c63
b13ffad
f2490ec
00bfbaf
 
 
22cbb8d
b13ffad
 
 
00bfbaf
f2490ec
b13ffad
00bfbaf
 
 
22cbb8d
b13ffad
 
 
00bfbaf
 
 
f2490ec
b13ffad
00bfbaf
 
 
 
b13ffad
00bfbaf
f2490ec
cc52c63
 
 
00bfbaf
 
 
 
b13ffad
00bfbaf
b13ffad
f2490ec
b13ffad
 
6fa4c20
 
c7236bd
 
00bfbaf
b13ffad
 
22cbb8d
00bfbaf
 
b13ffad
00bfbaf
f2490ec
b13ffad
 
f2490ec
 
 
22cbb8d
cc52c63
 
b6bc52b
f41b688
cc52c63
f41b688
b13ffad
 
cc52c63
b13ffad
cc52c63
f41b688
b13ffad
cc52c63
 
53f36cf
f41b688
cc52c63
f41b688
 
 
 
 
 
 
 
 
 
 
 
cc52c63
 
b6bc52b
f41b688
 
cc52c63
b13ffad
f41b688
 
 
 
 
cc52c63
 
b6bc52b
f41b688
 
53f36cf
f41b688
 
 
 
 
 
 
 
 
 
 
53f36cf
 
98080e7
b13ffad
 
b6bc52b
 
cc52c63
b13ffad
cc52c63
f41b688
b6bc52b
f41b688
f4f4eb1
 
98080e7
53f36cf
 
 
6fa4c20
 
b13ffad
 
22cbb8d
6fa4c20
 
b13ffad
6fa4c20
 
b13ffad
757470c
 
6fa4c20
22cbb8d
 
 
6fa4c20
ce3d273
22cbb8d
b13ffad
22cbb8d
b13ffad
 
 
ce3d273
 
 
b13ffad
ce3d273
 
 
22cbb8d
b13ffad
 
 
25ec912
 
 
 
 
22cbb8d
b13ffad
 
 
25ec912
 
 
b13ffad
 
25ec912
b13ffad
 
ce3d273
 
 
b13ffad
22cbb8d
6fa4c20
 
b13ffad
6fa4c20
b13ffad
cc52c63
 
6fa4c20
22cbb8d
 
 
 
b13ffad
 
22cbb8d
 
 
b13ffad
22cbb8d
b13ffad
22cbb8d
 
 
 
cc52c63
 
b663b88
b13ffad
22cbb8d
b13ffad
 
 
 
b663b88
 
f41b688
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f4f4eb1
 
 
 
 
 
 
 
 
 
 
 
 
 
22cbb8d
b13ffad
 
 
 
f4f4eb1
 
b13ffad
f4f4eb1
 
 
b13ffad
 
f4f4eb1
b13ffad
 
f4f4eb1
 
b6bc52b
 
 
b13ffad
 
b6bc52b
 
f4f4eb1
b13ffad
f4f4eb1
 
 
b13ffad
f4f4eb1
 
 
 
 
 
 
 
b13ffad
22cbb8d
f4f4eb1
 
b13ffad
f4f4eb1
 
 
 
22cbb8d
b13ffad
 
98080e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b13ffad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f41b688
 
 
 
b13ffad
 
f41b688
b13ffad
 
f41b688
 
 
b13ffad
 
98080e7
f41b688
 
b13ffad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f41b688
2e3347b
 
f41b688
 
 
0b09da2
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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
}

.chat-container {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.chat-header {
    background-color: #0288d1;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    flex-shrink: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
}

.bot-message {
    background-color: #e3f2fd;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    max-width: 70%;
    word-wrap: break-word;
    font-size: 14px;
}

.user-message {
    background-color: #ffebee;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    max-width: 70%;
    margin-left: auto;
    text-align: right;
    word-wrap: break-word;
    font-size: 14px;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background-color: white;
}

.chat-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    min-height: 40px;
    resize: none;
    overflow-y: hidden;
}

.chat-input button {
    padding: 8px 15px;
    margin-left: 10px;
    background-color: #ff8f00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    min-height: 40px;
}

.chat-input button:hover {
    background-color: #f57c00;
}

.ingredients-list {
    max-height: 300px;
    overflow-x: auto;
    overflow-y: auto;
    padding: 10px;
    margin: 10px 0;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ingredient-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.ingredient-item:hover {
    transform: translateY(-5px);
}

.ingredient-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.ingredient-content {
    width: 100%;
}

.ingredient-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.menu-item-field {
    font-size: 12px;
    margin: 3px 0;
    color: #555;
}

.menu-item-field strong {
    color: #0288d1;
}

.show-desc-button {
    padding: 5px 10px;
    margin-top: 5px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    width: 100%;
    transition: background-color 0.3s;
}

.show-desc-button:hover {
    background-color: #45a049;
}

.option-button {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background-color: #7b1fa2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.option-button.green { background-color: #4caf50; }
.option-button.red { background-color: #d32f2f; }
.option-button.gray { background-color: #616161; }
.option-button:hover { background-color: #6a1b9a; }

.selection-box {
    background-color: #e1f5fe;
    padding: 10px;
    border: 1px solid #0288d1;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.selection-box span {
    background-color: #bbdefb;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
}

.selected-item {
    display: flex;
    align-items: center;
    background-color: #bbdefb;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
}

.selected-item-image {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 5px;
}

.submit-button {
    padding: 8px 15px;
    background-color: #0288d1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.submit-button:hover {
    background-color: #0277bd;
}

.remove-button {
    padding: 5px 10px;
    margin-left: 5px;
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.remove-button:hover {
    background-color: #b71c1c;
}

.manual-input {
    padding: 5px;
    border: 1px solid #0288d1;
    border-radius: 5px;
    font-size: 14px;
    width: 150px;
    margin-left: 10px;
}

.quantity-input {
    padding: 5px;
    border: 1px solid #0288d1;
    border-radius: 5px;
    font-size: 14px;
    width: 60px;
    margin-left: 10px;
}

.order-name-input {
    padding: 5px;
    border: 1px solid #0288d1;
    border-radius: 5px;
    font-size: 14px;
    width: 150px;
    margin-left: 10px;
}

.description-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.popup-add-button {
    padding: 6px 12px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-add-button:hover {
    background-color: #45a049;
}

.popup-close-button {
    padding: 6px 12px;
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-close-button:hover {
    background-color: #b71c1c;
}

.dietary-button {
    padding: 5px 10px;
    margin-right: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    color: white;
}

.dietary-button.green { background-color: #4caf50; }
.dietary-button.red { background-color: #d32f2f; }
.dietary-button.gray { background-color: #616161; }
.dietary-button:hover { opacity: 0.9; }

@media (max-width: 768px) {
    .chat-container {
        height: 100vh;
        margin: 0;
    }
    .chat-header {
        font-size: 16px;
    }
    .chat-messages {
        padding: 5px;
    }
    .chat-input input, .chat-input button {
        padding: 6px;
        font-size: 12px;
        min-height: 35px;
    }
    .ingredients-list {
        max-height: 250px;
    }
    .ingredient-item {
        width: 180px;
    }
    .ingredient-image {
        height: 100px;
    }
    .ingredient-name {
        font-size: 14px;
    }
    .menu-item-field {
        font-size: 10px;
    }
    .show-desc-button {
        font-size: 10px;
        padding: 4px 8px;
    }
    .popup-content {
        max-width: 85%;
        padding: 10px;
    }
    .popup-image {
        width: 60px;
        height: 60px;
    }
    .popup-add-button, .popup-close-button {
        padding: 4px 8px;
        font-size: 10px;
    }
    .selection-box {
        gap: 5px;
    }
    .selected-item {
        padding: 3px 8px;
    }
    .remove-button {
        padding: 3px 8px;
        font-size: 10px;
    }
    .manual-input, .order-name-input {
        width: 120px;
    }
    .quantity-input {
        width: 50px;
    }
}