.chat-widget-container{position:fixed;z-index:9999;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.chat-widget-container.bottom-right{bottom:20px;right:20px}.chat-widget-container.bottom-left{bottom:20px;left:20px}.chat-bubble{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);border:none;cursor:pointer;box-shadow:0 4px 12px #00000026;display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s}.chat-bubble:hover{transform:scale(1.05);box-shadow:0 6px 16px #0003}.chat-bubble:active{transform:scale(.95)}.chat-window{width:420px;height:650px;background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000001f;display:flex;flex-direction:column;overflow:hidden;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:16px;display:flex;justify-content:space-between;align-items:center}.chat-header-content{display:flex;align-items:center;gap:12px}.chat-avatar{width:40px;height:40px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px}.chat-title{font-weight:600;font-size:16px}.chat-subtitle{font-size:12px;opacity:.9}.close-button{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:4px;line-height:1;opacity:.8;transition:opacity .2s}.close-button:hover{opacity:1}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:#f8f9fa}.message{display:flex;gap:8px;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message.user{justify-content:flex-end}.message.assistant{justify-content:flex-start}.message-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;flex-shrink:0}.message-content{max-width:70%;padding:10px 14px;border-radius:12px;line-height:1.4;font-size:14px;white-space:pre-wrap;word-wrap:break-word}.message.user .message-content{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-bottom-right-radius:4px}.message.assistant .message-content{background:#fff;color:#1a1a1a;border-bottom-left-radius:4px;box-shadow:0 1px 2px #0000000d}.message.assistant .message-content.error{background:#fee;color:#c33}.cursor{display:inline-block;animation:blink 1s infinite;margin-left:2px}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}.thinking-indicator{display:flex;align-items:center;gap:6px;padding:10px 14px;border-radius:12px;background:#fff;box-shadow:0 1px 2px #0000000d}.thinking-text{font-size:13px;color:#666;font-style:italic}.thinking-indicator .dot{width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);animation:bounce 1.4s infinite ease-in-out}.thinking-indicator .dot:nth-child(3){animation-delay:.16s}.thinking-indicator .dot:nth-child(4){animation-delay:.32s}@keyframes bounce{0%,80%,to{transform:scale(.6);opacity:.5}40%{transform:scale(1);opacity:1}}.chat-input-container{border-top:1px solid #e0e0e0;padding:12px;display:flex;gap:8px;background:#fff}.chat-input{flex:1;border:1px solid #e0e0e0;border-radius:20px;padding:8px 12px;font-size:14px;font-family:inherit;resize:none;max-height:100px;min-height:40px;outline:none;transition:border-color .2s}.chat-input:focus{border-color:#667eea}.chat-input:disabled{background:#f5f5f5;cursor:not-allowed}.send-button{width:40px;height:40px;border-radius:50%;border:none;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s,opacity .2s}.send-button:hover:not(:disabled){transform:scale(1.05)}.send-button:active:not(:disabled){transform:scale(.95)}.send-button:disabled{opacity:.5;cursor:not-allowed}.chat-footer{padding:8px 16px;text-align:center;font-size:11px;color:#999;border-top:1px solid #e0e0e0;background:#fff}@media (max-width: 480px){.chat-window{width:100vw;height:100vh;border-radius:0;position:fixed;top:0;left:0;right:0;bottom:0}.chat-bubble{width:56px;height:56px}.chat-widget-container.bottom-right,.chat-widget-container.bottom-left{bottom:16px;right:16px}}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:transparent}.chat-messages::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#999}.vehicle-card{background:#fff;border-radius:12px;padding:16px;margin:8px 0;box-shadow:0 2px 8px #0000001a;border:1px solid #e0e0e0;max-width:100%}.vehicle-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.vehicle-card-title{flex:1}.vehicle-make-model{font-weight:600;font-size:15px;color:#1a1a1a;margin-bottom:2px}.vehicle-derivative{font-size:12px;color:#666}.vehicle-savings-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:6px 10px;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap}.vehicle-pricing{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}.vehicle-retail-price{text-decoration:line-through;color:#999;font-size:14px}.vehicle-our-price{font-size:20px;font-weight:700;color:#667eea}.vehicle-specs{font-size:12px;color:#666;margin-bottom:4px}.vehicle-spec-badge{background:#f5f5f5;padding:4px 8px;border-radius:6px;font-size:12px;color:#666}.vehicle-finance{font-size:13px;color:#666;margin-bottom:8px}.vehicle-delivery{font-size:12px;color:#999;font-style:italic}.vehicle-options-total{font-size:12px;color:#667eea;font-weight:600;margin-top:4px}
