lokesh341 commited on
Commit
c8580af
·
verified ·
1 Parent(s): 2471a32

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +313 -207
static/styles.css CHANGED
@@ -1,5 +1,5 @@
1
  body {
2
- font-family: Arial, sans-serif;
3
  margin: 0;
4
  padding: 0;
5
  background-color: #f0f2f5;
@@ -8,10 +8,11 @@ body {
8
 
9
  .chat-container {
10
  width: 100%;
11
- max-width: 100%;
12
  height: 100vh;
 
13
  border: 1px solid #ccc;
14
- border-radius: 0;
15
  background-color: white;
16
  display: flex;
17
  flex-direction: column;
@@ -19,114 +20,114 @@ body {
19
  }
20
 
21
  .chat-header {
22
- background-color: #0288d1;
23
  color: white;
24
- padding: 8px;
25
  text-align: center;
26
- font-size: 16px;
27
  flex-shrink: 0;
28
  }
29
 
30
- .chat messages {
31
  flex: 1;
32
  overflow-y: auto;
33
- padding: 5px;
34
  box-sizing: border-box;
35
  scroll-behavior: smooth;
36
  }
37
 
 
 
 
 
 
 
 
 
 
 
38
  .bot-message {
39
  background-color: #e3f2fd;
40
- padding: 8px;
41
- margin: 5px 0;
42
- border-radius: 5px;
43
- max-width: 85%;
44
- word-wrap: break-word;
45
- font-size: 12px;
46
  }
47
 
48
  .user-message {
49
  background-color: #ffebee;
50
- padding: 8px;
51
- margin: 5px 0;
52
- border-radius: 5px;
53
- max-width: 85%;
54
  margin-left: auto;
55
  text-align: right;
56
- word-wrap: break-word;
57
- font-size: 12px;
 
 
 
58
  }
59
 
60
  .chat-input {
61
  display: flex;
62
- padding: 5px;
63
  border-top: 1px solid #ccc;
64
  flex-shrink: 0;
65
- position: fixed;
66
- bottom: 0;
67
- width: 100%;
68
  background-color: white;
69
  box-sizing: border-box;
70
  }
71
 
72
  .chat-input input {
73
  flex: 1;
74
- padding: 6px;
75
  border: 1px solid #ccc;
76
- border-radius: 5px;
77
- font-size: 12px;
78
- min-height: 35px;
79
  box-sizing: border-box;
80
  }
81
 
82
  .chat-input button {
83
- padding: 6px 10px;
84
- margin-left: 5px;
85
  background-color: #ff8f00;
86
  color: white;
87
  border: none;
88
- border-radius: 5px;
89
  cursor: pointer;
90
- font-size: 12px;
91
- min-height: 35px;
92
- min-width: 60px;
93
  }
94
 
95
- .chat-input button:active {
96
  background-color: #f57c00;
97
  }
98
 
99
  .items-grid {
100
- display: flex;
101
- flex-wrap: nowrap;
102
- overflow-x: auto;
103
- padding: 8px;
104
- margin: 5px 0;
105
  background-color: #f9f9f9;
106
- border-radius: 5px;
107
- gap: 8px;
108
- scroll-behavior: smooth;
109
  }
110
 
111
  .item-card {
112
- flex: 0 0 150px;
113
  background-color: white;
114
  border: 1px solid #ddd;
115
- border-radius: 6px;
116
- padding: 8px;
117
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 
118
  }
119
 
120
- .item-card:active {
121
- transform: scale(0.98);
 
122
  }
123
 
124
  .item-image {
125
  width: 100%;
126
- height: 100px;
127
  object-fit: cover;
128
- border-radius: 5px;
129
- margin-bottom: 5px;
 
130
  }
131
 
132
  .item-content {
@@ -134,15 +135,15 @@ body {
134
  }
135
 
136
  .item-name {
137
- font-size: 12px;
138
  font-weight: bold;
139
  color: #333;
140
- margin-bottom: 3px;
141
  }
142
 
143
  .item-field {
144
- font-size: 10px;
145
- margin: 2px 0;
146
  color: #555;
147
  }
148
 
@@ -151,330 +152,435 @@ body {
151
  }
152
 
153
  .item-description {
154
- font-size: 10px;
155
  margin: 5px 0;
156
  color: #555;
157
  }
158
 
159
  .button-container {
160
  display: flex;
161
- gap: 5px;
162
- margin-top: 5px;
163
  }
164
 
165
- .show-button {
166
- padding: 4px;
167
- background-color: #0288d1;
168
- color: white;
169
  border: none;
170
- border-radius: 5px;
171
  cursor: pointer;
172
- font-size: 10px;
173
  flex: 1;
174
- min-width: 40px;
175
  }
176
 
177
- .show-button:active {
 
 
 
 
 
178
  background-color: #0277bd;
179
  }
180
 
181
  .add-button {
182
- padding: 4px;
183
  background-color: #4caf50;
184
  color: white;
185
- border: none;
186
- border-radius: 5px;
187
- cursor: pointer;
188
- font-size: 10px;
189
- flex: 1;
190
- min-width: 40px;
191
  }
192
 
193
- .add-button:active {
194
  background-color: #45a049;
195
  }
196
 
197
  .options-container {
198
  display: flex;
199
  flex-wrap: wrap;
200
- gap: 5px;
201
- margin: 5px 0;
202
  }
203
 
204
  .option-button {
205
- padding: 6px 10px;
206
- margin: 3px;
207
  background-color: #7b1fa2;
208
  color: white;
209
  border: none;
210
- border-radius: 5px;
211
  cursor: pointer;
212
- font-size: 12px;
213
- min-width: 60px;
214
  }
215
 
216
  .option-button.green { background-color: #4caf50; }
217
  .option-button.red { background-color: #d32f2f; }
218
  .option-button.gray { background-color: #616161; }
219
- .option-button:active { opacity: 0.9; }
220
 
221
  .selection-box {
222
  background-color: #e1f5fe;
223
- padding: 8px;
224
  border: 1px solid #0288d1;
225
- border-radius: 5px;
226
- margin: 5px 0;
227
- font-size: 12px;
228
  display: flex;
229
  flex-wrap: wrap;
230
  align-items: center;
231
- gap: 5px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  }
233
 
234
  .selection-box span {
235
  background-color: #bbdefb;
236
- padding: 3px 8px;
237
- border-radius: 5px;
238
- font-size: 12px;
239
  }
240
 
241
  .selected-item {
242
  display: flex;
243
  align-items: center;
244
  background-color: #bbdefb;
245
- padding: 3px 8px;
246
- border-radius: 5px;
247
- font-size: 11px;
248
  }
249
 
250
  .selected-item-image {
251
- width: 25px;
252
- height: 25px;
253
  object-fit: cover;
254
- border-radius: 5px;
255
- margin-right: 5px;
 
256
  }
257
 
258
  .submit-button {
259
- padding: 6px 10px;
260
  background-color: #0288d1;
261
  color: white;
262
  border: none;
263
- border-radius: 5px;
264
  cursor: pointer;
265
- font-size: 12px;
266
- min-width: 60px;
267
  }
268
 
269
- .submit-button:active {
270
  background-color: #0277bd;
271
  }
272
 
273
  .remove-button {
274
- padding: 3px 6px;
275
- margin-left: 5px;
276
  background-color: #d32f2f;
277
  color: white;
278
  border: none;
279
- border-radius: 5px;
280
  cursor: pointer;
281
- font-size: 10px;
282
  }
283
 
284
- .remove-button:active {
285
  background-color: #b71c1c;
286
  }
287
 
288
- .manual-input {
289
- padding: 4px;
290
- border: 1px solid #0288d1;
291
- border-radius: 5px;
292
- font-size: 12px;
293
- width: 100px;
294
  }
295
 
296
  .quantity-input {
297
- padding: 4px;
298
  border: 1px solid #0288d1;
299
- border-radius: 5px;
300
- font-size: 12px;
301
- width: 50px;
302
  }
303
 
304
- .order-name-input {
305
- padding: 4px;
306
- border: 1px solid #0288d1;
307
- border-radius: 5px;
308
- font-size: 12px;
309
- width: 100px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  }
311
 
312
  @media (max-width: 480px) {
 
 
 
 
 
313
  .chat-header {
314
- font-size: 14px;
315
- padding: 6px;
316
  }
 
317
  .chat-messages {
318
- padding: 3px;
319
  }
 
320
  .bot-message, .user-message {
321
- font-size: 11px;
322
- padding: 6px;
323
- margin: 3px 0;
324
  }
 
325
  .chat-input input {
326
- font-size: 11px;
327
- min-height: 30px;
328
- padding: 5px;
329
  }
 
330
  .chat-input button {
331
- font-size: 11px;
332
- min-height: 30px;
333
- padding: 5px 8px;
334
- min-width: 50px;
335
  }
 
336
  .items-grid {
337
- flex-direction: column;
338
- overflow-x: hidden;
339
- gap: 6px;
340
- padding: 6px;
341
  }
 
342
  .item-card {
343
- width: 100%;
344
- flex: 0 0 auto;
345
- max-width: 120px;
346
  }
 
347
  .item-image {
348
- height: 80px;
349
  }
 
350
  .item-name {
351
- font-size: 10px;
352
  }
 
353
  .item-field, .item-description {
354
- font-size: 9px;
355
  }
 
356
  .show-button, .add-button {
357
- font-size: 9px;
358
- padding: 3px;
359
- min-width: 35px;
360
  }
 
361
  .options-container {
362
- gap: 3px;
 
 
363
  }
 
364
  .option-button {
365
- font-size: 11px;
366
- padding: 5px 8px;
367
- min-width: 50px;
368
  }
 
369
  .selection-box {
 
 
 
 
 
 
370
  padding: 6px;
371
- gap: 3px;
372
  }
 
373
  .selection-box span {
374
- font-size: 11px;
375
- padding: 2px 6px;
376
  }
 
377
  .selected-item {
378
- font-size: 10px;
379
- padding: 2px 6px;
380
  }
 
381
  .selected-item-image {
382
- width: 20px;
383
- height: 20px;
384
  }
 
385
  .submit-button {
386
- font-size: 11px;
387
- padding: 5px 8px;
388
- min-width: 50px;
389
  }
 
390
  .remove-button {
391
- font-size: 9px;
392
- padding: 2px 5px;
393
  }
 
394
  .manual-input, .order-name-input {
395
- width: 80px;
396
- font-size: 11px;
397
- padding: 3px;
398
  }
 
399
  .quantity-input {
400
- width: 40px;
401
- font-size: 11px;
402
- padding: 3px;
403
  }
404
  }
405
 
406
  @media (min-width: 481px) and (max-width: 768px) {
 
 
 
 
407
  .chat-header {
408
- font-size: 15px;
409
  }
 
410
  .chat-messages {
411
- padding: 4px;
412
  }
 
413
  .bot-message, .user-message {
414
- font-size: 12px;
415
- padding: 7px;
416
  }
 
417
  .chat-input input {
418
- font-size: 12px;
419
- min-height: 35px;
420
  }
 
421
  .chat-input button {
422
- font-size: 12px;
423
- min-height: 35px;
424
- padding: 6px 10px;
425
  }
 
426
  .items-grid {
427
- gap: 8px;
428
- }
429
- .item-card {
430
- flex: 0 0 140px;
431
  }
 
432
  .item-image {
433
- height: 90px;
434
  }
 
435
  .item-name {
436
- font-size: 11px;
437
  }
 
438
  .item-field, .item-description {
439
- font-size: 10px;
440
  }
 
441
  .show-button, .add-button {
442
- font-size: 10px;
443
- padding: 4px;
444
- min-width: 40px;
445
  }
 
446
  .option-button {
447
- font-size: 12px;
448
- padding: 6px 10px;
449
  }
 
450
  .selection-box {
451
- padding: 8px;
452
- gap: 5px;
453
  }
 
454
  .selection-box span {
455
- font-size: 12px;
456
  }
 
457
  .selected-item {
458
- font-size: 11px;
459
  }
 
460
  .selected-item-image {
461
- width: 25px;
462
- height: 25px;
463
  }
 
464
  .submit-button {
465
- font-size: 12px;
466
- padding: 6px 10px;
467
  }
 
468
  .remove-button {
469
- font-size: 10px;
470
- padding: 3px 6px;
471
  }
 
472
  .manual-input, .order-name-input {
473
- width: 100px;
474
- font-size: 12px;
475
  }
 
476
  .quantity-input {
477
- width: 50px;
478
- font-size: 12px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
479
  }
480
  }
 
1
  body {
2
+ font-family: 'Arial', sans-serif;
3
  margin: 0;
4
  padding: 0;
5
  background-color: #f0f2f5;
 
8
 
9
  .chat-container {
10
  width: 100%;
11
+ max-width: 1200px;
12
  height: 100vh;
13
+ margin: 0 auto;
14
  border: 1px solid #ccc;
15
+ border-radius: 8px;
16
  background-color: white;
17
  display: flex;
18
  flex-direction: column;
 
20
  }
21
 
22
  .chat-header {
23
+ background: linear-gradient(45deg, #0288d1, #03a9f4);
24
  color: white;
25
+ padding: 12px;
26
  text-align: center;
27
+ font-size: 1.25rem;
28
  flex-shrink: 0;
29
  }
30
 
31
+ .chat-messages {
32
  flex: 1;
33
  overflow-y: auto;
34
+ padding: 10px;
35
  box-sizing: border-box;
36
  scroll-behavior: smooth;
37
  }
38
 
39
+ .bot-message, .user-message {
40
+ padding: 10px;
41
+ margin: 8px 0;
42
+ border-radius: 8px;
43
+ max-width: 80%;
44
+ word-wrap: break-word;
45
+ font-size: 0.875rem;
46
+ animation: slideIn 0.3s ease;
47
+ }
48
+
49
  .bot-message {
50
  background-color: #e3f2fd;
 
 
 
 
 
 
51
  }
52
 
53
  .user-message {
54
  background-color: #ffebee;
 
 
 
 
55
  margin-left: auto;
56
  text-align: right;
57
+ }
58
+
59
+ @keyframes slideIn {
60
+ from { transform: translateY(20px); opacity: 0; }
61
+ to { transform: translateY(0); opacity: 1; }
62
  }
63
 
64
  .chat-input {
65
  display: flex;
66
+ padding: 10px;
67
  border-top: 1px solid #ccc;
68
  flex-shrink: 0;
 
 
 
69
  background-color: white;
70
  box-sizing: border-box;
71
  }
72
 
73
  .chat-input input {
74
  flex: 1;
75
+ padding: 8px;
76
  border: 1px solid #ccc;
77
+ border-radius: 8px;
78
+ font-size: 0.875rem;
79
+ min-height: 40px;
80
  box-sizing: border-box;
81
  }
82
 
83
  .chat-input button {
84
+ padding: 8px 12px;
85
+ margin-left: 8px;
86
  background-color: #ff8f00;
87
  color: white;
88
  border: none;
89
+ border-radius: 8px;
90
  cursor: pointer;
91
+ font-size: 0.875rem;
92
+ min-height: 40px;
93
+ min-width: 70px;
94
  }
95
 
96
+ .chat-input button:hover {
97
  background-color: #f57c00;
98
  }
99
 
100
  .items-grid {
101
+ display: grid;
102
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
103
+ gap: 12px;
104
+ padding: 12px;
105
+ margin: 8px 0;
106
  background-color: #f9f9f9;
107
+ border-radius: 8px;
 
 
108
  }
109
 
110
  .item-card {
 
111
  background-color: white;
112
  border: 1px solid #ddd;
113
+ border-radius: 8px;
114
+ padding: 12px;
115
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
116
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
117
  }
118
 
119
+ .item-card:hover {
120
+ transform: scale(1.05);
121
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
122
  }
123
 
124
  .item-image {
125
  width: 100%;
126
+ height: 120px;
127
  object-fit: cover;
128
+ border-radius: 8px;
129
+ margin-bottom: 8px;
130
+ loading: lazy;
131
  }
132
 
133
  .item-content {
 
135
  }
136
 
137
  .item-name {
138
+ font-size: 0.875rem;
139
  font-weight: bold;
140
  color: #333;
141
+ margin-bottom: 5px;
142
  }
143
 
144
  .item-field {
145
+ font-size: 0.75rem;
146
+ margin: 3px 0;
147
  color: #555;
148
  }
149
 
 
152
  }
153
 
154
  .item-description {
155
+ font-size: 0.75rem;
156
  margin: 5px 0;
157
  color: #555;
158
  }
159
 
160
  .button-container {
161
  display: flex;
162
+ gap: 8px;
163
+ margin-top: 8px;
164
  }
165
 
166
+ .show-button, .add-button {
167
+ padding: 6px;
 
 
168
  border: none;
169
+ border-radius: 8px;
170
  cursor: pointer;
171
+ font-size: 0.75rem;
172
  flex: 1;
173
+ min-width: 50px;
174
  }
175
 
176
+ .show-button {
177
+ background-color: #0288d1;
178
+ color: white;
179
+ }
180
+
181
+ .show-button:hover {
182
  background-color: #0277bd;
183
  }
184
 
185
  .add-button {
 
186
  background-color: #4caf50;
187
  color: white;
 
 
 
 
 
 
188
  }
189
 
190
+ .add-button:hover {
191
  background-color: #45a049;
192
  }
193
 
194
  .options-container {
195
  display: flex;
196
  flex-wrap: wrap;
197
+ gap: 8px;
198
+ margin: 8px 0;
199
  }
200
 
201
  .option-button {
202
+ padding: 8px 12px;
 
203
  background-color: #7b1fa2;
204
  color: white;
205
  border: none;
206
+ border-radius: 8px;
207
  cursor: pointer;
208
+ font-size: 0.875rem;
209
+ min-width: 70px;
210
  }
211
 
212
  .option-button.green { background-color: #4caf50; }
213
  .option-button.red { background-color: #d32f2f; }
214
  .option-button.gray { background-color: #616161; }
215
+ .option-button:hover { opacity: 0.9; }
216
 
217
  .selection-box {
218
  background-color: #e1f5fe;
219
+ padding: 12px;
220
  border: 1px solid #0288d1;
221
+ border-radius: 8px;
222
+ margin: 8px 0;
223
+ font-size: 0.875rem;
224
  display: flex;
225
  flex-wrap: wrap;
226
  align-items: center;
227
+ gap: 8px;
228
+ position: relative;
229
+ }
230
+
231
+ .selection-box::before {
232
+ content: "Selected Items";
233
+ position: sticky;
234
+ top: 0;
235
+ background: #0288d1;
236
+ color: white;
237
+ padding: 8px;
238
+ border-radius: 8px 8px 0 0;
239
+ font-size: 0.875rem;
240
+ width: 100%;
241
+ box-sizing: border-box;
242
  }
243
 
244
  .selection-box span {
245
  background-color: #bbdefb;
246
+ padding: 4px 10px;
247
+ border-radius: 8px;
248
+ font-size: 0.875rem;
249
  }
250
 
251
  .selected-item {
252
  display: flex;
253
  align-items: center;
254
  background-color: #bbdefb;
255
+ padding: 4px 10px;
256
+ border-radius: 8px;
257
+ font-size: 0.75rem;
258
  }
259
 
260
  .selected-item-image {
261
+ width: 30px;
262
+ height: 30px;
263
  object-fit: cover;
264
+ border-radius: 8px;
265
+ margin-right: 8px;
266
+ loading: lazy;
267
  }
268
 
269
  .submit-button {
270
+ padding: 8px 12px;
271
  background-color: #0288d1;
272
  color: white;
273
  border: none;
274
+ border-radius: 8px;
275
  cursor: pointer;
276
+ font-size: 0.875rem;
277
+ min-width: 70px;
278
  }
279
 
280
+ .submit-button:hover {
281
  background-color: #0277bd;
282
  }
283
 
284
  .remove-button {
285
+ padding: 4px 8px;
286
+ margin-left: 8px;
287
  background-color: #d32f2f;
288
  color: white;
289
  border: none;
290
+ border-radius: 8px;
291
  cursor: pointer;
292
+ font-size: 0.75rem;
293
  }
294
 
295
+ .remove-button:hover {
296
  background-color: #b71c1c;
297
  }
298
 
299
+ .manual-input, .order-name-input {
300
+ padding: 6px;
301
+ border: 1px solid bounds;
302
+ border-radius: 8px;
303
+ font-size: 0.875rem;
304
+ width: 120px;
305
  }
306
 
307
  .quantity-input {
308
+ padding: 6px;
309
  border: 1px solid #0288d1;
310
+ border-radius: 8px;
311
+ font-size: 0.875rem;
312
+ width: 60px;
313
  }
314
 
315
+ .spinner {
316
+ border: 4px solid #0288d1;
317
+ border-top: 4px solid transparent;
318
+ border-radius: 50%;
319
+ width: 24px;
320
+ height: 24px;
321
+ animation: spin 1s linear infinite;
322
+ margin: 10px auto;
323
+ }
324
+
325
+ @keyframes spin {
326
+ to { transform: rotate(360deg); }
327
+ }
328
+
329
+ .toast {
330
+ position: fixed;
331
+ bottom: 20px;
332
+ right: 20px;
333
+ background: #4caf50;
334
+ color: white;
335
+ padding: 10px;
336
+ border-radius: 8px;
337
+ font-size: 0.875rem;
338
+ animation: fadeInOut 3s ease forwards;
339
+ z-index: 1000;
340
+ }
341
+
342
+ @keyframes fadeInOut {
343
+ 0% { opacity: 0; transform: translateY(20px); }
344
+ 10%, 90% { opacity: 1; transform: translateY(0); }
345
+ 100% { opacity: 0; transform: translateY(20px); }
346
  }
347
 
348
  @media (max-width: 480px) {
349
+ .chat-container {
350
+ border-radius: 0;
351
+ height: calc(100vh - env(safe-area-inset-bottom));
352
+ }
353
+
354
  .chat-header {
355
+ font-size: 1rem;
356
+ padding: 8px;
357
  }
358
+
359
  .chat-messages {
360
+ padding: 6px;
361
  }
362
+
363
  .bot-message, .user-message {
364
+ font-size: 0.75rem;
365
+ padding: 8px;
366
+ margin: 6px 0;
367
  }
368
+
369
  .chat-input input {
370
+ font-size: 0.75rem;
371
+ min-height: 36px;
372
+ padding: 6px;
373
  }
374
+
375
  .chat-input button {
376
+ font-size: 0.75rem;
377
+ min-height: 36px;
378
+ padding: 6px 10px;
379
+ min-width: 60px;
380
  }
381
+
382
  .items-grid {
383
+ grid-template-columns: 1fr;
384
+ gap: 8px;
385
+ padding: 8px;
 
386
  }
387
+
388
  .item-card {
389
+ max-width: 100%;
 
 
390
  }
391
+
392
  .item-image {
393
+ height: 100px;
394
  }
395
+
396
  .item-name {
397
+ font-size: 0.75rem;
398
  }
399
+
400
  .item-field, .item-description {
401
+ font-size: 0.625rem;
402
  }
403
+
404
  .show-button, .add-button {
405
+ font-size: 0.625rem;
406
+ padding: 4px;
407
+ min-width: 40px;
408
  }
409
+
410
  .options-container {
411
+ flex-direction: column;
412
+ align-items: stretch;
413
+ gap: 6px;
414
  }
415
+
416
  .option-button {
417
+ font-size: 0.75rem;
418
+ padding: 6px 10px;
419
+ min-width: 100%;
420
  }
421
+
422
  .selection-box {
423
+ padding: 8px;
424
+ gap: 6px;
425
+ }
426
+
427
+ .selection-box::before {
428
+ font-size: 0.75rem;
429
  padding: 6px;
 
430
  }
431
+
432
  .selection-box span {
433
+ font-size: 0.75rem;
434
+ padding: 3px 8px;
435
  }
436
+
437
  .selected-item {
438
+ font-size: 0.625rem;
439
+ padding: 3px 8px;
440
  }
441
+
442
  .selected-item-image {
443
+ width: 24px;
444
+ height: 24px;
445
  }
446
+
447
  .submit-button {
448
+ font-size: 0.75rem;
449
+ padding: 6px 10px;
450
+ min-width: 60px;
451
  }
452
+
453
  .remove-button {
454
+ font-size: 0.625rem;
455
+ padding: 3px 6px;
456
  }
457
+
458
  .manual-input, .order-name-input {
459
+ width: 100px;
460
+ font-size: 0.75rem;
461
+ padding: 4px;
462
  }
463
+
464
  .quantity-input {
465
+ width: 50px;
466
+ font-size: 0.75rem;
467
+ padding: 4px;
468
  }
469
  }
470
 
471
  @media (min-width: 481px) and (max-width: 768px) {
472
+ .chat-container {
473
+ max-width: 100%;
474
+ }
475
+
476
  .chat-header {
477
+ font-size: 1.125rem;
478
  }
479
+
480
  .chat-messages {
481
+ padding: 8px;
482
  }
483
+
484
  .bot-message, .user-message {
485
+ font-size: 0.875rem;
486
+ padding: 9px;
487
  }
488
+
489
  .chat-input input {
490
+ font-size: 0.875rem;
491
+ min-height: 38px;
492
  }
493
+
494
  .chat-input button {
495
+ font-size: 0.875rem;
496
+ min-height: 38px;
497
+ padding: 7px 11px;
498
  }
499
+
500
  .items-grid {
501
+ grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
502
+ gap: 10px;
 
 
503
  }
504
+
505
  .item-image {
506
+ height: 110px;
507
  }
508
+
509
  .item-name {
510
+ font-size: 0.875rem;
511
  }
512
+
513
  .item-field, .item-description {
514
+ font-size: 0.75rem;
515
  }
516
+
517
  .show-button, .add-button {
518
+ font-size: 0.75rem;
519
+ padding: 5px;
520
+ min-width: 45px;
521
  }
522
+
523
  .option-button {
524
+ font-size: 0.875rem;
525
+ padding: 7px 11px;
526
  }
527
+
528
  .selection-box {
529
+ padding: 10px;
530
+ gap: 7px;
531
  }
532
+
533
  .selection-box span {
534
+ font-size: 0.875rem;
535
  }
536
+
537
  .selected-item {
538
+ font-size: 0.75rem;
539
  }
540
+
541
  .selected-item-image {
542
+ width: 28px;
543
+ height: 28px;
544
  }
545
+
546
  .submit-button {
547
+ font-size: 0.875rem;
548
+ padding: 7px 11px;
549
  }
550
+
551
  .remove-button {
552
+ font-size: 0.75rem;
553
+ padding: 4px 7px;
554
  }
555
+
556
  .manual-input, .order-name-input {
557
+ width: 110px;
558
+ font-size: 0.875rem;
559
  }
560
+
561
  .quantity-input {
562
+ width: 55px;
563
+ font-size: 0.875rem;
564
+ }
565
+ }
566
+
567
+ @media (min-width: 769px) {
568
+ .chat-container {
569
+ display: grid;
570
+ grid-template-columns: 1fr 1fr;
571
+ gap: 10px;
572
+ }
573
+
574
+ .chat-messages, .chat-input {
575
+ grid-column: 1 / 2;
576
+ }
577
+
578
+ .suggestions-list, .ingredients-list {
579
+ grid-column: 2 / 3;
580
+ }
581
+
582
+ .selection-box {
583
+ grid-column: 2 / 3;
584
+ grid-row: 1 / 3;
585
  }
586
  }