.chat-container{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;flex-direction:column;width:100%;max-width:28rem;margin:auto;height:100vh;background-color:var(--bg-primary);position:relative;box-shadow:0 0 20px rgba(0,0,0,.1);--bg-primary:#f0f2f5;--bg-secondary:#ffffff;--text-primary:#1f2937;--text-secondary:#6b7280;--user-bubble:#dcf8c6;--assistant-bubble:#ffffff;--border-color:#e5e7eb;--accent-color:#3858ca;--accent-hover:#2c4bb8;--success-color:#25d366;--error-color:#ef4444}.chat-header{background-color:var(--accent-color);color:white;padding:.75rem 1rem;box-shadow:0 2px 4px rgba(0,0,0,.1);z-index:10}.chat-header,.header-content{display:flex;align-items:center}.header-content{gap:.75rem}.header-text{display:flex;flex-direction:column}.assistant-name{font-weight:600;font-size:1rem}.status{font-size:.75rem;opacity:.9}.chat-header .avatar{width:2.5rem;height:2.5rem;border-radius:50%;padding:2px;background:white}.welcome-message{display:flex;flex-direction:column;align-items:center;text-align:center;padding:2rem 1rem;margin-bottom:1rem}.welcome-avatar{width:4rem;height:4rem;border-radius:50%;padding:4px;background:white;box-shadow:0 4px 12px rgba(0,0,0,.1);margin-bottom:1rem}.welcome-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.welcome-text h3{margin:0 0 .5rem;color:var(--text-primary);font-weight:600}.welcome-text p{margin:0;color:var(--text-secondary)}.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:1rem;background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E")}.message-row{display:flex;align-items:flex-end;gap:.5rem}.message-row.user{justify-content:flex-end}.message-row.assistant{justify-content:flex-start}.message-avatar{width:1.75rem;height:1.75rem;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#e9e9e9}.message-avatar.user-avatar{background:var(--accent-color);color:white}.message-avatar svg{width:1rem;height:1rem}.message-bubble{padding:.75rem 1rem;border-radius:1.125rem;max-width:75%;font-size:.95rem;line-height:1.4;position:relative;box-shadow:0 1px 2px rgba(0,0,0,.1)}.message-bubble.user{background-color:var(--user-bubble);border-bottom-right-radius:.25rem;color:var(--text-primary);white-space:pre-line}.message-bubble.assistant{background-color:var(--assistant-bubble);border-bottom-left-radius:.25rem;color:var(--text-primary);box-shadow:0 1px 2px rgba(0,0,0,.05);white-space:pre-line}.message-bubble.assistant h1,.message-bubble.assistant h2,.message-bubble.assistant h3{margin:.5rem 0 .25rem;font-weight:600;color:var(--text-primary)}.message-bubble.assistant ol,.message-bubble.assistant ul{margin:.25rem 0 .5rem 1.25rem;padding-left:0}.message-bubble.assistant li{margin-bottom:.25rem;line-height:1.4}.message-time{font-size:.7rem;color:var(--text-secondary);text-align:right;margin-top:.25rem}.message-row.assistant .message-time{text-align:left}.loading-dots{display:flex;gap:.35rem;align-items:center;padding:.5rem 0}.dot{width:.5rem;height:.5rem;border-radius:50%;background-color:var(--text-secondary);animation:pulse 1.2s infinite}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes pulse{0%,to{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}.chat-input-container{background-color:var(--bg-secondary);padding:1rem;border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:.75rem}.input-wrapper{display:flex;align-items:flex-end;gap:.5rem;background:#f9f9f9;border-radius:1.5rem;padding:.5rem .75rem;border:1px solid var(--border-color)}.chat-textarea{flex:1;border:none;resize:none;background:transparent;color:var(--text-primary);font-size:.95rem;font-family:inherit;padding:1.25rem 0;max-height:120px;outline:none}.chat-textarea::placeholder{color:var(--text-secondary)}.send-button{background-color:var(--accent-color);border-radius:50%;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;color:white;border:none;cursor:pointer;flex-shrink:0;transition:background-color .2s}.send-button:hover{background-color:var(--accent-hover)}.send-button:disabled{background-color:var(--text-secondary);cursor:not-allowed}.send-button svg{width:1rem;height:1rem;transform:rotate(45deg)}.form-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.6rem 1rem;background-color:var(--accent-color);color:white;border:none;border-radius:1.5rem;cursor:pointer;font-weight:500;font-size:.9rem;transition:background-color .2s}.form-button:hover{background-color:var(--accent-hover)}.form-button svg{width:1rem;height:1rem}.form-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.contact-form{background-color:rgb(255,255,255);border-radius:1rem;box-shadow:0 10px 25px rgba(0,0,0,.2);padding:1.5rem;width:100%;max-width:400px;max-height:70vh;overflow-y:auto;animation:scaleIn .2s ease-out;color:black}.contact-form::-webkit-scrollbar{width:1px}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}.form-header h3{margin:0;color:var(--text-primary);font-weight:600}.close-button{background:none;border:none;cursor:pointer;color:var(--text-secondary);padding:.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center}.close-button:hover{background:#f5f5f5}.close-button svg{width:1.25rem;height:1.25rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.75rem}.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:.5rem;font-size:.9rem;font-family:inherit;margin-bottom:.75rem;transition:border-color .2s}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:var(--accent-color)}.contact-form textarea{resize:vertical;min-height:79.9px}.checkbox-group{margin:1rem 0}.checkbox-label{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;cursor:pointer;font-size:.9rem;color:var(--text-primary)}.checkbox-label input{display:none}.checkmark{width:1.1rem;height:1.1rem;border:1px solid var(--border-color);border-radius:.25rem;display:flex;align-items:center;justify-content:center;transition:background-color .2s,border-color .2s}.checkbox-label input:checked+.checkmark{background-color:var(--accent-color);border-color:var(--accent-color)}.checkbox-label input:checked+.checkmark:after{content:"✓";color:white;font-size:.7rem}.form-actions{display:flex;gap:.75rem;margin-top:1rem}.cancel-button,.submit-button{flex:1;padding:.75rem 1rem;border:none;border-radius:.5rem;font-weight:500;cursor:pointer;transition:background-color .2s}.submit-button{background-color:var(--accent-color);color:white}.submit-button:hover:not(:disabled){background-color:var(--accent-hover)}.submit-button:disabled{background-color:var(--text-secondary);cursor:not-allowed}.cancel-button{background-color:#f3f4f6;color:var(--text-primary)}.cancel-button:hover{background-color:#e5e7eb}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#a1a1a1}@media (max-width:480px){.chat-container{height:100vh;max-width:100%;border-radius:0}.form-grid{grid-template-columns:1fr}.message-bubble{max-width:85%}}.inline-contact-form{margin-top:.5rem;background:#f9fafb;border-radius:12px;padding:1rem;font-size:.9rem;max-width:100%;box-shadow:inset 0 1px 3px rgba(0,0,0,.08)}.inline-contact-form h4{margin:0 0 .75rem;font-size:1rem;font-weight:600;color:#333}.inline-contact-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.75rem}.inline-contact-form input,.inline-contact-form select,.inline-contact-form textarea{width:100%;padding:.6rem .75rem;border:1px solid #d1d5db;border-radius:8px;font-size:.9rem;outline:none;transition:border-color .2s,box-shadow .2s}.inline-contact-form input:focus,.inline-contact-form select:focus,.inline-contact-form textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.3)}.inline-contact-form textarea{resize:vertical;min-height:60px}.inline-contact-form .form-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:.75rem}.inline-contact-form .submit-button{background:#3b82f6;color:white;font-weight:600;padding:.6rem 1.2rem;border:none;border-radius:8px;cursor:pointer;transition:background .2s}.inline-contact-form .submit-button:hover{background:#2563eb}.inline-contact-form .submit-button:disabled{background:#9ca3af;cursor:not-allowed}