File size: 1,889 Bytes
b4f404b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Fonts & Body */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1f2c34, #1b1b2f);
}

/* Chat container */
.chat-container {
    padding: 20px;
}

/* Chat box */
.chat-box {
    width: 450px;
    max-width: 95%;
    height: 650px;
    background-color: #222831;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chat header */
.chat-header {
    background-color: #30475e;
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.chat-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #00adb5;
}

/* Chat body */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

/* Chat footer */
.chat-footer {
    background-color: #393e46;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Messages */
.msg-text {
    position: relative;
    max-width: 80%;
    word-wrap: break-word;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.msg-text .time {
    font-size: 10px;
    position: absolute;
    bottom: -15px;
    right: 8px;
    color: rgba(255,255,255,0.5);
}

/* User & Bot message */
.user-message .msg-text {
    background-color: #00adb5;
    color: white;
}

.bot-message .msg-text {
    background-color: #393e46;
    color: #eeeeee;
}

/* Input & Button */
input.form-control {
    border-radius: 25px;
    padding: 12px 15px;
    background-color: #222831;
    border: 1px solid #00adb5;
    color: #eee;
}

input.form-control:focus {
    box-shadow: none;
    outline: none;
}

.btn-accent {
    border-radius: 25px;
    background-color: #00adb5;
    color: white;
    padding: 0 18px;
}

.btn-accent:hover {
    background-color: #00b8c4;
}

/* Responsive */
@media (max-width: 500px) {
    .chat-box {
        height: 80vh;
        width: 95%;
    }
}