.lichu-chatbot-container-5b9d8566 { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 10000; 
    font-family: 'Segoe UI', Arial, sans-serif; 
}
.lichu-chatbot-container-5b9d8566.editor-preview {
    position: relative;
    bottom: auto;
    right: auto;
    width: 360px;
    margin: 0 auto;
}

.lichu-chatbot-button { 
    background: #d63031; 
    color: white; 
    padding: 12px 20px; 
    border-radius: 30px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.4); 
    font-weight: bold; 
    transition: 0.3s; 
}
.lichu-chatbot-button:hover { 
    transform: scale(1.05); 
}
.lichu-chatbot-button img { 
    margin-right: 8px; 
    width: 24px; 
}

.lichu-chatbot-window { 
    width: 360px; 
    height: 500px; 
    background: white; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    position: absolute; 
    bottom: 70px; 
    right: 0; 
}
.lichu-chatbot-container-5b9d8566.editor-preview .lichu-chatbot-window {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 15px;
}

.lichu-chatbot-header { 
    background: #d63031; 
    color: white; 
    padding: 12px 15px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.lichu-close-btn { 
    cursor: pointer; 
    opacity: 0.8; 
    font-size: 16px; 
}

.lichu-chatbot-messages { 
    flex: 1; 
    padding: 15px; 
    overflow-y: auto; 
    background: #f5f6fa; 
    font-size: 14px; 
    display: flex; 
    flex-direction: column; 
}

.lichu-bot-msg, .lichu-user-msg { 
    padding: 10px 14px; 
    border-radius: 15px; 
    margin-bottom: 12px; 
    max-width: 85%; 
    line-height: 1.5; 
    word-wrap: break-word; 
    animation: fadeIn 0.3s ease; 
}
.lichu-bot-msg { 
    background: white; 
    color: #2f3542; 
    align-self: flex-start; 
    margin-right: auto; 
    border-top-left-radius: 2px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
}
.lichu-user-msg { 
    background: #d63031; 
    color: white; 
    align-self: flex-end; 
    margin-left: auto; 
    border-top-right-radius: 2px; 
}

.lichu-typing-indicator { 
    background: #f1f2f6; 
    padding: 10px 15px; 
    border-radius: 15px; 
    align-self: flex-start; 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    margin-bottom: 12px;
}
.lichu-typing-indicator span { 
    width: 6px; 
    height: 6px; 
    background: #747d8c; 
    border-radius: 50%; 
    animation: blink 1.4s infinite both; 
}
.lichu-typing-indicator span:nth-child(2) { animation-delay: .2s; }
.lichu-typing-indicator span:nth-child(3) { animation-delay: .4s; }

.lichu-chatbot-input-area { 
    display: flex; 
    padding: 12px; 
    background: white; 
    border-top: 1px solid #edf2f7; 
}
.lichu-chat-input { 
    flex: 1; 
    padding: 10px 15px; 
    border: 1px solid #e2e8f0; 
    border-radius: 25px; 
    outline: none; 
    font-size: 14px; 
}
.lichu-chat-input:focus { 
    border-color: #d63031; 
}
.lichu-send-btn { 
    background: #d63031; 
    color: white; 
    border: none; 
    padding: 0 18px; 
    margin-left: 8px; 
    border-radius: 25px; 
    cursor: pointer; 
    font-weight: bold; 
}

/* Lead Form Overlay */
.lichu-lead-form-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    animation: fadeIn 0.3s ease;
}

.lichu-lead-form {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    width: 80%;
}

.lichu-lead-form h5 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2f3542;
}

.lichu-lead-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
}

.lichu-lead-form button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    margin-left: 0;
}

.lichu-lead-close {
    font-size: 12px;
    color: #747d8c;
    cursor: pointer;
    text-decoration: underline;
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(5px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes blink { 
    0% { opacity: .2; } 
    20% { opacity: 1; } 
    100% { opacity: .2; } 
}