1
- /* Global styles */
2
1
body {
3
2
font-family : 'Roboto' , sans-serif;
4
- background : # 0d0d0d ; /* Dark background */
3
+ background : # 0d0d0d ;
5
4
margin : 0 ;
6
5
padding : 0 ;
7
6
display : flex;
8
7
flex-direction : column;
9
8
align-items : center;
10
9
}
11
10
12
- /* Header styling */
13
11
.header {
14
12
display : flex;
15
13
align-items : center;
16
14
padding : 15px 30px ;
17
- background : linear-gradient (145deg , # 1b1b1b, # 333 ); /* Dark gradient */
15
+ background : linear-gradient (145deg , # 1b1b1b, # 333 );
18
16
color : # fff ;
19
17
font-family : 'Roboto' , sans-serif;
20
18
width : 100% ;
21
19
max-width : 800px ;
22
20
border-bottom : 2px solid # 444 ;
23
21
box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.7 );
24
- border-radius : 0 0 10px 10px ; /* Rounded bottom corners */
22
+ border-radius : 0 0 10px 10px ;
25
23
margin-bottom : 20px ;
26
24
}
27
25
@@ -30,15 +28,14 @@ body {
30
28
font-weight : 700 ;
31
29
}
32
30
33
- /* Chatbox */
34
31
.chatbox {
35
32
width : 90% ;
36
33
max-width : 800px ;
37
34
height : 70vh ;
38
35
margin : 20px auto;
39
36
padding : 20px ;
40
- background : linear-gradient (145deg , # 1b1b1b, # 2a2a2a ); /* Dark gradient */
41
- border-radius : 0 ; /* Sharper corners */
37
+ background : linear-gradient (145deg , # 1b1b1b, # 2a2a2a );
38
+ border-radius : 0 ;
42
39
box-shadow : 0 20px 40px rgba (0 , 0 , 0 , 0.8 ), 0 10px 20px rgba (0 , 0 , 0 , 0.6 );
43
40
overflow-y : auto;
44
41
display : flex;
56
53
width : calc (100% - 10px );
57
54
height : calc (100% - 10px );
58
55
background : rgba (255 , 255 , 255 , 0.1 );
59
- border-radius : 0 ; /* Sharper corners */
56
+ border-radius : 0 ;
60
57
filter : blur (50px );
61
58
z-index : -1 ;
62
59
transition : opacity 0.3s ease;
@@ -66,18 +63,16 @@ body {
66
63
opacity : 0.3 ;
67
64
}
68
65
69
- /* Messages */
70
66
.message {
71
67
padding : 15px ;
72
- border-radius : 0 ; /* Sharper corners */
68
+ border-radius : 0 ;
73
69
max-width : 75% ;
74
70
word-wrap : break-word;
75
71
animation : fadeIn 0.5s ease, glowing 1.5s infinite alternate;
76
72
position : relative;
77
73
box-shadow : 0 16px 40px rgba (0 , 0 , 0 , 0.8 ), 0 8px 20px rgba (0 , 0 , 0 , 0.6 );
78
74
}
79
75
80
- /* User Message */
81
76
.message .user {
82
77
background : linear-gradient (145deg , # 007bff, # 0056b3 );
83
78
color : # fff ;
86
81
position : relative;
87
82
}
88
83
89
- /* Bot Message */
90
84
.message .bot {
91
85
background : linear-gradient (145deg , # 333, # 444 );
92
86
color : # ddd ;
95
89
position : relative;
96
90
}
97
91
98
- /* Inputs and textareas */
99
92
textarea ,
100
93
input [type = "number" ],
101
94
input [type = "text" ],
@@ -104,7 +97,7 @@ select {
104
97
max-width : 800px ;
105
98
margin : 10px auto;
106
99
padding : 15px ;
107
- border-radius : 0 ; /* Sharper corners */
100
+ border-radius : 0 ;
108
101
border : 1px solid # 444 ;
109
102
font-size : 16px ;
110
103
transition : border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
@@ -155,13 +148,12 @@ select:hover {
155
148
transform : scale (1.02 );
156
149
}
157
150
158
- /* Buttons */
159
151
button {
160
152
width : 90% ;
161
153
max-width : 800px ;
162
154
margin : 10px auto;
163
155
padding : 15px ;
164
- border-radius : 0 ; /* Sharper corners */
156
+ border-radius : 0 ;
165
157
border : none;
166
158
background : linear-gradient (145deg , # 007bff, # 0056b3 );
167
159
color : # fff ;
@@ -199,12 +191,11 @@ button:disabled {
199
191
transition : background 0.3s ease;
200
192
}
201
193
202
- /* Safety UI */
203
194
.danger-ui {
204
195
border : 2px solid red;
205
196
padding : 10px ;
206
197
margin-top : 20px ;
207
- border-radius : 0 ; /* Sharper corners */
198
+ border-radius : 0 ;
208
199
background-color : # fdd ;
209
200
}
210
201
@@ -218,15 +209,14 @@ button:disabled {
218
209
margin : 5px 0 ;
219
210
}
220
211
221
- /* Debug Menu */
222
212
.debug-menu {
223
213
display : none;
224
214
margin-top : 20px ;
225
215
padding : 10px ;
226
216
border : 1px solid # ddd ;
227
217
background-color : # fff ;
228
218
border-radius : 15px ;
229
- position : relative; /* Ensure version badge is positioned correctly */
219
+ position : relative;
230
220
}
231
221
232
222
.debug-menu .active {
@@ -249,10 +239,9 @@ button:disabled {
249
239
top : 10px ;
250
240
right : 10px ;
251
241
transition : transform 0.3s ease;
252
- animation : rotate 10s linear infinite; /* Add this line for rotation */
242
+ animation : rotate 10s linear infinite;
253
243
}
254
244
255
- /* Animation CSS */
256
245
@keyframes fadeIn {
257
246
from {
258
247
opacity : 0 ;
@@ -285,7 +274,6 @@ button:disabled {
285
274
}
286
275
}
287
276
288
- /* Rotate animation */
289
277
@keyframes rotate {
290
278
from {
291
279
transform : rotate (0deg );
0 commit comments