:root{--primary-color:#5B7BFE;--secondary-color:#81C3FD;--background-gradient:linear-gradient(135deg,#F8F9FF 0%,#F1F4FF 100%);--message-bg-user:var(--primary-color);--message-bg-therapist:#FFFFFF;--text-color:#2D3748;--text-light:#FFFFFF;--border-radius:16px;--shadow-sm:0 1px 3px rgba(0,0,0,.05);--shadow-md:0 4px 6px rgba(0,0,0,.05);--transition:all .2s cubic-bezier(.4,0,.2,1)}#chatWidget{position:fixed;bottom:80px;right:20px;width:600px;max-height:700px;box-shadow:0 4px 12px rgba(0,0,0,.3);border-radius:12px;overflow:hidden;background:#fff;font-family:Arial,sans-serif;transition:all .3s ease;z-index:9998}#chatWidget *{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}#chatWidget #chatToggleBtn{position:fixed !important;bottom:20px !important;right:20px !important;background-color:var(--primary-color);border:none;border-radius:50%;width:50px;height:50px;color:var(--text-light);cursor:pointer;font-size:24px;box-shadow:0 4px 8px rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center;z-index:9999}#chatToggleBtn i{font-size:24px;color:var(--text-light);font-family:"Font Awesome 5 Free";font-weight:900;pointer-events:none;line-height:1}#chatWidget.chat-widget-closed .chat-container{display:none}#chatWidget .chat-container{width:100%;max-width:800px;height:100%;max-height:500px;min-height:500px;background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow-md);display:flex;flex-direction:column;overflow:hidden;margin:0}#chatWidget .chat-header{padding:1.5rem;background:var(--primary-color);color:var(--text-light)}#chatWidget .chat-info{display:flex;align-items:center;gap:1rem}#chatWidget .avatar-container{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1)}#chatWidget .avatar-container.professional{background:rgba(255,255,255,.2)}#chatWidget .avatar-icon_old{width:24px;height:24px}#chatWidget .avatar-icon{width:60px;height:60px;border-radius:10%;object-fit:cover}#chatWidget .chat-details h1{font-size:1.25rem;font-weight:600;margin-bottom:.25rem}#chatWidget .status-indicator{display:flex;align-items:center;gap:.5rem}#chatWidget .status-dot{width:8px;height:8px;background:#4ade80;border-radius:50%;animation:pulse 1.5s infinite}#chatWidget .status-text{font-size:.875rem;opacity:.9}#chatWidget .chat-messages{flex:1;padding:1.5rem;overflow-y:auto;display:flex;flex-direction:column;gap:1.5rem;background:#f8faff;max-height:450px}#chatWidget .message{max-width:75%;animation:slideIn .3s ease-out}#chatWidget .message.therapist{align-self:flex-start}#chatWidget .message.user{align-self:flex-end}#chatWidget .message-content{padding:1rem 1.25rem;border-radius:1.25rem;position:relative;line-height:1.5;box-shadow:var(--shadow-sm);transition:var(--transition)}#chatWidget .message.therapist .message-content{background:var(--message-bg-therapist);border-radius:1.25rem 1.25rem 1.25rem .5rem}#chatWidget .message.user .message-content{background:var(--message-bg-user);color:var(--text-light);border-radius:1.25rem 1.25rem .5rem 1.25rem}#chatWidget .timestamp{display:block;font-size:.75rem;opacity:.8;margin-top:.5rem}#chatWidget .chat-input-container{padding:1.5rem;background:#fff;border-top:1px solid rgba(0,0,0,.05)}#chatWidget .input-wrapper{display:flex;gap:.75rem;background:#f8faff;padding:.75rem;border-radius:.75rem;border:1px solid rgba(0,0,0,.05)}#chatWidget #messageInput{flex:1;border:none;background:transparent;font-size:1rem;padding:.5rem;color:var(--text-color)}#chatWidget #messageInput:focus{outline:none}#chatWidget #sendButton{background:var(--primary-color);color:#fff;border:none;border-radius:.75rem;width:48px;height:48px;cursor:pointer;transition:var(--transition);display:flex;align-items:center;justify-content:center}#sendButton i{font-size:20px;color:#fff;font-family:"Font Awesome 5 Free";font-weight:900;pointer-events:none;line-height:1}#chatWidget #sendButton:hover{opacity:.9;transform:translateY(-1px)}#chatWidget .input-hint{font-size:.875rem;color:#718096;text-align:center;margin-top:.75rem}@keyframes slideIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{opacity:1}50%{opacity:.5}100%{opacity:1}}#chatWidget .typing-indicator{display:inline-flex;gap:4px;padding:1rem 1.25rem;background:#fff;border-radius:1.25rem}#chatWidget .typing-dot{width:6px;height:6px;background:#cbd5e0;border-radius:50%;animation:bounce 1.4s infinite ease-in-out}#chatWidget .typing-dot:nth-child(2){animation-delay:.2s}#chatWidget .typing-dot:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,80%,100%{transform:translateY(0)}40%{transform:translateY(-6px)}}#chatWidget .chat-messages::-webkit-scrollbar{width:6px}#chatWidget .chat-messages::-webkit-scrollbar-thumb{background:rgba(91,123,254,.2);border-radius:3px}@media(max-width:768px){#chatWidget{width:90vw;max-height:80vh;right:5vw;bottom:80px;font-size:1rem}#chatWidget .chat-header h1{font-size:1.125rem}#chatWidget .chat-input-container input,#chatWidget .chat-input-container button{font-size:.875rem}}