body{margin:0;padding:0;font-family:Inter,sans-serif;background:transparent}.app-wrapper{height:100vh;display:flex;justify-content:center;align-items:flex-end;padding-bottom:40px;background:linear-gradient(135deg,#dbeafe,#bfdbfe 35%,#93c5fd)}.chat-container{width:440px;height:680px;background:#ffffff59;backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);border-radius:24px;border:1px solid rgba(255,255,255,.5);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #00000026}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:20px;background:#fff6;border-bottom:1px solid rgba(255,255,255,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-content{display:flex;align-items:center;gap:12px}.header-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;box-shadow:0 2px 8px #00000026;border:2px solid rgba(255,255,255,.8)}.header-text{display:flex;flex-direction:column;gap:2px}.header-title{font-size:18px;font-weight:700;color:#1e3a8a;margin:0;line-height:1.2}.header-status{display:flex;align-items:center;gap:6px;font-size:13px;color:#3b82f6;font-weight:500;transition:color .3s ease}.header-status.status-offline{color:#ef4444}.status-dot{width:8px;height:8px;background:#10b981;border-radius:50%;animation:pulse 2s ease-in-out infinite;transition:background .3s ease}.status-dot.offline{background:#ef4444;animation:none}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.9)}}.beta-badge{font-size:10px;font-weight:700;color:#3b82f6;background:#3b82f626;padding:4px 10px;border-radius:12px;border:1px solid rgba(59,130,246,.3);letter-spacing:.5px}.connection-warning{display:flex;align-items:center;gap:10px;padding:12px 20px;background:#fee2e2e6;border-bottom:1px solid rgba(239,68,68,.3);color:#991b1b;font-size:13px;line-height:1.4;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.connection-warning svg{flex-shrink:0;color:#ef4444}.connection-warning code{background:#ef44441a;padding:2px 6px;border-radius:4px;font-family:monospace;font-size:12px}.chat-window{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column}.welcome-message{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;padding:40px 20px;animation:fadeIn .5s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.welcome-icon{font-size:64px;margin-bottom:16px;animation:wave 1.5s ease-in-out infinite}@keyframes wave{0%,to{transform:rotate(0)}25%{transform:rotate(20deg)}75%{transform:rotate(-20deg)}}.welcome-title{font-size:24px;font-weight:700;color:#1e3a8a;margin:0 0 8px}.welcome-subtitle{font-size:15px;color:#3b82f6;margin:0;line-height:1.5}.msg-row{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px;animation:slideIn .3s ease-out}.msg-row-user{justify-content:flex-end}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.user-bubble{align-self:flex-end;background:linear-gradient(135deg,#3b82f6e6,#2563ebe6);color:#fff;border-radius:18px 18px 4px;padding:12px 16px;max-width:75%;box-shadow:0 2px 8px #3b82f64d;font-size:15px;line-height:1.5;word-wrap:break-word}.bot-bubble{align-self:flex-start;background:#ffffffbf;color:#1e293b;border-radius:18px 18px 18px 4px;padding:12px 16px;max-width:75%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.5);box-shadow:0 2px 8px #00000014;font-size:15px;line-height:1.5;word-wrap:break-word}.avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;box-shadow:0 2px 8px #00000026;border:2px solid rgba(255,255,255,.8);flex-shrink:0}.chat-input-section{display:flex;gap:10px;padding:16px 20px;background:#fff6;border-top:1px solid rgba(255,255,255,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chat-input{flex:1;padding:14px 16px;border-radius:16px;border:1px solid rgba(255,255,255,.6);background:#fffc;color:#1e293b;font-size:15px;outline:none;transition:all .2s ease}.chat-input:focus{border-color:#3b82f680;background:#fffffff2;box-shadow:0 0 0 3px #3b82f61a}.chat-input:disabled{opacity:.6;cursor:not-allowed}.chat-input::placeholder{color:#94a3b8}.send-button{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:linear-gradient(135deg,#3b82f6e6,#2563ebe6);color:#fff;border:none;cursor:pointer;box-shadow:0 4px 12px #3b82f666;transition:all .2s ease}.send-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #3b82f680}.send-button:active:not(:disabled){transform:translateY(0)}.send-button:disabled{opacity:.5;cursor:not-allowed}.typing-bubble{background:#ffffffbf;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:18px;display:flex;align-items:center;justify-content:center;padding:12px 16px;gap:4px;border:1px solid rgba(255,255,255,.5);box-shadow:0 2px 8px #00000014}.typing-bubble span{width:8px;height:8px;background:#3b82f6;border-radius:50%;animation:blink 1.4s infinite both}.typing-bubble span:nth-child(2){animation-delay:.2s}.typing-bubble span:nth-child(3){animation-delay:.4s}@keyframes blink{0%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}to{opacity:.3;transform:translateY(0)}}.chat-window::-webkit-scrollbar{width:6px}.chat-window::-webkit-scrollbar-track{background:#fff3;border-radius:10px}.chat-window::-webkit-scrollbar-thumb{background:#3b82f666;border-radius:10px}.chat-window::-webkit-scrollbar-thumb:hover{background:#3b82f699}
