File size: 1,251 Bytes
eb3b59e
 
 
429b40d
 
eb3b59e
 
429b40d
 
eb3b59e
 
 
429b40d
 
eb3b59e
 
429b40d
 
eb3b59e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429b40d
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
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animation for message bubbles */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message {
    animation: fadeIn 0.3s ease-out;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: fixed;
        z-index: 20;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .chat-area {
        width: 100%;
    }

    .mobile-back-btn {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-back-btn {
        display: none !important;
    }
}

/* Chat area responsive behavior */
.chat-area {
    transition: all 0.3s ease;
}

/* Better touch targets for mobile */
button, .contact-item {
    min-height: 44px;
}

/* Input fields */
input, textarea {
    font-size: 16px !important; /* Prevent iOS zoom */
}