File size: 3,167 Bytes
bf858f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('/static/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.chat-container {
    width: 100%;
    max-width: 900px;
    height: 90vh;
    display: flex;
    background-color: rgb(236, 59, 177);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.sidebar {
    width: 120px;
    background-color: hsl(280, 48%, 28%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
}

.sidebar button {
    background-color: #071c32;
    color: rgb(255, 255, 255);
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    margin: 20px 0;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100px; /* Ensure buttons are the same width */
    text-align: center;
}

.sidebar button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: rgba(125, 130, 131, 0.455);
}

.chat-box {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    border-bottom: 1px solid #e91199;
}

.message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 75%;
    word-wrap: break-word;
    box-shadow: 0 0 5px rgb(203, 60, 146);
}

/* Markdown specific styling */
.message.bot p {
    margin: 0 0 10px;
}

.message.bot ul {
    margin: 10px 0;
    padding-left: 20px;
}

.message.bot ol {
    margin: 10px 0;
    padding-left: 20px;
}

.message.bot li {
    margin-bottom: 5px;
}

.message.bot code {
    background-color: rgba(27, 31, 35, 0.05);
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
}

.message.bot pre {
    background-color: rgba(27, 31, 35, 0.1);
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
}

/* User messages */
.message.user {
    background-color: hwb(285 20% 63% / 0.815);
    color: rgba(214, 199, 199, 0.879);
    align-self: flex-end;
}

.message.bot {
    background-color: hwb(297 45% 14% / 0.815) ;
    color: #151415;
    align-self: flex-start;
}

.input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid #ddd;
    background-color: rgba(250, 250, 250, 0.9);
}

input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 16px;
}

button.send-button {
    padding: 10px 20px;
    background-color: hsl(280, 48%, 28%);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button.send-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}