File size: 1,825 Bytes
0913c69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* General styling for the body and main container */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f8fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chat-container {
    width: 100%;
    max-width: 800px;
    height: 80%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

#chatbox {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#userInput {
    display: flex;
    padding: 10px;
    background-color: #f0f0f0;
    border-top: 1px solid #e0e0e0;
}

#textInput {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #e9ecef;
    font-size: 16px;
    color: #333;
}

#textInput:focus {
    outline: none;
    background-color: #ffffff;
}

.submit-button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #0b93f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.submit-button:hover {
    background-color: #007bff;
}

.userText, .botText {
    max-width: 75%;
    margin: 5px 0;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.userText {
    align-self: flex-end;
    background-color: #0b93f6;
    color: white;
}

.botText {
    align-self: flex-start;
    background-color: #e5e5ea;
    color: black;
}

/* Scrollbar styling */
#chatbox::-webkit-scrollbar {
    width: 8px;
}

#chatbox::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

#chatbox::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}