.layout{display:flex;height:100vh}.left-panel{flex:2;padding:20px;overflow-y:auto;background:#f7f7f7;border-right:1px solid #ddd}.right-panel{flex:1;display:flex;flex-direction:column;background:#fff}.chat-header{padding:15px;border-bottom:1px solid #ddd}.chat-body{flex:1;overflow-y:auto;padding:15px;background:#fafafa}.chat-footer{padding:15px;border-top:1px solid #ddd}.message-wrapper{margin-bottom:12px;display:flex}.message-wrapper.user{justify-content:flex-end}.message-wrapper.bot{justify-content:flex-start}.message-bubble{max-width:75%;padding:10px 14px;border-radius:12px}.user .message-bubble{background:#2185d0;color:#fff}.bot .message-bubble{background:#e8e8e8}.card-action{margin-top:10px}#custom-chat-widget{position:fixed;right:24px;bottom:24px;z-index:999999;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}#chat-toggle{width:60px;height:60px;padding:0;border:0;border-radius:50%;background:#2563eb;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 25px #00000038;transition:transform .2s ease,background .2s ease}#chat-toggle:hover{background:#1d4ed8;transform:scale(1.06)}#chat-toggle:active{transform:scale(.96)}#chat-box{position:absolute;right:0;bottom:75px;width:380px;height:560px;background:#ffffff;border-radius:18px;overflow:hidden;border:1px solid #e5e7eb;box-shadow:0 20px 60px #0000002e,0 5px 20px #00000014;display:none;flex-direction:column}#chat-box.open{display:flex}.chat-header{height:70px;padding:0 18px;flex-shrink:0;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:space-between}.chat-header-info{display:flex;align-items:center;gap:11px}.chat-avatar{width:40px;height:40px;flex-shrink:0;border-radius:50%;background:#ffffff;display:flex;align-items:center;justify-content:center;font-size:20px}.chat-title{font-size:16px;font-weight:600;line-height:1.2}.chat-status{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:12px;color:#ffffffd9}.chat-status-dot{width:7px;height:7px;border-radius:50%;background:#4ade80}#chat-close{width:34px;height:34px;padding:0;border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:.9}#chat-close:hover{opacity:1}#chat-messages{flex:1;min-height:0;overflow-y:auto;padding:18px;background:#f8fafc;display:flex;flex-direction:column;gap:12px}#chat-messages::-webkit-scrollbar{width:5px}#chat-messages::-webkit-scrollbar-track{background:transparent}#chat-messages::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:10px}.chat-message{max-width:82%;padding:11px 14px;border-radius:14px;font-size:14px;line-height:1.5;word-break:break-word}.chat-message.bot{align-self:flex-start;background:#ffffff;color:#1f2937;border:1px solid #e5e7eb;border-bottom-left-radius:4px}.chat-message.user{align-self:flex-end;background:#2563eb;color:#fff;border-bottom-right-radius:4px}.chat-menu-container{flex-shrink:0;padding:12px;background:#ffffff;border-top:1px solid #e5e7eb}.chat-menu-title{margin-bottom:8px;color:#6b7280;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.4px}.chat-menu{display:grid;grid-template-columns:1fr 1fr;gap:7px}.chat-option{width:100%;min-height:40px;padding:9px 10px;border:1px solid #dbe3f0;border-radius:9px;background:#f8fafc;color:#2563eb;font-family:inherit;font-size:13px;font-weight:500;line-height:1.3;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .1s ease}.chat-option:hover{background:#2563eb;color:#fff;border-color:#2563eb}.chat-option:active{transform:scale(.97)}.chat-option:disabled{opacity:.5;cursor:not-allowed}.chat-option.link-option{color:#374151}.chat-option.link-option:hover{color:#fff}.chat-option.back-option{background:#ffffff;color:#6b7280;border-color:#d1d5db}.chat-option.back-option:hover{background:#f3f4f6;color:#374151;border-color:#9ca3af}.chat-message.typing{display:flex;align-items:center;gap:4px;width:fit-content;padding:13px 15px}.chat-message.typing span{width:6px;height:6px;border-radius:50%;background:#9ca3af;animation:chatTyping 1.2s infinite}.chat-message.typing span:nth-child(2){animation-delay:.15s}.chat-message.typing span:nth-child(3){animation-delay:.3s}@keyframes chatTyping{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}@media (max-width: 480px){#custom-chat-widget{right:15px;bottom:15px}#chat-box{position:fixed;left:10px;right:10px;bottom:85px;width:auto;height:calc(100vh - 110px);max-height:650px;border-radius:16px}#chat-toggle{width:56px;height:56px}}@media (max-width: 350px){.chat-menu{grid-template-columns:1fr}}
