File size: 3,943 Bytes
2e7ef4d
 
 
 
 
 
 
 
 
 
2df637a
2e7ef4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bbcee86
2e7ef4d
 
 
bbcee86
 
 
 
 
2e7ef4d
 
 
bbcee86
2e7ef4d
 
bbcee86
 
 
 
 
 
 
 
 
 
 
 
 
 
2e7ef4d
 
bbcee86
 
2e7ef4d
 
bbcee86
2e7ef4d
bbcee86
 
 
2e7ef4d
 
 
bbcee86
 
 
 
2df637a
 
2e7ef4d
bbcee86
2e7ef4d
 
bbcee86
 
2df637a
2e7ef4d
bbcee86
 
 
 
2e7ef4d
 
bbcee86
2e7ef4d
2df637a
2e7ef4d
 
 
bbcee86
 
 
 
 
2e7ef4d
bbcee86
2df637a
 
2e7ef4d
 
 
bbcee86
2e7ef4d
 
2df637a
2e7ef4d
 
 
 
 
bbcee86
 
 
 
 
 
 
 
2e7ef4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
@import url('https://fonts.googleapis.com/css2?family=Hagrid:wght@400;500;600;700&display=swap');

:root {
    --primary: #D58A60;
    --surface: #FFFFFF;
    --background: #FFFFFF;
    --text-main: #171717;
    --text-muted: #737373;
}

body {
    font-family: 'Hagrid', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #E5E5E5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4D4D4;
}
/* MacOS Window 3D Effect */
.perspective-container {
    perspective: 1500px;
}

.mac-window {
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    background: rgba(255, 255, 255, 0.7);
}

.mac-window:hover {
    transform: rotateY(-4deg) rotateX(2deg) scale(1.01);
}
/* Chat Styles */
.chat-container {
    scrollbar-width: thin;
    scrollbar-color: #E5E5E5 transparent;
}

.chat-container::-webkit-scrollbar {
    width: 4px;
}

.chat-container::-webkit-scrollbar-thumb {
    background-color: #E5E5E5;
    border-radius: 4px;
}

.chat-bubble {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(15px);
    animation: slideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.chat-bubble.bot {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    color: #1F2937;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(0,0,0,0.04);
}

.chat-bubble.customer {
    background: linear-gradient(135deg, #171717 0%, #262626 100%);
    color: #FFFFFF;
    margin-left: auto;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-radius: 20px;
    border-bottom-left-radius: 6px;
    width: fit-content;
    border: 1px solid rgba(0,0,0,0.04);
}

.dot {
    width: 6px;
    height: 6px;
    background: #9CA3AF;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}
/* Header Nav Expansion Animation (Fallback if CSS preferred) */
.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.nav-link span.label {
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 0;
}

.nav-link:hover {
    background-color: #F5F5F5;
}

.nav-link:hover span.label {
    opacity: 1;
    width: auto;
    margin-left: 8px;
}

/* Utility Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Accordion */
.accordion-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.accordion-content.open {
    opacity: 1;
}