.chat-floating-button{bottom:20px;z-index:1000;position:fixed;inset-inline-end:20px}.chat-toggle-btn{background:linear-gradient(135deg,var(--primary),var(--secandry));cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;transition:all .3s;display:flex;box-shadow:0 4px 12px #007bff4d}.chat-toggle-btn:hover{transform:scale(1.1);box-shadow:0 6px 16px #007bff66}.chat-toggle-btn svg{color:#fff}.chat-overlay{z-index:999;background:#00000080;width:100%;height:100%;position:fixed;top:0;left:0}.chat-container{bottom:90px;z-index:1000;background:#fff;border-radius:12px;flex-direction:column;width:400px;height:500px;animation:.3s slideUp;display:flex;position:fixed;inset-inline-end:20px;overflow:hidden;box-shadow:0 8px 32px #00000026}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-header{background:var(--primary);color:#fff;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.chat-header-content{align-items:center;gap:8px;font-weight:600;display:flex}.connection-dot{background:#ffc107;border-radius:50%;width:8px;height:8px;transition:background .3s}.connection-dot.connected{background:#28a745}.chat-close-btn{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:4px;justify-content:center;align-items:center;padding:6px;transition:background .3s;display:flex}.chat-close-btn:hover{background:#ffffff4d}.chat-starter{background:#f8f9fa;flex:1;justify-content:center;align-items:center;padding:20px;display:flex}.starter-content{flex-direction:column;align-items:center;gap:10px;width:100%;display:flex}.starter-content h3{color:#333;margin:0 0 24px;font-size:18px}.chat-messages{background:#f8f9fa;flex:1;padding:20px;overflow-y:auto}.back-button{color:#6c757d;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;margin-bottom:16px;padding:6px 0;font-size:13px;transition:color .3s;display:flex}.back-button:hover{color:var(--primary)}.message{flex-direction:column;margin-bottom:16px;display:flex}.message.user{align-items:flex-end}.message.support{align-items:flex-start}.message-content{border-radius:15px;max-width:80%;padding:12px 16px;font-size:14px;line-height:1.4}.message.user .message-content{background:var(--primary);color:#fff;border-bottom-left-radius:5px}.message.support .message-content{color:#333;background:#fff;border:1px solid #e9ecef;border-bottom-right-radius:5px}.message-time{color:#6c757d;direction:rtl;margin-top:4px;font-size:11px}.chat-input-area{background:#fff;border-top:1px solid #e9ecef;padding:16px 20px}.chat-input-container{align-items:flex-end;gap:8px;display:flex}.chat-input{resize:none;border:1px solid #e9ecef;border-radius:20px;outline:none;flex:1;max-height:80px;padding:12px 16px;font-family:inherit;font-size:14px}.chat-input:focus{border-color:var(--primary)}.chat-send-btn{background:var(--primary);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:all .3s;display:flex}.chat-send-btn:hover:not(:disabled){background:var(--secandry);transform:scale(1.05)}.chat-send-btn:disabled{cursor:not-allowed;background:#6c757d}.chat-send-btn svg{color:#fff}.typing-indicator{background:var(--bgError);border:1px solid var(--primary);color:#333;border-radius:18px 18px 6px;gap:8px;padding:5px 10px;font-size:10px;display:flex}.typing-dots{align-items:center;gap:4px;display:flex}.typing-dots span{background:var(--primary);border-radius:50%;width:4px;height:4px;animation:1.4s ease-in-out infinite typing-bounce}.typing-dots span:first-child{animation-delay:-.32s}.typing-dots span:nth-child(2){animation-delay:-.16s}.typing-dots span:nth-child(3){animation-delay:0s}@keyframes typing-bounce{0%,80%,to{opacity:.5;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.starterMessages{flex-wrap:wrap;gap:3px;display:flex}.starterMessages .sMessager{background-color:var(--secandry);color:var(--light);border-radius:var(--raduis);cursor:pointer;flex:calc(50% - 5px);justify-content:center;align-items:center;gap:5px;padding:10px 3px;font-size:11px;font-weight:700;display:flex}.starterMessages .sMessager:hover{opacity:.9}@media (max-width:480px){.chat-container{bottom:80px;width:320px;height:450px;inset-inline-end:10px}.chat-floating-button{bottom:15px;inset-inline-end:15px}.chat-toggle-btn{width:50px;height:50px}}
