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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ============================================================
|
| 2 |
+
Medibot — Futuristic Healthcare Dashboard
|
| 3 |
+
Dark navy + medical teal/cyan, soft shadows, no glass/gradients
|
| 4 |
+
============================================================ */
|
| 5 |
+
|
| 6 |
+
:root{
|
| 7 |
+
--bg:#0a0f14;
|
| 8 |
+
--panel:#0d141b;
|
| 9 |
+
--surface:#101922;
|
| 10 |
+
--surface-2:#141f29;
|
| 11 |
+
--border:#1c2933;
|
| 12 |
+
--teal:#17b8b0;
|
| 13 |
+
--teal-soft:#0e3a3a;
|
| 14 |
+
--cyan:#3fd6cf;
|
| 15 |
+
--text:#e7eef0;
|
| 16 |
+
--text-dim:#8a9aa3;
|
| 17 |
+
--text-faint:#5b6b73;
|
| 18 |
+
--danger:#e0734f;
|
| 19 |
+
--radius-lg:22px;
|
| 20 |
+
--radius-md:16px;
|
| 21 |
+
--radius-sm:12px;
|
| 22 |
+
--shadow:0 18px 40px -20px rgba(0,0,0,0.65);
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
*{ box-sizing:border-box; }
|
| 26 |
+
|
| 27 |
+
html,body{
|
| 28 |
+
height:100%;
|
| 29 |
+
margin:0;
|
| 30 |
+
font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
| 31 |
+
background:var(--bg);
|
| 32 |
+
color:var(--text);
|
| 33 |
+
-webkit-font-smoothing:antialiased;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* ---------------- Dashboard shell: 2-column layout ---------------- */
|
| 37 |
+
|
| 38 |
+
.dashboard{
|
| 39 |
+
display:grid;
|
| 40 |
+
grid-template-columns:320px 1fr;
|
| 41 |
+
height:100vh;
|
| 42 |
+
height:100dvh;
|
| 43 |
+
max-width:1280px;
|
| 44 |
+
margin:0 auto;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
/* ---------------- LEFT PANEL ---------------- */
|
| 48 |
+
|
| 49 |
+
.panel{
|
| 50 |
+
background:var(--panel);
|
| 51 |
+
border-right:1px solid var(--border);
|
| 52 |
+
padding:28px 26px;
|
| 53 |
+
display:flex;
|
| 54 |
+
flex-direction:column;
|
| 55 |
+
overflow-y:auto;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.panel_top{ margin-bottom:36px; }
|
| 59 |
+
|
| 60 |
+
.brand{
|
| 61 |
+
display:flex;
|
| 62 |
+
align-items:center;
|
| 63 |
+
gap:10px;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.brand_mark{
|
| 67 |
+
width:36px;
|
| 68 |
+
height:36px;
|
| 69 |
+
border-radius:10px;
|
| 70 |
+
background:var(--teal-soft);
|
| 71 |
+
color:var(--teal);
|
| 72 |
+
display:flex;
|
| 73 |
+
align-items:center;
|
| 74 |
+
justify-content:center;
|
| 75 |
+
font-size:1rem;
|
| 76 |
+
border:1px solid rgba(23,184,176,0.3);
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.brand_name{
|
| 80 |
+
font-family:'Plus Jakarta Sans', sans-serif;
|
| 81 |
+
font-weight:700;
|
| 82 |
+
font-size:1.05rem;
|
| 83 |
+
letter-spacing:-0.01em;
|
| 84 |
+
color:var(--text);
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.brand_name span{ color:var(--teal); }
|
| 88 |
+
|
| 89 |
+
.panel_avatar{
|
| 90 |
+
text-align:center;
|
| 91 |
+
padding:8px 0 28px;
|
| 92 |
+
border-bottom:1px solid var(--border);
|
| 93 |
+
margin-bottom:24px;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.avatar_ring{
|
| 97 |
+
position:relative;
|
| 98 |
+
width:84px;
|
| 99 |
+
height:84px;
|
| 100 |
+
margin:0 auto 16px;
|
| 101 |
+
border-radius:50%;
|
| 102 |
+
background:var(--surface);
|
| 103 |
+
border:1px solid var(--border);
|
| 104 |
+
display:flex;
|
| 105 |
+
align-items:center;
|
| 106 |
+
justify-content:center;
|
| 107 |
+
box-shadow:0 0 0 6px rgba(23,184,176,0.06);
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.avatar_img{
|
| 111 |
+
font-size:1.7rem;
|
| 112 |
+
color:var(--teal);
|
| 113 |
+
display:flex;
|
| 114 |
+
align-items:center;
|
| 115 |
+
justify-content:center;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.avatar_status{
|
| 119 |
+
position:absolute;
|
| 120 |
+
bottom:2px;
|
| 121 |
+
right:2px;
|
| 122 |
+
width:14px;
|
| 123 |
+
height:14px;
|
| 124 |
+
border-radius:50%;
|
| 125 |
+
background:var(--teal);
|
| 126 |
+
border:3px solid var(--panel);
|
| 127 |
+
box-shadow:0 0 0 0 rgba(23,184,176,0.5);
|
| 128 |
+
animation:pulse 2.2s infinite;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
@keyframes pulse{
|
| 132 |
+
0%{ box-shadow:0 0 0 0 rgba(23,184,176,0.45); }
|
| 133 |
+
70%{ box-shadow:0 0 0 7px rgba(23,184,176,0); }
|
| 134 |
+
100%{ box-shadow:0 0 0 0 rgba(23,184,176,0); }
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.panel_avatar h2{
|
| 138 |
+
font-family:'Plus Jakarta Sans', sans-serif;
|
| 139 |
+
font-size:1.05rem;
|
| 140 |
+
font-weight:700;
|
| 141 |
+
margin:0 0 2px;
|
| 142 |
+
color:var(--text);
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.panel_avatar .role{
|
| 146 |
+
font-size:0.8rem;
|
| 147 |
+
color:var(--text-dim);
|
| 148 |
+
margin:0 0 14px;
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
.status_chip{
|
| 152 |
+
display:inline-flex;
|
| 153 |
+
align-items:center;
|
| 154 |
+
gap:7px;
|
| 155 |
+
font-size:0.74rem;
|
| 156 |
+
font-weight:500;
|
| 157 |
+
color:var(--teal);
|
| 158 |
+
background:var(--teal-soft);
|
| 159 |
+
border:1px solid rgba(23,184,176,0.25);
|
| 160 |
+
padding:6px 14px;
|
| 161 |
+
border-radius:999px;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.status_chip .dot{
|
| 165 |
+
width:6px;
|
| 166 |
+
height:6px;
|
| 167 |
+
border-radius:50%;
|
| 168 |
+
background:var(--teal);
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
.panel_desc{
|
| 172 |
+
font-size:0.84rem;
|
| 173 |
+
line-height:1.65;
|
| 174 |
+
color:var(--text-dim);
|
| 175 |
+
margin:0 0 26px;
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
.panel_stats{
|
| 179 |
+
display:flex;
|
| 180 |
+
flex-direction:column;
|
| 181 |
+
gap:10px;
|
| 182 |
+
margin-bottom:auto;
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.stat{
|
| 186 |
+
display:flex;
|
| 187 |
+
align-items:center;
|
| 188 |
+
gap:12px;
|
| 189 |
+
background:var(--surface);
|
| 190 |
+
border:1px solid var(--border);
|
| 191 |
+
border-radius:var(--radius-sm);
|
| 192 |
+
padding:12px 14px;
|
| 193 |
+
transition:border-color 0.2s ease, transform 0.2s ease;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
.stat:hover{
|
| 197 |
+
border-color:rgba(23,184,176,0.35);
|
| 198 |
+
transform:translateY(-1px);
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
.stat i{
|
| 202 |
+
color:var(--teal);
|
| 203 |
+
font-size:0.95rem;
|
| 204 |
+
width:18px;
|
| 205 |
+
text-align:center;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
.stat span{
|
| 209 |
+
display:block;
|
| 210 |
+
font-size:0.85rem;
|
| 211 |
+
font-weight:600;
|
| 212 |
+
color:var(--text);
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
.stat small{
|
| 216 |
+
display:block;
|
| 217 |
+
font-size:0.72rem;
|
| 218 |
+
color:var(--text-faint);
|
| 219 |
+
margin-top:1px;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.panel_footer{
|
| 223 |
+
display:flex;
|
| 224 |
+
gap:10px;
|
| 225 |
+
align-items:flex-start;
|
| 226 |
+
font-size:0.72rem;
|
| 227 |
+
line-height:1.5;
|
| 228 |
+
color:var(--text-faint);
|
| 229 |
+
padding-top:22px;
|
| 230 |
+
margin-top:22px;
|
| 231 |
+
border-top:1px solid var(--border);
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.panel_footer i{
|
| 235 |
+
color:var(--danger);
|
| 236 |
+
font-size:0.8rem;
|
| 237 |
+
margin-top:1px;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
/* ---------------- RIGHT: chat ---------------- */
|
| 241 |
+
|
| 242 |
+
.chat{
|
| 243 |
+
display:flex;
|
| 244 |
+
flex-direction:column;
|
| 245 |
+
background:var(--bg);
|
| 246 |
+
height:100vh;
|
| 247 |
+
min-width:0;
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
.chat_head{
|
| 251 |
+
flex:0 0 auto;
|
| 252 |
+
display:flex;
|
| 253 |
+
align-items:center;
|
| 254 |
+
justify-content:space-between;
|
| 255 |
+
padding:22px 32px;
|
| 256 |
+
border-bottom:1px solid var(--border);
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
.chat_head_left span{
|
| 260 |
+
font-family:'Plus Jakarta Sans', sans-serif;
|
| 261 |
+
font-weight:700;
|
| 262 |
+
font-size:1rem;
|
| 263 |
+
color:var(--text);
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
.chat_head_left p{
|
| 267 |
+
margin:3px 0 0;
|
| 268 |
+
font-size:0.78rem;
|
| 269 |
+
color:var(--text-faint);
|
| 270 |
+
}
|
| 271 |
+
|
| 272 |
+
.chat_head_right{
|
| 273 |
+
color:var(--text-faint);
|
| 274 |
+
width:32px;
|
| 275 |
+
height:32px;
|
| 276 |
+
border-radius:8px;
|
| 277 |
+
display:flex;
|
| 278 |
+
align-items:center;
|
| 279 |
+
justify-content:center;
|
| 280 |
+
cursor:pointer;
|
| 281 |
+
transition:background 0.2s ease, color 0.2s ease;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.chat_head_right:hover{
|
| 285 |
+
background:var(--surface);
|
| 286 |
+
color:var(--teal);
|
| 287 |
+
}
|
| 288 |
+
|
| 289 |
+
.msg_card_body{
|
| 290 |
+
flex:1 1 auto;
|
| 291 |
+
overflow-y:auto;
|
| 292 |
+
padding:28px 32px;
|
| 293 |
+
display:flex;
|
| 294 |
+
flex-direction:column;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
.msg_card_body::-webkit-scrollbar{ width:6px; }
|
| 298 |
+
.msg_card_body::-webkit-scrollbar-track{ background:transparent; }
|
| 299 |
+
.msg_card_body::-webkit-scrollbar-thumb{
|
| 300 |
+
background:#1e2c35;
|
| 301 |
+
border-radius:10px;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
.welcome_block{
|
| 305 |
+
text-align:center;
|
| 306 |
+
margin:auto 0;
|
| 307 |
+
padding:20px 14px 32px;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
.welcome_icon{
|
| 311 |
+
width:56px;
|
| 312 |
+
height:56px;
|
| 313 |
+
margin:0 auto 16px;
|
| 314 |
+
border-radius:var(--radius-sm);
|
| 315 |
+
background:var(--surface);
|
| 316 |
+
border:1px solid var(--border);
|
| 317 |
+
color:var(--teal);
|
| 318 |
+
display:flex;
|
| 319 |
+
align-items:center;
|
| 320 |
+
justify-content:center;
|
| 321 |
+
font-size:1.3rem;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
.welcome_block h3{
|
| 325 |
+
font-family:'Plus Jakarta Sans', sans-serif;
|
| 326 |
+
font-size:1.1rem;
|
| 327 |
+
font-weight:700;
|
| 328 |
+
color:var(--text);
|
| 329 |
+
margin:0 0 8px;
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
.welcome_block p{
|
| 333 |
+
font-size:0.85rem;
|
| 334 |
+
color:var(--text-dim);
|
| 335 |
+
max-width:320px;
|
| 336 |
+
margin:0 auto;
|
| 337 |
+
line-height:1.6;
|
| 338 |
+
}
|
| 339 |
+
|
| 340 |
+
/* utility classes used in JS-injected markup */
|
| 341 |
+
.d-flex{ display:flex; }
|
| 342 |
+
.justify-content-end{ justify-content:flex-end; }
|
| 343 |
+
.justify-content-start{ justify-content:flex-start; }
|
| 344 |
+
.mb-4{ margin-bottom:20px; }
|
| 345 |
+
|
| 346 |
+
.img_cont_msg{
|
| 347 |
+
width:32px;
|
| 348 |
+
height:32px;
|
| 349 |
+
flex:0 0 auto;
|
| 350 |
+
align-self:flex-end;
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
.user_img_msg{
|
| 354 |
+
width:32px;
|
| 355 |
+
height:32px;
|
| 356 |
+
border-radius:50%;
|
| 357 |
+
object-fit:cover;
|
| 358 |
+
background:var(--surface);
|
| 359 |
+
border:1px solid var(--border);
|
| 360 |
+
padding:3px;
|
| 361 |
+
}
|
| 362 |
+
|
| 363 |
+
.msg_cotainer,
|
| 364 |
+
.msg_cotainer_send{
|
| 365 |
+
max-width:68%;
|
| 366 |
+
padding:13px 17px;
|
| 367 |
+
font-size:0.9rem;
|
| 368 |
+
line-height:1.55;
|
| 369 |
+
position:relative;
|
| 370 |
+
word-wrap:break-word;
|
| 371 |
+
animation:rise 0.22s ease;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
@keyframes rise{
|
| 375 |
+
from{ opacity:0; transform:translateY(6px); }
|
| 376 |
+
to{ opacity:1; transform:translateY(0); }
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
.msg_cotainer{
|
| 380 |
+
margin-left:10px;
|
| 381 |
+
background:var(--surface);
|
| 382 |
+
color:var(--text);
|
| 383 |
+
border:1px solid var(--border);
|
| 384 |
+
border-radius:4px var(--radius-md) var(--radius-md) var(--radius-md);
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
.msg_cotainer_send{
|
| 388 |
+
margin-right:10px;
|
| 389 |
+
background:var(--teal-soft);
|
| 390 |
+
color:#eafffd;
|
| 391 |
+
border:1px solid rgba(23,184,176,0.3);
|
| 392 |
+
border-radius:var(--radius-md) 4px var(--radius-md) var(--radius-md);
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
.msg_time,
|
| 396 |
+
.msg_time_send{
|
| 397 |
+
display:block;
|
| 398 |
+
font-size:0.65rem;
|
| 399 |
+
margin-top:7px;
|
| 400 |
+
opacity:0.6;
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
.msg_time_send{ text-align:right; color:#9fe8e2; }
|
| 404 |
+
.msg_time{ color:var(--text-faint); }
|
| 405 |
+
|
| 406 |
+
/* typing indicator */
|
| 407 |
+
.typing_dots{ display:flex; align-items:center; gap:4px; padding:15px 17px; }
|
| 408 |
+
.typing_dots span{
|
| 409 |
+
width:6px; height:6px; border-radius:50%;
|
| 410 |
+
background:var(--teal);
|
| 411 |
+
opacity:0.5;
|
| 412 |
+
animation:typingBlink 1.1s infinite ease-in-out;
|
| 413 |
+
}
|
| 414 |
+
.typing_dots span:nth-child(2){ animation-delay:0.15s; }
|
| 415 |
+
.typing_dots span:nth-child(3){ animation-delay:0.3s; }
|
| 416 |
+
|
| 417 |
+
@keyframes typingBlink{
|
| 418 |
+
0%, 80%, 100%{ transform:scale(0.8); opacity:0.35; }
|
| 419 |
+
40%{ transform:scale(1.15); opacity:1; }
|
| 420 |
+
}
|
| 421 |
+
|
| 422 |
+
/* ---------------- Input footer ---------------- */
|
| 423 |
+
|
| 424 |
+
.card-footer{
|
| 425 |
+
flex:0 0 auto;
|
| 426 |
+
padding:18px 32px 24px;
|
| 427 |
+
border-top:1px solid var(--border);
|
| 428 |
+
background:var(--bg);
|
| 429 |
+
}
|
| 430 |
+
|
| 431 |
+
.input-group{
|
| 432 |
+
display:flex;
|
| 433 |
+
align-items:center;
|
| 434 |
+
gap:10px;
|
| 435 |
+
background:var(--surface);
|
| 436 |
+
border:1px solid var(--border);
|
| 437 |
+
border-radius:var(--radius-md);
|
| 438 |
+
padding:6px 6px 6px 18px;
|
| 439 |
+
transition:border-color 0.2s ease, box-shadow 0.2s ease;
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
.input-group:focus-within{
|
| 443 |
+
border-color:rgba(23,184,176,0.5);
|
| 444 |
+
box-shadow:0 0 0 3px rgba(23,184,176,0.12);
|
| 445 |
+
}
|
| 446 |
+
|
| 447 |
+
.type_msg{
|
| 448 |
+
flex:1 1 auto;
|
| 449 |
+
border:none;
|
| 450 |
+
outline:none;
|
| 451 |
+
background:transparent;
|
| 452 |
+
font-size:0.92rem;
|
| 453 |
+
font-family:'Inter', sans-serif;
|
| 454 |
+
color:var(--text);
|
| 455 |
+
padding:12px 0;
|
| 456 |
+
}
|
| 457 |
+
|
| 458 |
+
.type_msg::placeholder{ color:var(--text-faint); }
|
| 459 |
+
|
| 460 |
+
.send_btn{
|
| 461 |
+
flex:0 0 auto;
|
| 462 |
+
width:42px;
|
| 463 |
+
height:42px;
|
| 464 |
+
border:none;
|
| 465 |
+
border-radius:var(--radius-sm);
|
| 466 |
+
background:var(--teal);
|
| 467 |
+
color:#06201f;
|
| 468 |
+
display:flex;
|
| 469 |
+
align-items:center;
|
| 470 |
+
justify-content:center;
|
| 471 |
+
font-size:0.9rem;
|
| 472 |
+
cursor:pointer;
|
| 473 |
+
transition:transform 0.16s ease, background 0.16s ease;
|
| 474 |
+
}
|
| 475 |
+
|
| 476 |
+
.send_btn i{ transform:translateX(-1px); }
|
| 477 |
+
|
| 478 |
+
.send_btn:hover{
|
| 479 |
+
background:var(--cyan);
|
| 480 |
+
transform:translateY(-1px);
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
.send_btn:active{ transform:translateY(0) scale(0.95); }
|
| 484 |
+
|
| 485 |
+
/* ---------------- Responsive ---------------- */
|
| 486 |
+
|
| 487 |
+
@media (max-width: 900px){
|
| 488 |
+
html, body{ height:100%; overflow:hidden; }
|
| 489 |
+
.dashboard{
|
| 490 |
+
display:flex;
|
| 491 |
+
flex-direction:column;
|
| 492 |
+
height:100vh;
|
| 493 |
+
height:100dvh;
|
| 494 |
+
}
|
| 495 |
+
.panel{
|
| 496 |
+
flex:0 0 auto;
|
| 497 |
+
flex-direction:row;
|
| 498 |
+
align-items:center;
|
| 499 |
+
overflow-x:auto;
|
| 500 |
+
padding:14px 16px;
|
| 501 |
+
border-right:none;
|
| 502 |
+
border-bottom:1px solid var(--border);
|
| 503 |
+
gap:14px;
|
| 504 |
+
-webkit-overflow-scrolling:touch;
|
| 505 |
+
}
|
| 506 |
+
.panel_top, .panel_desc, .panel_stats, .panel_footer{ display:none; }
|
| 507 |
+
.panel_avatar{
|
| 508 |
+
border-bottom:none;
|
| 509 |
+
margin:0;
|
| 510 |
+
padding:0;
|
| 511 |
+
display:flex;
|
| 512 |
+
align-items:center;
|
| 513 |
+
gap:12px;
|
| 514 |
+
text-align:left;
|
| 515 |
+
white-space:nowrap;
|
| 516 |
+
}
|
| 517 |
+
.avatar_ring{ width:42px; height:42px; margin:0; flex:0 0 auto; }
|
| 518 |
+
.avatar_img{ font-size:1.1rem; }
|
| 519 |
+
.avatar_status{ width:10px; height:10px; }
|
| 520 |
+
.panel_avatar h2{ font-size:0.9rem; margin:0; }
|
| 521 |
+
.panel_avatar .role{ display:none; }
|
| 522 |
+
.status_chip{ font-size:0.7rem; padding:5px 11px; white-space:nowrap; }
|
| 523 |
+
|
| 524 |
+
.chat{ flex:1 1 auto; min-height:0; height:auto; }
|
| 525 |
+
.chat_head{ padding:14px 16px; flex-wrap:wrap; gap:6px; }
|
| 526 |
+
.chat_head_left p{ font-size:0.72rem; }
|
| 527 |
+
.msg_card_body{ padding:16px; }
|
| 528 |
+
.card-footer{ padding:12px 12px max(12px, env(safe-area-inset-bottom)); }
|
| 529 |
+
.msg_cotainer, .msg_cotainer_send{ max-width:84%; font-size:0.88rem; }
|
| 530 |
+
|
| 531 |
+
/* prevent iOS auto-zoom on input focus */
|
| 532 |
+
.type_msg{ font-size:16px; }
|
| 533 |
+
}
|
| 534 |
+
|
| 535 |
+
@media (max-width: 480px){
|
| 536 |
+
.panel{ padding:12px 14px; gap:10px; }
|
| 537 |
+
.brand_name{ font-size:0.95rem; }
|
| 538 |
+
.panel_avatar h2{ font-size:0.85rem; }
|
| 539 |
+
.status_chip{ display:none; }
|
| 540 |
+
.chat_head{ padding:12px 14px; }
|
| 541 |
+
.chat_head_left span{ font-size:0.92rem; }
|
| 542 |
+
.msg_card_body{ padding:12px; }
|
| 543 |
+
.welcome_icon{ width:46px; height:46px; font-size:1.1rem; }
|
| 544 |
+
.welcome_block h3{ font-size:1rem; }
|
| 545 |
+
.welcome_block p{ font-size:0.8rem; }
|
| 546 |
+
.msg_cotainer, .msg_cotainer_send{ max-width:88%; padding:11px 14px; font-size:0.86rem; }
|
| 547 |
+
.img_cont_msg, .user_img_msg{ width:28px; height:28px; }
|
| 548 |
+
.card-footer{ padding:10px 10px max(10px, env(safe-area-inset-bottom)); }
|
| 549 |
+
.input-group{ padding:4px 4px 4px 14px; }
|
| 550 |
+
.send_btn{ width:38px; height:38px; }
|
| 551 |
+
}
|
| 552 |
+
|
| 553 |
+
@media (prefers-reduced-motion: reduce){
|
| 554 |
+
.avatar_status, .typing_dots span, .msg_cotainer, .msg_cotainer_send{
|
| 555 |
+
animation:none !important;
|
| 556 |
+
}
|
| 557 |
+
}
|