File size: 2,809 Bytes
0df7243
d08d544
 
 
 
0df7243
d08d544
0df7243
d08d544
 
 
 
 
 
 
0df7243
d08d544
0df7243
d08d544
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0df7243
d08d544
0df7243
 
d08d544
 
0df7243
 
d08d544
 
0df7243
d08d544
 
 
 
 
 
 
 
 
 
 
0df7243
d08d544
 
 
 
0df7243
d08d544
0df7243
d08d544
0df7243
d08d544
 
0df7243
d08d544
0df7243
 
 
d08d544
0df7243
d08d544
0df7243
 
d08d544
 
 
 
 
0df7243
d08d544
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0df7243
 
d08d544
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0df7243
1c4614a
 
 
 
 
 
 
 
 
4d41769
1c4614a
 
 
 
 
4d41769
1c4614a
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
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e3f2fd, #e1bee7);
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
    padding: 20px;
    margin: 0;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.chat-container {
    max-width: 700px;
    margin: auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid #ddd;
    transition: all 0.3s ease-in-out;
}

h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
    background: linear-gradient(to right, #8e24aa, #1e88e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chat-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fafafa;
    margin-bottom: 15px;
}

.user, .bot {
    margin: 8px 0;
    padding: 10px 14px;
    border-radius: 20px;
    display: inline-block;
    max-width: 80%;
    word-wrap: break-word;
    animation: fadeIn 0.4s ease-in-out;
}

.user {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    color: white;
    float: right;
    clear: both;
}

.bot {
    background: #f1f3f4;
    color: #333;
    float: left;
    clear: both;
}

form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

input[type="text"] {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #42a5f5;
}

button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #8e24aa, #42a5f5);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

button:hover {
    background: linear-gradient(135deg, #6a1b9a, #1976d2);
}

.entities {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #8e24aa;
}

.entities h4 {
    margin-bottom: 10px;
    color: #8e24aa;
}

.entities ul {
    padding-left: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.examples ul {
    list-style-type: none;
    padding: 0;
}

.examples li {
    cursor: pointer;
    padding: 5px;
    background-color: #f0f0f0;
    margin-bottom: 20px;
    border-radius: 4px;
}

.examples li:hover {
    background-color: #e0e0e0;
    color:#2641ed
}