.nebula-chat{position:fixed;bottom:20px;right:20px;height:560px;width:380px;border-radius:25px;background:#fff;z-index:99999;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 20px rgba(0,0,0,.15)}.nebula-header{border-bottom:1px solid #eee;background:linear-gradient(135deg,#00322e,#00322e);color:#fff;position:relative;padding:12px 16px}.nebula-messages{flex:1 1;overflow-y:auto;padding:16px 12px;background:#f8f9fa}.nebula-input{border-top:1px solid #eee;padding:12px;background:#fff}.nebula-notification-badge{position:absolute;top:-5px;right:-5px;width:12px;height:12px;border-radius:50%;background:#ff4757;border:2px solid #fff;animation:pulse 1.5s infinite}.nebula-avatar{width:42px;height:42px;border-radius:21px;background:#fff;color:#00322e;font-weight:700}.nebula-avatar,.nebula-close-btn{display:flex;align-items:center;justify-content:center;font-size:18px}.nebula-close-btn{background:rgba(255,255,255,.2);color:#fff;border:none;border-radius:50%;width:32px;height:32px;cursor:pointer;transition:background .2s}.nebula-close-btn:hover{background:rgba(255,255,255,.3)}.nebula-icon-btn{width:40px;height:40px;border-radius:50%;border:none;background:#f1f3f5;color:#495057;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;transition:all .2s}.nebula-icon-btn:hover:not(:disabled){background:#e9ecef;transform:translateY(-1px)}.nebula-icon-btn:disabled{opacity:.5;cursor:not-allowed}.nebula-input-field{flex:1 1;padding:10px 16px;border:1px solid #ddd;border-radius:24px;font-size:14px;outline:none;transition:border-color .2s}.nebula-input-field:focus{border-color:#00322e}.nebula-input-field:disabled{background:#f8f9fa;cursor:not-allowed}.nebula-send-btn{width:40px;height:40px;border-radius:50%;border:none;background:#00322e;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;transition:all .2s}.nebula-send-btn:disabled{background:#ccc;cursor:not-allowed}.nebula-send-btn:not(:disabled):hover{background:#0c3126;transform:translateY(-1px)}.nebula-upload-progress{padding:8px 16px;background:#f8f9fa;border-bottom:1px solid #eee}.nebula-progress-bar{flex:1 1;height:4px;background:#e9ecef;border-radius:2px;overflow:hidden}.nebula-progress-fill{height:100%;background:#00322e;transition:width .3s ease}.nebula-recording-alert{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding:8px 12px;background:#ffebee;border-radius:8px;font-size:14px}.nebula-stop-btn{background:#d32f2f;color:#fff;border:none;border-radius:4px;padding:4px 12px;font-size:12px;cursor:pointer;transition:background .2s}.nebula-stop-btn:hover{background:#b71c1c}.nebula-typing-indicator{padding:8px 16px;margin-top:8px}.nebula-typing-dots{display:flex;align-items:center;gap:4px;background:#f1f3f5;padding:8px 12px;border-radius:12px;width:-moz-fit-content;width:fit-content}.nebula-typing-dot{width:8px;height:8px;border-radius:50%;background:#6c757d;animation:typing 1.4s ease-in-out infinite}.nebula-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6c757d;text-align:center;padding:20px}.nebula-empty-icon{font-size:48px;margin-bottom:16px}@keyframes pulse{0%{transform:scale(.95);box-shadow:0 0 0 0 rgba(255,71,87,.7)}70%{transform:scale(1);box-shadow:0 0 0 6px rgba(255,71,87,0)}to{transform:scale(.95);box-shadow:0 0 0 0 rgba(255,71,87,0)}}@keyframes typing{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@media (max-width:768px){.nebula-chat{width:100%;height:100vh;bottom:0;right:0;border-radius:0}.nebula-header{padding:16px}.nebula-avatar{width:36px;height:36px;font-size:16px}.nebula-messages{padding:12px}.nebula-input{padding:16px}}@media (max-width:480px){.nebula-chat{height:calc(100vh - 60px);bottom:0}.nebula-header{padding:12px}.nebula-messages{padding:10px}.nebula-input{padding:12px}.nebula-icon-btn,.nebula-send-btn{width:36px;height:36px;font-size:16px}.nebula-input-field{padding:8px 14px;font-size:16px}}@media (max-width:360px){.nebula-chat{height:100vh}.nebula-header{padding:10px}.nebula-avatar{width:32px;height:32px;font-size:14px}}@media (max-height:600px) and (orientation:landscape){.nebula-chat{height:85vh;border-radius:25px;right:20px;bottom:20px}.nebula-messages{max-height:60vh}}@media (min-width:601px) and (max-width:768px){.nebula-chat{width:360px;height:450px}.nebula-input .d-flex{width:100%}}.nebula-input .d-flex{width:100%}@media (min-width:769px) and (max-width:1024px){.nebula-chat{width:400px;height:450px}.nebula-input .d-flex{width:100%}}@media (min-width:1440px){.nebula-chat{width:420px;height:580px}}