File size: 1,401 Bytes
215f115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
body {
  background: #1a1a2e;
  color: #eaeaea;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-container {
  background: #16213e;
  width: 400px;
  max-width: 90vw;
  height: 600px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
}

.chat-box {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  border-bottom: 2px solid #0f3460;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message {
  padding: 8px 12px;
  border-radius: 15px;
  max-width: 75%;
  word-wrap: break-word;
}

.message.user {
  align-self: flex-end;
  background-color: #0f3460;
  color: #f0f0f0;
}

.message.bot {
  align-self: flex-start;
  background-color: #53354a;
  color: #eaeaea;
}

.input-area {
  display: flex;
  padding: 10px;
  background-color: #0f3460;
  border-radius: 0 0 8px 8px;
}

#user-input {
  flex: 1;
  padding: 10px;
  border-radius: 15px;
  border: none;
  font-size: 14px;
}

#send-button {
  margin-left: 10px;
  padding: 10px 18px;
  background-color: #53354a;
  border: none;
  color: #eaeaea;
  border-radius: 15px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#send-button:hover {
  background-color: #6f3d6f;
}

#user-input:focus {
  outline: none;
}