/* FIGEIT AI Chatbot Styles */
.fgchat-btn{position:fixed;bottom:24px;right:24px;width:60px;height:60px;border-radius:50%;background:#005BFF;box-shadow:0 4px 16px rgba(0,91,255,.3);cursor:pointer;z-index:9999;display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s;border:none;padding:0;}
.fgchat-btn:hover{transform:scale(1.08);box-shadow:0 6px 24px rgba(0,91,255,.4);}
.fgchat-btn img{width:44px;height:44px;border-radius:50%;object-fit:cover;}
.fgchat-btn-pulse{position:absolute;width:100%;height:100%;border-radius:50%;background:rgba(0,91,255,.2);animation:fgchat-pulse 2s infinite;}
@keyframes fgchat-pulse{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.5);opacity:0}}

.fgchat-window{position:fixed;bottom:96px;right:24px;width:380px;height:520px;background:#fff;border-radius:16px;box-shadow:0 8px 40px rgba(0,0,0,.15);z-index:9999;display:none;flex-direction:column;overflow:hidden;animation:fgchat-slideUp .25s ease-out;}
.fgchat-window.open{display:flex;}
@keyframes fgchat-slideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

.fgchat-header{background:linear-gradient(135deg,#005BFF,#3b82f6);padding:16px 18px;display:flex;align-items:center;gap:12px;color:#fff;}
.fgchat-header-avatar{width:36px;height:36px;border-radius:50%;border:2px solid rgba(255,255,255,.3);object-fit:cover;}
.fgchat-header-info{flex:1;}
.fgchat-header-name{font-size:14px;font-weight:600;}
.fgchat-header-status{font-size:10px;opacity:.8;display:flex;align-items:center;gap:4px;}
.fgchat-header-status::before{content:'';width:6px;height:6px;background:#4ade80;border-radius:50%;}
.fgchat-close{background:none;border:none;color:#fff;font-size:20px;cursor:pointer;padding:4px 8px;border-radius:6px;transition:background .15s;}
.fgchat-close:hover{background:rgba(255,255,255,.15);}

.fgchat-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:#f8fafc;}
.fgchat-msg{max-width:85%;padding:10px 14px;border-radius:12px;font-size:13px;line-height:1.5;word-wrap:break-word;}
.fgchat-msg--bot{background:#fff;color:#333;border:1px solid #e8edf5;align-self:flex-start;border-bottom-left-radius:4px;}
.fgchat-msg--user{background:#005BFF;color:#fff;align-self:flex-end;border-bottom-right-radius:4px;}
.fgchat-msg--typing{background:#fff;border:1px solid #e8edf5;align-self:flex-start;border-bottom-left-radius:4px;padding:12px 18px;}
.fgchat-typing-dots{display:flex;gap:4px;}
.fgchat-typing-dots span{width:6px;height:6px;background:#94a3b8;border-radius:50%;animation:fgchat-dot .6s infinite alternate;}
.fgchat-typing-dots span:nth-child(2){animation-delay:.2s;}
.fgchat-typing-dots span:nth-child(3){animation-delay:.4s;}
@keyframes fgchat-dot{to{background:#005BFF;transform:translateY(-3px)}}

.fgchat-footer{padding:12px 14px;border-top:1px solid #eee;display:flex;gap:8px;background:#fff;}
.fgchat-input{flex:1;border:1.5px solid #e0e0e0;border-radius:10px;padding:10px 14px;font-size:13px;outline:none;font-family:inherit;resize:none;}
.fgchat-input:focus{border-color:#005BFF;}
.fgchat-send{background:#005BFF;color:#fff;border:none;border-radius:10px;padding:10px 16px;font-size:14px;cursor:pointer;transition:background .15s;display:flex;align-items:center;}
.fgchat-send:hover{background:#0046cc;}
.fgchat-send:disabled{background:#94a3b8;cursor:not-allowed;}

.fgchat-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 12px;}
.fgchat-suggestion{background:#fff;border:1px solid #e0e0e0;border-radius:20px;padding:6px 12px;font-size:11px;cursor:pointer;transition:all .15s;color:#555;}
.fgchat-suggestion:hover{border-color:#005BFF;color:#005BFF;background:#f0f7ff;}

@media(max-width:480px){
    .fgchat-window{width:calc(100vw - 20px);right:10px;bottom:86px;height:70vh;}
    .fgchat-btn{bottom:16px;right:16px;width:54px;height:54px;}
    .fgchat-btn img{width:38px;height:38px;}
}

/* Action Buttons */
.fgchat-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;padding:0 4px;}
.fgchat-action-btn{background:#005BFF;color:#fff;border:none;border-radius:20px;padding:6px 14px;font-size:11px;cursor:pointer;transition:all .15s;font-family:inherit;white-space:nowrap;}
.fgchat-action-btn:hover{background:#0046cc;transform:scale(1.03);}

/* FAQ Suggestions */
.fgchat-faq-suggest{position:absolute;bottom:100%;left:0;right:0;background:#fff;border:1px solid #e0e0e0;border-radius:10px 10px 0 0;max-height:180px;overflow-y:auto;box-shadow:0 -4px 12px rgba(0,0,0,.08);z-index:10;}
.fgchat-faq-item{padding:10px 14px;font-size:12px;color:#444;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background .12s;}
.fgchat-faq-item:hover{background:#f0f7ff;color:#005BFF;}
.fgchat-faq-item:last-child{border-bottom:none;}

/* Seller guide steps */
.fgchat-steps{margin-top:6px;}
.fgchat-step{padding:4px 0;font-size:12px;line-height:1.4;}

/* Footer relative positioning for FAQ dropdown */
.fgchat-footer{position:relative;}