File size: 1,695 Bytes
26fc868
 
 
 
 
e05020c
 
26fc868
 
 
 
 
 
 
 
 
 
 
e05020c
26fc868
 
 
 
 
 
 
 
 
 
e05020c
26fc868
 
 
 
 
 
 
e05020c
26fc868
 
 
 
 
e05020c
26fc868
 
 
 
 
 
 
bbb7584
26fc868
 
 
 
bbb7584
26fc868
 
 
 
bbb7584
26fc868
 
 
 
 
bbb7584
26fc868
 
 
bbb7584
26fc868
 
 
bbb7584
26fc868
 
 
 
e05020c
26fc868
 
 
 
 
 
 
 
 
 
e05020c
26fc868
 
 
 
 
 
 
 
 
 
 
 
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
:root {
  --bg: #0f1720;
  --accent: #10a37f;
  --assistant-bg: #1f2937;
  --user-bg: #0b2a2a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: #f0f0f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.chat-container {
  width: 100%;
  max-width: 900px;
  height: 95vh;
  display: flex;
  flex-direction: column;
  background: #0c131c;
  border-radius: 10px;
  overflow: hidden;
}

.chat-header {
  padding: 12px 16px;
  background: #0b1116;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-window {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.message {
  display: flex;
  margin-bottom: 12px;
  gap: 8px;
  max-width: 80%;
  word-wrap: break-word;
}

.message.user {
  justify-content: flex-end;
  margin-left: auto;
}

.message.assistant {
  justify-content: flex-start;
  margin-right: auto;
}

.bubble {
  padding: 10px 14px;
  border-radius: 10px;
  line-height: 1.4;
}

.user .bubble {
  background: var(--user-bg);
}

.assistant .bubble {
  background: var(--assistant-bg);
}

.chat-input-area {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.chat-input-area textarea {
  flex: 1;
  resize: none;
  background: #0b1116;
  color: #f0f0f0;
  border: none;
  padding: 14px;
  font-size: 15px;
  outline: none;
}

.chat-input-area button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: bold;
}
.chat-input-area button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}