File size: 1,698 Bytes
727a40a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.chat_box {
    background: var(--bg-color);
    width: 100%;
    max-width: 450px;
    max-height: 900px;
    display: flex;
    height: 100vh;
    flex-direction: column;
    box-shadow: 0 8px 16px var(--shadow-color);
}

.chat-area {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 70%;
}

.chat-message.sent {
    align-self: flex-end;
    text-align: right;
}

.chat-message.received {
    align-self: flex-start;
    text-align: left;
}

.message-text {
    background-color: var(--menu-bg);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 10px;
    word-wrap: break-word;
    line-height: 1.5;
    text-align: left;
}

.timestamp {
    font-size: 12px;
    color: var(--timestamp-color);
    margin-top: 4px;
}

.input-area {
    display: flex;
    align-items: center;
    border-radius: 30px;
}

.message-input {
    flex: 1;
    background-color: var(--menu-bg);
    color: var(--text-color);
    border: 8px solid var(--menu-bg);
    resize: none;
    outline: none;
    border-radius: 20px;
    height: 46px;
    max-height: 110px;
    overflow-y: auto;
    line-height: 20px;
    padding: 5px 15px;
    margin: 10px 0px 10px 10px;
}

.send-button {
    margin: 10px 10px 10px 5px;
    padding: 5px 12px 6px 12px;
    border: none;
    border-radius: 50%;
    background: var(--btn-bg);
    color: var(--btn-text-color);
    cursor: pointer;
    font-size: 25px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.send-button:hover {
    background: var(--btn-bg-hover);
    transform: scale(1.02);
}