.contactChatCard {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 360px;
    max-width: calc(100% - 30px);
    padding: 0;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    z-index: 9999;
}

.contactChatHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #f7fbff;
    border-bottom: 1px solid #e6e6e6;
    padding: 12px 14px;
}

.contactChatTitle {
    min-width: 0;
}

.contactChatToggle {
    width: 28px;
    height: 28px;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    background: #fff;
    line-height: 1;
    flex: 0 0 auto;
}

.contactChatCard.contactChatMinimized .contactChatBody,
.contactChatCard.contactChatMinimized .contactChatSuggestions,
.contactChatCard.contactChatMinimized .contactChatInput {
    display: none;
}

.contactChatCard.contactChatMinimized .contactChatHeader {
    border-bottom: 0;
}

.contactChatBody {
    height: 260px;
    overflow-y: auto;
    padding: 14px 16px;
    background: #fbfbfb;
}

.contactChatMsg {
    max-width: 88%;
    margin-bottom: 10px;
    padding: 9px 11px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.contactChatMsgBot {
    background: #fff;
    border: 1px solid #e7e7e7;
}

.contactChatMsgUser {
    margin-left: auto;
    background: #e8f3ff;
    border: 1px solid #d5eaff;
}

.contactChatInput {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e6e6e6;
}

.contactChatInput input {
    flex: 1;
}

.contactChatSuggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px 12px;
}

.contactChatSuggestions button {
    border: 1px solid #d7d7d7;
    background: #fff;
    border-radius: 16px;
    padding: 5px 10px;
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .contactChatCard {
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }
}
