DeadPool1236 commited on
Commit
ef0c5a3
·
verified ·
1 Parent(s): 11401ee

Delete styles.css

Browse files
Files changed (1) hide show
  1. styles.css +0 -1344
styles.css DELETED
@@ -1,1344 +0,0 @@
1
- :root {
2
- --primary-pink: #ff6b93;
3
- --primary-pink-light: #ff8fa9;
4
- --primary-pink-lighter: #ffb6c8;
5
- --primary-pink-lightest: #ffe8ee;
6
- --secondary-pink: #f8c9d4;
7
- --accent-pink: #ff4d7a;
8
- --white: #ffffff;
9
- --white-soft: #fefefe;
10
- --white-softer: #fafafa;
11
- --gray-light: #f5f5f5;
12
- --gray-medium: #e0e0e0;
13
- --gray-dark: #666666;
14
- --text-dark: #333333;
15
- --text-secondary: #666666;
16
- --shadow-soft: 0 8px 32px rgba(255, 107, 147, 0.1);
17
- --shadow-medium: 0 15px 35px rgba(255, 107, 147, 0.15);
18
- --shadow-strong: 0 20px 50px rgba(255, 107, 147, 0.2);
19
- --border-radius: 24px;
20
- --border-radius-small: 16px;
21
- --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
22
- --transition-fast: all 0.2s ease;
23
- }
24
-
25
- * {
26
- margin: 0;
27
- padding: 0;
28
- box-sizing: border-box;
29
- }
30
-
31
- body {
32
- font-family: 'Poppins', sans-serif;
33
- background: linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
34
- color: var(--text-dark);
35
- min-height: 100vh;
36
- overflow-x: hidden;
37
- position: relative;
38
- }
39
-
40
- .floating-elements {
41
- position: fixed;
42
- top: 0;
43
- left: 0;
44
- width: 100%;
45
- height: 100%;
46
- z-index: -1;
47
- overflow: hidden;
48
- }
49
-
50
- .floating-element {
51
- position: absolute;
52
- border-radius: 50%;
53
- background: linear-gradient(135deg, var(--primary-pink-lightest), var(--primary-pink-lighter));
54
- opacity: 0.4;
55
- animation: float 20s infinite linear;
56
- }
57
-
58
- .floating-element.el-1 {
59
- width: 200px;
60
- height: 200px;
61
- top: 10%;
62
- left: 5%;
63
- animation-duration: 25s;
64
- }
65
-
66
- .floating-element.el-2 {
67
- width: 150px;
68
- height: 150px;
69
- top: 60%;
70
- right: 10%;
71
- animation-duration: 20s;
72
- animation-direction: reverse;
73
- }
74
-
75
- .floating-element.el-3 {
76
- width: 100px;
77
- height: 100px;
78
- bottom: 20%;
79
- left: 15%;
80
- animation-duration: 30s;
81
- }
82
-
83
- .floating-element.el-4 {
84
- width: 120px;
85
- height: 120px;
86
- top: 20%;
87
- right: 20%;
88
- animation-duration: 35s;
89
- animation-direction: reverse;
90
- }
91
-
92
- @keyframes float {
93
- 0% {
94
- transform: translateY(0) rotate(0deg);
95
- }
96
- 33% {
97
- transform: translateY(-30px) rotate(120deg);
98
- }
99
- 66% {
100
- transform: translateY(20px) rotate(240deg);
101
- }
102
- 100% {
103
- transform: translateY(0) rotate(360deg);
104
- }
105
- }
106
-
107
- .container {
108
- max-width: 1400px;
109
- margin: 0 auto;
110
- padding: 2rem;
111
- width: 100%;
112
- }
113
-
114
- .header {
115
- text-align: center;
116
- margin-bottom: 3rem;
117
- animation: fadeInUp 1s ease-out;
118
- }
119
-
120
- .header-content {
121
- max-width: 800px;
122
- margin: 0 auto;
123
- width: 100%;
124
- }
125
-
126
- .logo-container {
127
- display: flex;
128
- align-items: center;
129
- justify-content: center;
130
- gap: 1rem;
131
- margin-bottom: 1rem;
132
- flex-wrap: wrap;
133
- }
134
-
135
- .logo {
136
- width: 70px;
137
- height: 70px;
138
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
139
- border-radius: 50%;
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- font-size: 2rem;
144
- color: var(--white);
145
- box-shadow: var(--shadow-strong);
146
- animation: pulse 2s infinite;
147
- flex-shrink: 0;
148
- }
149
-
150
- @keyframes pulse {
151
- 0% {
152
- transform: scale(1);
153
- box-shadow: var(--shadow-strong);
154
- }
155
- 50% {
156
- transform: scale(1.05);
157
- box-shadow: 0 0 30px rgba(255, 107, 147, 0.4);
158
- }
159
- 100% {
160
- transform: scale(1);
161
- box-shadow: var(--shadow-strong);
162
- }
163
- }
164
-
165
- .title {
166
- font-family: 'Playfair Display', serif;
167
- font-size: clamp(2.5rem, 5vw, 3.5rem);
168
- font-weight: 600;
169
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
170
- -webkit-background-clip: text;
171
- -webkit-text-fill-color: transparent;
172
- background-clip: text;
173
- margin-bottom: 0.5rem;
174
- line-height: 1.2;
175
- }
176
-
177
- .subtitle {
178
- font-size: clamp(1.1rem, 2.5vw, 1.4rem);
179
- color: var(--text-secondary);
180
- margin-bottom: 1rem;
181
- font-weight: 400;
182
- }
183
-
184
- .compassion-message {
185
- font-size: clamp(0.9rem, 2vw, 1.1rem);
186
- color: var(--text-secondary);
187
- line-height: 1.6;
188
- max-width: 600px;
189
- margin: 0 auto;
190
- }
191
-
192
- .main-content {
193
- display: grid;
194
- grid-template-columns: 1fr 1.5fr;
195
- gap: 2.5rem;
196
- animation: fadeInUp 1s ease-out 0.3s both;
197
- width: 100%;
198
- }
199
-
200
- @keyframes fadeInUp {
201
- from {
202
- opacity: 0;
203
- transform: translateY(30px);
204
- }
205
- to {
206
- opacity: 1;
207
- transform: translateY(0);
208
- }
209
- }
210
-
211
- .quick-questions {
212
- animation: slideInLeft 1s ease-out 0.5s both;
213
- width: 100%;
214
- }
215
-
216
- @keyframes slideInLeft {
217
- from {
218
- opacity: 0;
219
- transform: translateX(-30px);
220
- }
221
- to {
222
- opacity: 1;
223
- transform: translateX(0);
224
- }
225
- }
226
-
227
- .section-header {
228
- margin-bottom: 2rem;
229
- }
230
-
231
- .section-title {
232
- font-family: 'Playfair Display', serif;
233
- font-size: clamp(1.5rem, 3vw, 1.8rem);
234
- font-weight: 600;
235
- color: var(--text-dark);
236
- margin-bottom: 0.5rem;
237
- }
238
-
239
- .decoration-line {
240
- width: 60px;
241
- height: 4px;
242
- background: linear-gradient(to right, var(--primary-pink), var(--accent-pink));
243
- border-radius: 2px;
244
- }
245
-
246
- .tabs-container {
247
- margin-top: 1rem;
248
- width: 100%;
249
- }
250
-
251
- .tabs {
252
- display: flex;
253
- background: var(--white);
254
- border-radius: 12px;
255
- padding: 0.5rem;
256
- margin-bottom: 1.5rem;
257
- box-shadow: var(--shadow-soft);
258
- width: 100%;
259
- }
260
-
261
- .tab-btn {
262
- flex: 1;
263
- padding: 0.75rem 1rem;
264
- border: none;
265
- background: transparent;
266
- color: var(--text-secondary);
267
- border-radius: 8px;
268
- cursor: pointer;
269
- transition: var(--transition);
270
- font-weight: 500;
271
- font-size: clamp(0.8rem, 1.5vw, 0.9rem);
272
- min-width: 0;
273
- white-space: nowrap;
274
- overflow: hidden;
275
- text-overflow: ellipsis;
276
- }
277
-
278
- .tab-btn.active {
279
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
280
- color: var(--white);
281
- box-shadow: var(--shadow-soft);
282
- }
283
-
284
- .tab-btn:hover:not(.active) {
285
- background: var(--primary-pink-lightest);
286
- color: var(--primary-pink);
287
- }
288
-
289
- .tab-content {
290
- display: none;
291
- }
292
-
293
- .tab-content.active {
294
- display: block;
295
- animation: fadeIn 0.5s ease-in-out;
296
- }
297
-
298
- @keyframes fadeIn {
299
- from { opacity: 0; transform: translateY(10px); }
300
- to { opacity: 1; transform: translateY(0); }
301
- }
302
-
303
- .questions-grid {
304
- display: flex;
305
- flex-direction: column;
306
- gap: 1rem;
307
- width: 100%;
308
- }
309
-
310
- .question-card {
311
- background: var(--white);
312
- border: none;
313
- border-radius: var(--border-radius-small);
314
- padding: 1.5rem;
315
- display: flex;
316
- align-items: center;
317
- gap: 1rem;
318
- cursor: pointer;
319
- transition: var(--transition);
320
- box-shadow: var(--shadow-soft);
321
- text-align: left;
322
- position: relative;
323
- overflow: hidden;
324
- width: 100%;
325
- }
326
-
327
- .question-card::before {
328
- content: '';
329
- position: absolute;
330
- top: 0;
331
- left: -100%;
332
- width: 100%;
333
- height: 100%;
334
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
335
- transition: var(--transition);
336
- }
337
-
338
- .question-card:hover::before {
339
- left: 100%;
340
- }
341
-
342
- .question-card:hover {
343
- transform: translateY(-5px);
344
- box-shadow: var(--shadow-medium);
345
- }
346
-
347
- .card-icon {
348
- width: 50px;
349
- height: 50px;
350
- background: linear-gradient(135deg, var(--primary-pink-lightest), var(--secondary-pink));
351
- border-radius: 12px;
352
- display: flex;
353
- align-items: center;
354
- justify-content: center;
355
- font-size: 1.2rem;
356
- color: var(--primary-pink);
357
- flex-shrink: 0;
358
- transition: var(--transition);
359
- }
360
-
361
- .question-card:hover .card-icon {
362
- transform: scale(1.1);
363
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
364
- color: var(--white);
365
- }
366
-
367
- .card-content {
368
- flex: 1;
369
- min-width: 0;
370
- }
371
-
372
- .card-content h3 {
373
- font-size: clamp(0.9rem, 1.5vw, 1rem);
374
- font-weight: 600;
375
- color: var(--text-dark);
376
- margin-bottom: 0.25rem;
377
- line-height: 1.4;
378
- word-wrap: break-word;
379
- }
380
-
381
- .card-arrow {
382
- color: var(--gray-medium);
383
- transition: var(--transition);
384
- flex-shrink: 0;
385
- }
386
-
387
- .question-card:hover .card-arrow {
388
- color: var(--primary-pink);
389
- transform: translateX(5px);
390
- }
391
-
392
- .predefined-card {
393
- border-left: 4px solid var(--primary-pink);
394
- background: linear-gradient(135deg, var(--white), var(--white-soft));
395
- }
396
-
397
- .card-icon.symptoms {
398
- background: linear-gradient(135deg, #4CAF50, #45a049) !important;
399
- color: white !important;
400
- }
401
-
402
- .card-icon.pain {
403
- background: linear-gradient(135deg, #FF6B6B, #FF5252) !important;
404
- color: white !important;
405
- }
406
-
407
- .card-icon.emotional {
408
- background: linear-gradient(135deg, #FFD93D, #FFCD38) !important;
409
- color: white !important;
410
- }
411
-
412
- .card-icon.exercise {
413
- background: linear-gradient(135deg, #6BCF7F, #4CAF50) !important;
414
- color: white !important;
415
- }
416
-
417
- .card-icon.nutrition {
418
- background: linear-gradient(135deg, #A78BFA, #8B5CF6) !important;
419
- color: white !important;
420
- }
421
-
422
- .card-icon.general {
423
- background: linear-gradient(135deg, #4FC3F7, #29B6F6) !important;
424
- color: white !important;
425
- }
426
-
427
- /* ===== OPTIMIZED URDU LANGUAGE STYLING - MATCHING ENGLISH SIZE ===== */
428
- /* ===== OPTIMIZED URDU LANGUAGE STYLING - MATCHING ENGLISH SIZE ===== */
429
- .urdu-text {
430
- font-family: 'Noto Nastaliq Urdu', 'Noto Naskh Arabic', 'Scheherazade New', 'Lateef', 'Amiri', serif !important;
431
- direction: rtl !important;
432
- text-align: right !important;
433
- line-height: 1.8 !important;
434
- font-size: 1em !important;
435
- font-weight: 400 !important;
436
- letter-spacing: 0 !important;
437
- word-spacing: normal !important;
438
- }
439
-
440
- /* Urdu Chat Messages */
441
- .message.urdu-text .message-content p {
442
- font-family: 'Noto Nastaliq Urdu', 'Scheherazade New', 'Lateef', serif !important;
443
- font-size: 1em !important;
444
- line-height: 2.0 !important;
445
- text-align: right !important;
446
- direction: rtl !important;
447
- margin: 0 !important;
448
- padding: 0 !important;
449
- font-feature-settings: "kern" 1, "liga" 1, "clig" 1, "calt" 1;
450
- }
451
-
452
- /* Urdu Input Field */
453
- #userInput[style*="direction: rtl"],
454
- #userInput[style*="text-align: right"] {
455
- font-family: 'Noto Nastaliq Urdu', 'Noto Naskh Arabic', 'Scheherazade New', 'Segoe UI', Tahoma, sans-serif !important;
456
- font-size: 1em !important;
457
- direction: rtl !important;
458
- text-align: right !important;
459
- line-height: 1.8 !important;
460
- }
461
-
462
- /* Urdu Questions Section */
463
- #urdu-tab .questions-grid,
464
- .urdu-questions .question-card {
465
- font-family: 'Noto Nastaliq Urdu', 'Scheherazade New', 'Lateef', Tahoma, sans-serif !important;
466
- font-size: 1em !important;
467
- line-height: 1.8 !important;
468
- direction: rtl !important;
469
- text-align: right !important;
470
- }
471
-
472
- /* Urdu Empty States */
473
- #urdu-tab .empty-state {
474
- font-family: 'Noto Nastaliq Urdu', 'Scheherazade New', 'Lateef', Tahoma, sans-serif !important;
475
- direction: rtl !important;
476
- font-size: 1em !important;
477
- line-height: 1.8 !important;
478
- }
479
-
480
- /* Urdu Language Badge */
481
- .language-badge {
482
- font-family: 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif !important;
483
- font-size: 0.75em !important;
484
- font-weight: 600 !important;
485
- background: linear-gradient(135deg, #667eea, #764ba2) !important;
486
- color: white !important;
487
- padding: 4px 10px !important;
488
- border-radius: 12px !important;
489
- margin-top: 8px !important;
490
- display: inline-block !important;
491
- }
492
-
493
- /* Enhanced Text Rendering for Urdu */
494
- .urdu-text,
495
- [lang="ur"],
496
- [dir="rtl"] {
497
- text-rendering: optimizeLegibility !important;
498
- -webkit-font-smoothing: antialiased !important;
499
- -moz-osx-font-smoothing: grayscale !important;
500
- font-feature-settings: "kern" 1, "liga" 1, "clig" 1, "calt" 1;
501
- }
502
-
503
- /* Urdu Tab Button */
504
- .tab-btn[data-tab="urdu"] {
505
- font-family: 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif !important;
506
- font-weight: 600 !important;
507
- font-size: 0.9em !important;
508
- }
509
-
510
- /* Urdu Text Card Specific */
511
- .urdu-text .card-content {
512
- text-align: right !important;
513
- direction: rtl !important;
514
- }
515
-
516
- .urdu-text.question-card {
517
- border-left: none !important;
518
- border-right: 4px solid var(--primary-pink) !important;
519
- }
520
-
521
- .urdu-text.question-card:hover {
522
- transform: translateX(-5px) translateY(-5px) !important;
523
- }
524
-
525
- .chat-section {
526
- animation: slideInRight 1s ease-out 0.5s both;
527
- width: 100%;
528
- }
529
-
530
- @keyframes slideInRight {
531
- from {
532
- opacity: 0;
533
- transform: translateX(30px);
534
- }
535
- to {
536
- opacity: 1;
537
- transform: translateX(0);
538
- }
539
- }
540
-
541
- .chat-container {
542
- background: var(--white);
543
- border-radius: var(--border-radius);
544
- box-shadow: var(--shadow-strong);
545
- overflow: hidden;
546
- height: 700px;
547
- display: flex;
548
- flex-direction: column;
549
- position: relative;
550
- width: 100%;
551
- }
552
-
553
- .chat-header {
554
- background: linear-gradient(135deg, var(--white-soft), var(--white-softer));
555
- padding: 1.5rem 2rem;
556
- display: flex;
557
- justify-content: space-between;
558
- align-items: center;
559
- border-bottom: 1px solid var(--gray-light);
560
- flex-wrap: wrap;
561
- gap: 1rem;
562
- }
563
-
564
- .chat-profile {
565
- display: flex;
566
- align-items: center;
567
- gap: 1rem;
568
- flex: 1;
569
- min-width: 0;
570
- }
571
-
572
- .profile-avatar {
573
- position: relative;
574
- width: 60px;
575
- height: 60px;
576
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
577
- border-radius: 50%;
578
- display: flex;
579
- align-items: center;
580
- justify-content: center;
581
- font-size: 1.5rem;
582
- color: var(--white);
583
- box-shadow: var(--shadow-soft);
584
- flex-shrink: 0;
585
- }
586
-
587
- .online-indicator {
588
- position: absolute;
589
- bottom: 4px;
590
- right: 4px;
591
- width: 14px;
592
- height: 14px;
593
- background: #4CAF50;
594
- border: 2px solid var(--white);
595
- border-radius: 50%;
596
- }
597
-
598
- .profile-info {
599
- min-width: 0;
600
- }
601
-
602
- .profile-info h3 {
603
- font-size: clamp(1.1rem, 2vw, 1.3rem);
604
- font-weight: 600;
605
- color: var(--text-dark);
606
- white-space: nowrap;
607
- overflow: hidden;
608
- text-overflow: ellipsis;
609
- }
610
-
611
- .profile-info p {
612
- color: var(--text-secondary);
613
- font-size: clamp(0.8rem, 1.5vw, 0.9rem);
614
- white-space: nowrap;
615
- overflow: hidden;
616
- text-overflow: ellipsis;
617
- }
618
-
619
- .chat-stats {
620
- display: flex;
621
- gap: 1.5rem;
622
- flex-shrink: 0;
623
- }
624
-
625
- .stat {
626
- text-align: center;
627
- }
628
-
629
- .stat-number {
630
- display: block;
631
- font-size: clamp(1rem, 1.5vw, 1.1rem);
632
- font-weight: 600;
633
- color: var(--primary-pink);
634
- }
635
-
636
- .stat-label {
637
- font-size: clamp(0.7rem, 1.2vw, 0.8rem);
638
- color: var(--text-secondary);
639
- }
640
-
641
- .chat-messages {
642
- flex: 1;
643
- overflow-y: auto;
644
- padding: 2rem;
645
- display: flex;
646
- flex-direction: column;
647
- gap: 1.5rem;
648
- background: var(--white-softer);
649
- width: 100%;
650
- }
651
-
652
- .message {
653
- display: flex;
654
- gap: 1rem;
655
- max-width: 85%;
656
- animation: messageAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
657
- width: fit-content;
658
- }
659
-
660
- @keyframes messageAppear {
661
- from {
662
- opacity: 0;
663
- transform: translateY(20px) scale(0.95);
664
- }
665
- to {
666
- opacity: 1;
667
- transform: translateY(0) scale(1);
668
- }
669
- }
670
-
671
- .user-message {
672
- align-self: flex-end;
673
- flex-direction: row-reverse;
674
- }
675
-
676
- .system-message {
677
- align-self: flex-start;
678
- }
679
-
680
- .message-avatar {
681
- width: 45px;
682
- height: 45px;
683
- border-radius: 50%;
684
- display: flex;
685
- align-items: center;
686
- justify-content: center;
687
- font-size: 1.1rem;
688
- flex-shrink: 0;
689
- margin-top: 0.5rem;
690
- }
691
-
692
- .user-message .message-avatar {
693
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
694
- color: var(--white);
695
- }
696
-
697
- .system-message .message-avatar {
698
- background: linear-gradient(135deg, var(--primary-pink-lightest), var(--secondary-pink));
699
- color: var(--primary-pink);
700
- }
701
-
702
- .message-content {
703
- background: var(--white);
704
- padding: 1.2rem 1.5rem;
705
- border-radius: 20px;
706
- box-shadow: var(--shadow-soft);
707
- position: relative;
708
- transition: var(--transition-fast);
709
- max-width: 100%;
710
- word-wrap: break-word;
711
- }
712
-
713
- .user-message .message-content {
714
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
715
- color: var(--white);
716
- border-bottom-right-radius: 5px;
717
- }
718
-
719
- .system-message .message-content {
720
- background: var(--white);
721
- color: var(--text-dark);
722
- border-bottom-left-radius: 5px;
723
- }
724
-
725
- .message-content::before {
726
- content: '';
727
- position: absolute;
728
- bottom: 0;
729
- width: 15px;
730
- height: 15px;
731
- }
732
-
733
- .user-message .message-content::before {
734
- right: -8px;
735
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
736
- clip-path: polygon(0 0, 100% 0, 100% 100%);
737
- }
738
-
739
- .system-message .message-content::before {
740
- left: -8px;
741
- background: var(--white);
742
- clip-path: polygon(0 0, 100% 0, 0 100%);
743
- }
744
-
745
- .message-content p {
746
- line-height: 1.6;
747
- margin-bottom: 0.5rem;
748
- word-wrap: break-word;
749
- }
750
-
751
- .message-time {
752
- font-size: 0.75rem;
753
- opacity: 0.7;
754
- }
755
-
756
- .typing-indicator {
757
- display: none;
758
- align-items: center;
759
- gap: 1rem;
760
- padding: 1rem 2rem;
761
- background: var(--white-softer);
762
- border-top: 1px solid var(--gray-light);
763
- width: 100%;
764
- }
765
-
766
- .typing-dots {
767
- display: flex;
768
- gap: 4px;
769
- }
770
-
771
- .typing-dots span {
772
- width: 8px;
773
- height: 8px;
774
- background: var(--primary-pink);
775
- border-radius: 50%;
776
- animation: typing 1.4s infinite ease-in-out;
777
- }
778
-
779
- .typing-dots span:nth-child(1) { animation-delay: -0.32s; }
780
- .typing-dots span:nth-child(2) { animation-delay: -0.16s; }
781
-
782
- @keyframes typing {
783
- 0%, 80%, 100% {
784
- transform: scale(0.8);
785
- opacity: 0.5;
786
- }
787
- 40% {
788
- transform: scale(1);
789
- opacity: 1;
790
- }
791
- }
792
-
793
- .typing-indicator p {
794
- color: var(--text-secondary);
795
- font-size: clamp(0.8rem, 1.5vw, 0.9rem);
796
- }
797
-
798
- .chat-input-container {
799
- padding: 1.5rem 2rem;
800
- border-top: 1px solid var(--gray-light);
801
- background: var(--white);
802
- width: 100%;
803
- }
804
-
805
- .input-wrapper {
806
- display: flex;
807
- gap: 1rem;
808
- margin-bottom: 0.5rem;
809
- width: 100%;
810
- }
811
-
812
- #userInput {
813
- flex: 1;
814
- border: none;
815
- outline: none;
816
- padding: 1.2rem 1.5rem;
817
- font-size: clamp(0.9rem, 1.5vw, 1rem);
818
- background: var(--white-softer);
819
- border-radius: 50px;
820
- box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
821
- transition: var(--transition);
822
- border: 2px solid transparent;
823
- min-width: 0;
824
- }
825
-
826
- #userInput:focus {
827
- border-color: var(--primary-pink-light);
828
- box-shadow: 0 0 0 3px rgba(255, 107, 147, 0.1), inset 0 2px 10px rgba(0, 0, 0, 0.05);
829
- }
830
-
831
- .send-button {
832
- display: flex;
833
- align-items: center;
834
- gap: 0.5rem;
835
- padding: 1.2rem 1.8rem;
836
- background: linear-gradient(135deg, var(--primary-pink), var(--accent-pink));
837
- color: var(--white);
838
- border: none;
839
- border-radius: 50px;
840
- cursor: pointer;
841
- transition: var(--transition);
842
- font-weight: 500;
843
- box-shadow: var(--shadow-soft);
844
- flex-shrink: 0;
845
- }
846
-
847
- .send-button:hover {
848
- transform: translateY(-2px);
849
- box-shadow: var(--shadow-medium);
850
- }
851
-
852
- .send-button:active {
853
- transform: translateY(0);
854
- }
855
-
856
- .voice-button {
857
- display: flex;
858
- align-items: center;
859
- justify-content: center;
860
- padding: 1.2rem 1.4rem;
861
- background: linear-gradient(135deg, var(--primary-pink-lightest), var(--secondary-pink));
862
- color: var(--primary-pink);
863
- border: none;
864
- border-radius: 50%;
865
- cursor: pointer;
866
- transition: var(--transition);
867
- box-shadow: var(--shadow-soft);
868
- }
869
-
870
- .voice-button.recording {
871
- background: linear-gradient(135deg, #ff4d7a, #ff6b93);
872
- color: white;
873
- animation: pulse 1s infinite;
874
- }
875
-
876
- .voice-button:hover {
877
- transform: scale(1.1);
878
- }
879
-
880
- .input-hint {
881
- display: flex;
882
- align-items: center;
883
- gap: 0.5rem;
884
- font-size: clamp(0.7rem, 1.2vw, 0.8rem);
885
- color: var(--text-secondary);
886
- padding-left: 1rem;
887
- flex-wrap: wrap;
888
- }
889
-
890
- .input-hint i {
891
- color: var(--primary-pink);
892
- }
893
-
894
- .chat-messages::-webkit-scrollbar {
895
- width: 6px;
896
- }
897
-
898
- .chat-messages::-webkit-scrollbar-track {
899
- background: rgba(0, 0, 0, 0.05);
900
- border-radius: 3px;
901
- }
902
-
903
- .chat-messages::-webkit-scrollbar-thumb {
904
- background: var(--primary-pink-light);
905
- border-radius: 3px;
906
- }
907
-
908
- .chat-messages::-webkit-scrollbar-thumb:hover {
909
- background: var(--primary-pink);
910
- }
911
-
912
- .empty-state {
913
- text-align: center;
914
- padding: 3rem 2rem;
915
- color: var(--text-secondary);
916
- width: 100%;
917
- }
918
-
919
- .empty-state i {
920
- font-size: clamp(2.5rem, 5vw, 3rem);
921
- margin-bottom: 1rem;
922
- color: var(--primary-pink-light);
923
- }
924
-
925
- .empty-state p {
926
- font-size: clamp(0.9rem, 1.5vw, 1rem);
927
- line-height: 1.5;
928
- }
929
-
930
- #activeLanguage {
931
- color: var(--primary-pink);
932
- font-weight: 600;
933
- }
934
-
935
- #currentLanguageDisplay {
936
- color: var(--primary-pink);
937
- font-weight: 600;
938
- }
939
-
940
- .audio-message {
941
- margin: 10px 0;
942
- }
943
-
944
- .audio-message-container {
945
- background: #f8f9fa;
946
- border-radius: 18px;
947
- padding: 12px 16px;
948
- max-width: 280px;
949
- border: 1px solid #e9ecef;
950
- }
951
-
952
- .user-audio .audio-message-container {
953
- background: #007bff;
954
- color: white;
955
- }
956
-
957
- .audio-player-wrapper {
958
- display: flex;
959
- align-items: center;
960
- gap: 12px;
961
- }
962
-
963
- .voice-note-player {
964
- flex: 1;
965
- height: 32px;
966
- border-radius: 16px;
967
- background: white;
968
- border: 1px solid #ddd;
969
- }
970
-
971
- .user-audio .voice-note-player {
972
- background: #0056b3;
973
- border-color: #004085;
974
- }
975
-
976
- .audio-visualizer {
977
- display: flex;
978
- align-items: center;
979
- gap: 2px;
980
- height: 20px;
981
- }
982
-
983
- .audio-wave {
984
- width: 3px;
985
- height: 8px;
986
- background: #6c757d;
987
- border-radius: 2px;
988
- transition: all 0.3s ease;
989
- }
990
-
991
- .audio-visualizer.playing .audio-wave {
992
- background: #007bff;
993
- }
994
-
995
- .user-audio .audio-wave {
996
- background: rgba(255, 255, 255, 0.6);
997
- }
998
-
999
- .user-audio .audio-visualizer.playing .audio-wave {
1000
- background: white;
1001
- }
1002
-
1003
- .audio-duration {
1004
- font-size: 11px;
1005
- color: #6c757d;
1006
- margin-top: 4px;
1007
- text-align: center;
1008
- }
1009
-
1010
- .user-audio .audio-duration {
1011
- color: rgba(255, 255, 255, 0.8);
1012
- }
1013
-
1014
- @keyframes pulse {
1015
- 0% {
1016
- height: 8px;
1017
- opacity: 0.7;
1018
- }
1019
- 100% {
1020
- height: 16px;
1021
- opacity: 1;
1022
- }
1023
- }
1024
-
1025
- .manual-play-required .audio-player-wrapper::before {
1026
- content: "Click to play";
1027
- position: absolute;
1028
- top: -20px;
1029
- left: 50%;
1030
- transform: translateX(-50%);
1031
- background: #ffc107;
1032
- color: #212529;
1033
- padding: 4px 8px;
1034
- border-radius: 4px;
1035
- font-size: 10px;
1036
- white-space: nowrap;
1037
- }
1038
-
1039
- .message {
1040
- opacity: 0;
1041
- transform: translateY(20px) scale(0.95);
1042
- transition: all 0.3s ease;
1043
- }
1044
-
1045
- .message.show {
1046
- opacity: 1;
1047
- transform: translateY(0) scale(1);
1048
- }
1049
-
1050
- #voiceButton.recording {
1051
- background: #dc3545;
1052
- animation: pulse 1.5s infinite;
1053
- }
1054
-
1055
- @keyframes pulse {
1056
- 0% {
1057
- box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
1058
- }
1059
- 70% {
1060
- box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
1061
- }
1062
- 100% {
1063
- box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
1064
- }
1065
- }
1066
-
1067
- @media (max-width: 768px) {
1068
- .urdu-text {
1069
- font-size: 0.95em;
1070
- line-height: 1.7;
1071
- }
1072
-
1073
- .chat-messages .message.urdu-text .message-content p {
1074
- font-size: 0.95em;
1075
- line-height: 1.9;
1076
- }
1077
-
1078
- .audio-message-container {
1079
- max-width: 220px;
1080
- }
1081
-
1082
- .voice-note-player {
1083
- height: 28px;
1084
- }
1085
- }
1086
- @media (max-width: 1200px) {
1087
- .container {
1088
- padding: 1.5rem;
1089
- }
1090
-
1091
- .main-content {
1092
- gap: 2rem;
1093
- }
1094
-
1095
- .chat-container {
1096
- height: 650px;
1097
- }
1098
- }
1099
-
1100
- @media (max-width: 1024px) {
1101
- .main-content {
1102
- grid-template-columns: 1fr;
1103
- gap: 2rem;
1104
- }
1105
-
1106
- .chat-container {
1107
- height: 600px;
1108
- }
1109
-
1110
- .chat-header {
1111
- padding: 1.25rem;
1112
- }
1113
-
1114
- .chat-messages {
1115
- padding: 1.5rem;
1116
- }
1117
- }
1118
-
1119
- @media (max-width: 768px) {
1120
- .container {
1121
- padding: 1rem;
1122
- }
1123
-
1124
- .logo-container {
1125
- flex-direction: column;
1126
- text-align: center;
1127
- gap: 0.5rem;
1128
- }
1129
-
1130
- .title {
1131
- font-size: 2.5rem;
1132
- }
1133
-
1134
- .chat-header {
1135
- padding: 1rem;
1136
- flex-direction: column;
1137
- gap: 1rem;
1138
- align-items: flex-start;
1139
- }
1140
-
1141
- .chat-profile {
1142
- width: 100%;
1143
- }
1144
-
1145
- .chat-stats {
1146
- align-self: stretch;
1147
- justify-content: space-around;
1148
- }
1149
-
1150
- .message {
1151
- max-width: 95%;
1152
- }
1153
-
1154
- .chat-messages {
1155
- padding: 1rem;
1156
- gap: 1rem;
1157
- }
1158
-
1159
- .chat-input-container {
1160
- padding: 1rem;
1161
- }
1162
-
1163
- .input-wrapper {
1164
- flex-direction: column;
1165
- }
1166
-
1167
- .send-button {
1168
- align-self: flex-end;
1169
- width: fit-content;
1170
- padding: 1rem 1.5rem;
1171
- }
1172
-
1173
- .tabs {
1174
- flex-direction: column;
1175
- gap: 0.5rem;
1176
- }
1177
-
1178
- .tab-btn {
1179
- padding: 1rem;
1180
- text-align: center;
1181
- }
1182
-
1183
- .question-card {
1184
- padding: 1.25rem;
1185
- }
1186
-
1187
- .card-icon {
1188
- width: 45px;
1189
- height: 45px;
1190
- font-size: 1.1rem;
1191
- }
1192
-
1193
- .empty-state {
1194
- padding: 2rem 1rem;
1195
- }
1196
-
1197
- .profile-avatar {
1198
- width: 50px;
1199
- height: 50px;
1200
- font-size: 1.3rem;
1201
- }
1202
- }
1203
-
1204
- @media (max-width: 480px) {
1205
- .container {
1206
- padding: 0.75rem;
1207
- }
1208
-
1209
- .header {
1210
- margin-bottom: 2rem;
1211
- }
1212
-
1213
- .logo {
1214
- width: 60px;
1215
- height: 60px;
1216
- font-size: 1.7rem;
1217
- }
1218
-
1219
- .title {
1220
- font-size: 2rem;
1221
- }
1222
-
1223
- .subtitle {
1224
- font-size: 1rem;
1225
- }
1226
-
1227
- .compassion-message {
1228
- font-size: 0.85rem;
1229
- }
1230
-
1231
- .main-content {
1232
- gap: 1.5rem;
1233
- }
1234
-
1235
- .section-header {
1236
- margin-bottom: 1.5rem;
1237
- }
1238
-
1239
- .section-title {
1240
- font-size: 1.3rem;
1241
- }
1242
-
1243
- .chat-container {
1244
- height: 550px;
1245
- border-radius: 20px;
1246
- }
1247
-
1248
- .chat-messages {
1249
- padding: 0.75rem;
1250
- gap: 0.75rem;
1251
- }
1252
-
1253
- .message-content {
1254
- padding: 1rem 1.25rem;
1255
- }
1256
-
1257
- .message-avatar {
1258
- width: 40px;
1259
- height: 40px;
1260
- font-size: 1rem;
1261
- }
1262
-
1263
- .question-card {
1264
- padding: 1rem;
1265
- gap: 0.75rem;
1266
- }
1267
-
1268
- .card-icon {
1269
- width: 40px;
1270
- height: 40px;
1271
- font-size: 1rem;
1272
- }
1273
-
1274
- .floating-element {
1275
- display: none;
1276
- }
1277
-
1278
- .floating-element.el-1,
1279
- .floating-element.el-2 {
1280
- display: block;
1281
- width: 100px;
1282
- height: 100px;
1283
- }
1284
- }
1285
-
1286
- @media (max-width: 360px) {
1287
- .container {
1288
- padding: 0.5rem;
1289
- }
1290
-
1291
- .chat-container {
1292
- height: 500px;
1293
- }
1294
-
1295
- .chat-header {
1296
- padding: 0.75rem;
1297
- }
1298
-
1299
- .profile-avatar {
1300
- width: 45px;
1301
- height: 45px;
1302
- font-size: 1.2rem;
1303
- }
1304
-
1305
- .chat-stats {
1306
- gap: 1rem;
1307
- }
1308
-
1309
- .question-card {
1310
- flex-direction: column;
1311
- text-align: center;
1312
- gap: 0.5rem;
1313
- }
1314
-
1315
- .card-content h3 {
1316
- text-align: center;
1317
- }
1318
-
1319
- .urdu-text.question-card {
1320
- flex-direction: column;
1321
- }
1322
-
1323
- .urdu-text .card-content {
1324
- text-align: center;
1325
- }
1326
- }
1327
-
1328
- @media print {
1329
- .floating-elements,
1330
- .send-button,
1331
- .typing-indicator,
1332
- .chat-input-container {
1333
- display: none !important;
1334
- }
1335
-
1336
- .chat-container {
1337
- box-shadow: none;
1338
- height: auto;
1339
- }
1340
-
1341
- .chat-messages {
1342
- overflow: visible;
1343
- }
1344
- }