
#lk-chat-icon{
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
    z-index: 99999;
    color: #fff;
    user-select: none;
}
#lk-chat-icon .lk-chat-icon-emoji{ font-size: 24px; line-height: 1; }

#lk-chat-badge{
    position: absolute;
    top: 4px;
    right: 6px;
    background: #e11d48;
    color: #fff;
    border-radius: 999px;
    padding: 0 6px;
    font-size: 12px;
    line-height: 18px;
    min-width: 18px;
    text-align: center;
    display: none;
}

#lk-chatbox{
    min-height:0;
    --lk-header-text-color: #ffffff;
    position: fixed;
    width: 360px;
    max-width: calc(100vw - 24px);
    border: 1px solid;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.20);
    z-index: 99999;
    overflow: hidden;
    display: none;
}

.lk-chat-head{
    padding: 10px 12px;
    display:flex;
    align-items:center;
    justify-content: space-between;
    color: #fff;
}
.lk-chat-title{
    font-weight: 700;
    font-size: 14px;
}
.lk-chat-minimize{
    cursor:pointer;
    font-size: 16px;
    opacity: 0.95;
}

.lk-chat-messages{
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
flex:1 1 auto;
    min-height:0;
}
.lk-chat-msg{
    margin: 0 0 8px 0;
    font-size: 13px;
    line-height: 1.35;
}
.lk-chat-msg-bot b{ opacity: 0.95; }

.lk-chat-form{
    padding: 10px 12px 12px 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.lk-chat-input, .lk-chat-textarea{
    width: 100%;
    padding: 8px 9px;
    margin: 0 0 8px 0;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 10px;
    font-size: 13px;
    background: #fff;
    box-sizing: border-box;
}
.lk-chat-textarea{ height: 72px; resize: vertical; }

.lk-chat-consent{
    display:block;
    font-size: 12px;
    opacity: 0.9;
    margin: 4px 0 10px 0;
}

.lk-chat-send{
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: rgba(0,0,0,0.82);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}
.lk-chat-send:disabled{ opacity: 0.7; cursor: not-allowed; }

@media (max-width: 420px){
    #lk-chatbox{
    min-height:0;
    --lk-header-text-color: #ffffff; width: calc(100vw - 24px); }
}


/* Force header text colors (prevents theme overrides) */
.lk-chat-head .lk-chat-title{ color: var(--lk-header-text-color) !important; }
#lk-chat-minimize{ color: var(--lk-header-text-color) !important; }

#lk-chat-icon{ transition: transform 150ms ease; }

/* v4.8.0 scroll reinforcement */
#lk-chatbox{display:flex;flex-direction:column;}
#lk-chat-messages{overflow-y:auto;min-height:0;flex:1 1 auto;}
