.lms-chatbot-launcher {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9998;
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #0f6ead;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lms-chatbot-launcher:hover {
    background: linear-gradient(to right, #0b578a, #1e88c9);
}



.lms-chatbot-panel {
    position: fixed;
    right: 20px;
    bottom: 74px;
    width: 340px;
    max-width: calc(100vw - 24px);
    height: 460px;
    max-height: calc(100vh - 110px);
    display: none;
    z-index: 9999;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    border: 1px solid #d8dde3;
}

.lms-chatbot-open .lms-chatbot-panel {
    display: flex;
    flex-direction: column;
}

.lms-chatbot-header {
    background: #0f6ead;
    color: #ffffff;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lms-chatbot-close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.lms-chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f7f9fb;
}

.lms-chatbot-msg {
    margin: 0 0 10px 0;
    display: flex;
}

.lms-chatbot-msg-user {
    justify-content: flex-end;
}

.lms-chatbot-bubble {
    max-width: 85%;
    border-radius: 10px;
    padding: 9px 10px;
    line-height: 1.4;
    font-size: 13px;
    white-space: pre-wrap;
}

.lms-chatbot-msg-bot .lms-chatbot-bubble {
    background: #ffffff;
    border: 1px solid #d8dde3;
    color: #1f2a37;
}

.lms-chatbot-msg-user .lms-chatbot-bubble {
    background: #0f6ead;
    color: #ffffff;
}

.lms-chatbot-form {
    border-top: 1px solid #e5e8ec;
    display: flex;
    gap: 8px;
    padding: 10px;
    background: #ffffff;
}

.lms-chatbot-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #c7cfd8;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 13px;
}

.lms-chatbot-send {
    border: 0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: #0f6ead;
    cursor: pointer;
}

.lms-chatbot-send:disabled {
    opacity: 0.6;
    cursor: default;
}
