Spaces:
3SCError404
/
Paused

File size: 1,322 Bytes
5eb4857
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}

.messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
}

.bubble {
  max-width: 70%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.4;
}

.user {
  align-self: flex-end;
  background-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px 0 var(--primary-glow);
}

.assistant {
  align-self: flex-start;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.footer {
  padding: 16px;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.input {
  flex: 1;
}

.sendBtn {
  margin-bottom: 2px;
}

/* Loading animation */
.loading {
  display: flex;
  gap: 4px;
  padding: 16px 20px;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  to { transform: translateY(-4px); opacity: 0.5; }
}