#wpcb-chatbot-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: fixed;
    bottom: 25px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
}

#wpcb-chatbot-wrapper.wpcb-pos-right { right: 25px; align-items: flex-end; }
#wpcb-chatbot-wrapper.wpcb-pos-left { left: 25px; align-items: flex-start; }

#wpcb-chat-window { display: none; width: 350px; height: 500px; background: #ffffff; box-shadow: 0 15px 40px rgba(0,0,0,0.15); border-radius: 16px; overflow: hidden; margin-bottom: 15px; flex-direction: column; }
.wpcb-chat-header { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; color: white; }
.wpcb-header-info { display: flex; align-items: center; gap: 12px; }
.wpcb-avatar { font-size: 24px; background: rgba(255,255,255,0.2); padding: 8px; border-radius: 50%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center;}
.wpcb-header-text h4 { margin: 0; font-size: 16px; font-weight: 600; color: white;}
.wpcb-header-text p { margin: 2px 0 0 0; font-size: 12px; opacity: 0.9; }
#wpcb-close-btn { background: none; border: none; color: white; font-size: 28px; cursor: pointer; opacity: 0.8; transition: 0.2s;}
#wpcb-close-btn:hover { opacity: 1; transform: scale(1.1); }
#wpcb-lead-form { padding: 30px 25px; text-align: center; }
.wpcb-welcome-msg h3 { margin: 0 0 10px; color: #1c1e21; }
.wpcb-welcome-msg p { color: #65676b; font-size: 14px; margin-bottom: 25px; }
#wpcb-lead-form input { width: 100%; box-sizing: border-box; border: 1px solid #e4e6eb; background: #f0f2f5; border-radius: 20px; padding: 12px 18px; font-size: 14px; margin-bottom: 15px; outline: none; transition: 0.3s; }
#wpcb-start-btn { width: 100%; color: white; border: none; border-radius: 20px; padding: 12px; font-weight: 600; cursor: pointer; font-size: 15px; transition: 0.2s; }
#wpcb-chat-area { flex-grow: 1; padding: 20px; background: #ffffff; overflow-y: auto; display: flex; flex-direction: column; }
#wpcb-messages { display: flex; flex-direction: column; gap: 0px; }
#wpcb-messages p { margin: 0; padding: 10px 15px; font-size: 14px; line-height: 1.4; word-wrap: break-word; }
.wpcb-msg-user, .wpcb-msg-ai { cursor: pointer; padding: 10px 15px; font-size: 14px; line-height: 1.4; max-width: 75%; word-wrap: break-word; margin:0; }
.wpcb-msg-user { color: #fff; border-radius: 18px 18px 4px 18px; }
.wpcb-msg-ai { background: #f0f2f5; color: #1c1e21; border-radius: 18px 18px 18px 4px; }
/* এটি মেসেজের নিচে সবসময় সময় দেখাবে */
.wpcb-msg-time { 
    display: block; 
    font-size: 10px; 
    color: #888; 
    margin-top: 4px; 
    padding: 0 5px; 
}

/* এটি ক্লিক করার পর নাম ও তারিখ দেখানোর ক্লাস */
.wpcb-msg-details {
    display: none; 
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    padding: 0 5px;
}
#wpcb-input-area { border-top: 1px solid #e4e6eb; padding: 15px; display: flex; gap: 10px; background: #fff; align-items: center; }
#wpcb-user-msg { flex-grow: 1; border: none; background: #f0f2f5; border-radius: 20px; padding: 10px 18px; outline: none; font-size: 14px; }
#wpcb-send-btn { background: none; border: none; cursor: pointer; padding: 5px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.2s; }
#wpcb-send-btn:hover { background: #f0f2f5; }
@keyframes wpcb-pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.6); } 70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 132, 255, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 132, 255, 0); } }
#wpcb-toggle-btn { border-radius: 50%; width: 60px; height: 60px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
#wpcb-toggle-btn:hover { transform: scale(1.1); }
.wpcb-pulse-animation { animation: wpcb-pulse 2s infinite; }
#wpcb-social-options { margin-top: 15px; background: #f0f2f5; padding: 15px; border-radius: 12px; font-size: 14px; color: #1c1e21; }
#wpcb-social-options p { margin: 0 0 12px 0; line-height: 1.5; }
.wpcb-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.wpcb-social-btn { color: #ffffff !important; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; text-decoration: none; transition: opacity 0.2s; display: inline-block; }
.wpcb-social-btn:hover { opacity: 0.8; text-decoration: none; }
.wpcb-fb { background-color: #1877F2; } 
.wpcb-wa { background-color: #25D366; } 
.wpcb-tg { background-color: #0088cc; } 
