/* 一、必要样式（至少一个前端页面使用，完整保留原始代码） */

/* 基础样式重置（所有元素通用，两个页面均依赖） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.newslist li{padding: 5px 0;}
.newslist li i{font-size: 12px;margin-right: 5px;}
.newslist li a{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}

.goodslist li{padding: 5px 0;}
.goodslist li i{font-size: 12px;margin-right: 5px;}
.goodslist li a{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}

/* 通用聊天容器样式（必要：用户端+管理端容器基础） */
.chat-container, .admin-container {
    max-width: 650px;
    height: 100vh;
    margin: 0 auto;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 标题样式（必要：聊天标题/会话列表标题） */
.chat-container h2, .admin-container h3 {
    padding: 16px;
    background-color: #2196f3;
    color: white;
    margin: 0;
    font-weight: 500;
    font-size: 1.2rem;
    text-align:center;
}

/* 消息展示区域（必要：核心消息列表区域） */
.messages {
    flex: 1;
    overflow-y: auto;
    background-color: #f5f5f5;
    /* 以下背景网格样式前端未启用，可保留或删除 */
    /* background-image: 
        linear-gradient(rgba(240, 240, 240, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 240, 240, 0.8) 1px, transparent 1px);*/
    background-size: 20px 20px;
}

/* 消息核心样式（必要：动态生成的消息元素） */
.message {
    display: flex;
    align-items: flex-start;
    margin: 12px 0;
    max-width: 75%;
    animation: fadeIn 0.3s ease;
}

/* 消息进入动画（必要：消息加载动效） */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 头像样式（必要：用户/客服头像） */
.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 8px;
    flex-shrink: 0; /* 防止头像缩小 */
}

.avatar img{
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* 消息内容区（必要：包含气泡、时间、已读状态） */
.message-content {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin: 0 5px;
}

/* 发送者名称（保留原始样式：虽前端HTML注释，但不删除） */
.sender {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
}

/* 消息气泡（必要：核心气泡样式） */
.message-bubble {
    padding: 10px 14px;
    border-radius: 4px;
    word-wrap: break-word;
    position: relative; /* 用于箭头定位 */
    max-width: 100%;
    line-height: 1.8;
}

.message-bubble img{
    max-width: 100%;
    max-height: 200px;
    cursor: pointer;
    transition: transform 0.2s;
}

.message-bubble img:hover {
    transform: scale(1.02);
}

/* 消息气泡箭头（必要：区分发送方向） */
/* 管理端 - 客户消息箭头 */
.admin .user-message .message-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #ffffff;
    border-left: 1px solid #f0f0f0;
}

/* 管理端 - 客服消息箭头 */
.admin .admin-message .message-bubble::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 20px;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
}

/* 用户端 - 客服消息箭头 */
.user .admin-message .message-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #ffffff;
    border-left: 1px solid #f0f0f0;
}

/* 用户端 - 用户消息箭头 */
.user .user-message .message-bubble::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 20px;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
}

/* 消息状态区（必要：时间+已读状态） */
.message-status {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    color: #999;
    margin-top: 4px;
}

/* 已读状态（必要：JS动态更新已读/未读） */
.read-status {
    margin-left: 6px;
}

/* 聊天图片（必要：支持图片消息） */
.chat-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-image:hover {
    transform: scale(1.02);
}

/* 总未读徽章样式（显示在菜单按钮右上角，管理端使用） */
.unread-total-badge {
    position: absolute;
    top: -5px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    background-color: #ff5252; /* 红色，与列表项未读徽章一致 */
    color: white;
    font-size: 12px;
    text-align: center;
    display: none; /* 默认隐藏，有未读时显示 */
}

/* 加载历史消息提示样式（用户端下拉加载使用） */
.loading-tip {
    text-align: center;
    padding: 8px 0;
    color: #666;
    font-size: 0.85rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    margin: 4px 0;
    transition: transform 0.3s ease;
}

/* 无更多历史消息提示样式（用户端下拉加载使用） */
.no-more-tip {
    text-align: center;
    padding: 8px 0;
    color: #999;
    font-size: 0.85rem;
    background-color: #fafafa;
    border-radius: 4px;
    margin: 4px 0;
}

/* 下拉加载反馈样式（用户端下拉加载使用） */
.pull-down-tip {
    text-align: center;
    color: #666;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease, padding 0.3s ease;
}

    /* 视频容器样式 */
.chat-video-container {
    position: relative;
    width: 240px;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
}

/* 视频元素样式 */
.chat-video {
    width: 100%;
    height: auto;
    min-height: 135px;
    max-height: 200px;
    display: block;
}

/* 视频时长显示 */
.video-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 1px 4px;
    border-radius: 3px;
}

/* 上传进度样式调整 */
.upload-progress {
    z-index: 10;
}

/* 消息气泡中的媒体元素统一样式 */
.message-bubble .chat-image,
.message-bubble .chat-video-container {
    margin: 0;
}
/* 语音消息样式 */
.chat-audio-container {
    position: relative;
    width: 200px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
}

.audio-play-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4caf50;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

.audio-progress {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 10px;
}

.audio-progress-bar {
    height: 100%;
    background: #4caf50;
    width: 0%;
}

.audio-duration {
    font-size: 12px;
    color: #666;
}

/* 录音按钮激活状态 */
.im-audio.active {
    background-color: #ff5252;
    color: #fff;
}

/* 语音消息气泡适配 */
.message-bubble .chat-audio-container {
    margin: 0;
    display: flex;
    align-items: center;
}



/* 管理端消息样式（必要：区分客服/客户消息，管理端使用） */
/* 管理端 - 客户消息 */
.admin .user-message {
    flex-direction: row;
    margin-right: auto;
}
.admin .user-message .avatar {
    background-color: #e0e0e0; /* 客户头像色 */
}
.admin .user-message .message-bubble {
    background-color: #fff; /* 客户气泡色 */
    color: #333;
    border: 1px solid #f0f0f0;
    border-bottom-left-radius: 4px;
}
.admin .user-message .message-status {
    justify-content: flex-start;
    padding-left: 2px;
}
.admin .user-message .message-content {
    align-items: flex-start; /* 气泡和时间区靠右对齐 */
}

/* 管理端 - 客服消息 */
.admin .admin-message {
    flex-direction: row-reverse;
    margin-left: auto;
}
.admin .admin-message .avatar {
    background-color: #e0e0e0; /* 客服头像色 */
}
.admin .admin-message .message-bubble {
    background-color: #fff; /* 客服气泡色 */
    color: #333;
}
.admin .admin-message .message-status {
    justify-content: flex-end;
    padding-right: 2px;
}
.admin .admin-message .message-content {
    align-items: flex-end; /* 气泡和时间区靠右对齐 */
}

/* 用户端消息样式（必要：区分用户/客服消息，用户端使用） */
/* 用户端 - 用户消息 */
.user .user-message {
    flex-direction: row-reverse;
    margin-left: auto;
}
.user .user-message .avatar {
    background-color: #e0e0e0; /* 用户头像色 */
}
.user .user-message .message-bubble {
    background-color: #fff; /* 用户气泡色 */
    color: #333;
}
.user .user-message .message-status {
    justify-content: flex-end;
    padding-right: 2px;
}
.user .user-message .message-content {
    align-items: flex-end;
}

/* 用户端 - 客服消息 */
.user .admin-message {
    flex-direction: row;
    margin-right: auto;
}
.user .admin-message .avatar {
    background-color: #e0e0e0; /* 客服头像色 */
}
.user .admin-message .message-bubble {
    background-color: #ffffff; /* 客服气泡色 */
    color: #333;
    border: 1px solid #f0f0f0;
}
.user .admin-message .message-status {
    justify-content: flex-start;
    padding-left: 2px;
}
.user .admin-message .message-content {
    align-items: flex-start;
}

.copy-keyword {
    display: inline-block;
    margin: 0 5px;
    padding: 2px 8px;
    border: 1px dashed #2196f3;
    border-radius: 4px;
    color: #2196f3;
    cursor: pointer;
}
.copy-keyword:hover {
    background-color: #e9f5ff;
}


/* 客服列表项样式（添加到现有style标签中） */
.admin-bind-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 5px 0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    width: fit-content;
}
.admin-bind-item:hover {
    background-color: #f5f9ff;
    border-color: #2196f3;
}
.admin-avatar {
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}
.admin-status {
    margin-left: 8px;
    padding: 2px 6px;
    font-size: 12px;
    color: #4caf50;
    background-color: #e8f5e9;
    border-radius: 10px;
}

/* 输入区域样式（必要：多行文本框+工具条，两个页面均依赖） */
.foot {
    position: relative;
    border-top: 1px solid #ddd;
    background: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.container-div{
    position: relative;
    z-index: 102;
}
/* 工具条容器（必要：表情/图片等工具按钮，两个页面均依赖） */
.tools-bar-container {
    padding: 10px 10px 0 10px;
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
}

/* 多行输入框容器（可编辑div样式，两个页面均依赖） */
.post-area {
    width: 100%;
    min-height: 60px; /* 最小高度 */
    max-height: 200px; /* 最大高度（超出滚动） */
    padding: 10px 15px;
    box-sizing: border-box;
    overflow-y: auto; /* 滚动条 */
    outline: none;
    word-break: break-all; /* 强制换行 */
    border: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* 占位符样式（模拟textarea的placeholder，两个页面均依赖） */
.post-area:empty:before {
    content: attr(placeholder);
    color: #bbb;
    pointer-events: none; /* 点击占位符时聚焦输入框 */
}

/* emoji图片在输入框中的样式（确保大小合适，两个页面均依赖） */
.post-area .smile {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0 2px;
}
.smile {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0 2px;
}

/* 表情面板（保留原始样式：两个页面均有表情功能，依赖） */
/* 新增：emoji遮罩层（点击遮罩关闭面板） */
.im-mask {
    position:fixed;
    left:0;
    top:0;
    right:0;
    bottom:0;
    background:none;
    z-index:101;
    display:block;
    overflow-x:hidden;
    overflow-y:auto;
    display:none;
}

/* 优化：emoji面板样式（确保定位正确） */
.tools-bar-container .emoji {
    position: absolute;
    left: 10px;
    bottom: 100%; /* 显示在工具条上方 */
    margin-bottom: 8px; /* 与工具条间距 */
    border: 1px solid #E6E7E8;
    border-radius: 10px;
    height: 200px;
    overflow-y: auto;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 10px;
    padding: 10px;
    display: none; /* 默认隐藏 */
    z-index: 999; /* 高于遮罩层 */
    max-width: calc(100% - 20px); /* 适应小屏幕 */
}

/* 优化：emoji表情图片样式 */
.tools-bar-container .emoji .item img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    vertical-align: middle;
}

/* 优化：emoji表情点击反馈 */
.tools-bar-container .emoji .item:hover {
    background-color: #f0f5ff;
    border-radius: 4px;
}

/* 工具按钮容器（必要：图片/链接等按钮，两个页面均依赖） */
.tools-container {
    flex: 1;
    display: flex;
    justify-content: space-between;
}
.tools-container .item {
    width: 38px;
    height: 38px;
    text-align: center;
    line-height: 38px;
    cursor: pointer;
    margin-right: 5px;
    display: inline-block;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.tools-container .item i {
    font-size: 22px;
    color: #555;
}
.tools-container .item:hover {
    background-color: #f0f5ff;
}
.tools-container .item.disabled {
    cursor: not-allowed;
    opacity: .3;
}
.tools-container .left {}
.tools-container .right {
    text-align: right;
}
.tools-container .right i {
    color: #2196f3;
}

/* 多行文本框容器（必要：输入消息区域，两个页面均依赖） */
.chat-tools-container {
    height: auto;
    width: 100%;
    background: #fff;
}
.chat-tools-container .post-area {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    min-height: 60px; /* 最小高度 */
    max-height: 200px; /* 最大高度（超出滚动） */
    padding: 10px 15px;
    box-sizing: border-box;
    resize: none; /* 禁止手动调整 */
    line-height: 1.6;
    font-size: 14px;
    overflow-y: auto; /* 滚动条 */
    outline: none;
    word-break: break-all; /* 强制换行 */
    border: 0;
}
.chat-tools-container .post-area:empty:before {
    content: attr(placeholder);
    color: #bbb;
}
.chat-tools-container .post-area a {
    color: #06f;
}
.chat-tools-container .post-area a:hover {
    color: #f30;
}

/* 发送按钮容器（必要：发送按钮区域，两个页面均依赖） */
.tools-send-container {
    padding: 0 15px 15px 0;
    background: #fff;
}
.tools-btn {
    text-align: right;
}

/* 发送按钮样式（必要：发送消息按钮，两个页面均依赖） */
#sendButton {
    padding: 0 18px;
    background-color: #2196f3;
    color: white;
    border-radius: 10px;
    font-size: 14px;
    line-height: 36px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s;
}
#sendButton:hover {
    background-color: #0b7dda;
}

/* 客服端特有样式（必要：管理端会话列表，仅管理端使用） */
.admin-container {
    flex-direction: row;
    max-width: 100%;
}

/* 客服端特有样式（必要：管理端会话列表，仅管理端使用） */
.conversations-list {
    width: 300px;
    background-color: white;
    display: flex;
    flex-direction: column; /* 确保标题和列表内容垂直排列 */
    transition: transform 0.3s ease;
    z-index: 120;/*会话列表*/
    /* 新增：固定高度（占满视口高度，减去标题高度）+ 垂直滚动 */
    height: 100vh; /* 与父容器高度一致（父容器.admin-container是100%高度） */
    overflow-y: auto; /* 内容超出时显示垂直滚动条 */
    overflow-x: hidden; /* 禁止水平滚动（避免宽度异常时溢出） */
}

/* 可选优化：列表标题固定，仅列表内容滚动（体验更优） */
.conversations-list h3 {
    /* 固定标题在顶部，不随列表滚动 */
    position: sticky;
    top: 0;
}

/* 会话项整体布局：左头像 + 右内容 */
.conversation-item {
    display: flex; /* 启用flex布局 */
    align-items: flex-start; /* 顶部对齐 */
    padding: 10px 12px;
    margin: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 1px solid #f0f0f0;
}
.conversation-item:hover {
    background-color: #f5f5f9;
}
.conversation-item.active {
    background-color: #e8f0fe;
    border-left: 3px solid #2196f3;
}

.conversation-item.active {
    background-color: #e3f2fd;
    border-left: 3px solid #2196f3;
}
.conversation-item small {
    color: #999;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

/* 未读徽章和转接标签位置调整 */
.unread-badge {
    background-color: #ff5252;
    color: white;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 11px;
    margin-left: 4px;
}

/* 聊天区域样式（必要：管理端聊天主区域，仅管理端使用） */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* 菜单按钮（必要：小屏幕会话列表切换，仅管理端使用） */
.menu-toggle {
    position: absolute;
    top: 10px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;/*会话列表切换按钮*/
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s;
}

.transfer-tag {
    display: inline-block;
    padding: 1px 4px;
    margin-left: 4px;
    font-size: 12px;
    color: #fff;
    background-color: #ff5722;
    border-radius: 3px;
}


/* 头像样式（左侧） */
.conv-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0; /* 头像不缩放 */
}

/* 右侧内容容器（占剩余宽度） */
.conv-content {
    flex-grow: 1; /* 占满剩余空间 */
    min-width: 0; /* 解决文本溢出问题 */
}

/* 第一行：会话信息 + 时间 */
.conv-top-row {
    display: flex;
    justify-content: space-between; /* 左右两端对齐 */
    align-items: center;
    margin-bottom: 4px;
}

/* 会话信息（第一行左侧） */
.conv-info {
    display: flex;
    align-items: center;
    gap: 6px; /* 元素间距 */
}
.conv-type {
    font-size: 14px;
    color: #333;
}
.conv-id {
    font-size: 13px;
    color: #666;
}

/* 时间（第一行右侧） */
.conv-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap; /* 时间不换行 */
}

/* 第二行：最近消息 */
.conv-last-msg {
    font-size: 13px;
    color: #666;
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 溢出隐藏 */
    text-overflow: ellipsis; /* 省略号显示 */
    height: 20px;
}

/* 客户信息区样式 */
.customer-info-panel {
    width: 300px;
    background-color: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.customer-info-header {
    padding: 16px;
    background-color: #2196f3;
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
    position: relative;
    text-align: center;
}

.customer-info-content {
    padding: 16px;
    flex-grow: 1;
}

.customer-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    border: 3px solid #f0f0f0;
}

.info-item {
    margin-bottom: 16px;
}

.info-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    display: block;
}

.info-value {
    font-size: 14px;
    color: #333;
    word-break: break-all;
}

/* 小屏幕客户信息区弹出样式 */
@media (max-width: 1024px) {
    .customer-info-panel {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        transform: translateX(100%);
        z-index: 120;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .customer-info-panel.show {
        transform: translateX(0);
    }
    
    .close-info-btn {
        position: absolute;
        top: 16px;
        right: 16px;
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        display: block;
    }
    
    .info-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 110;
        display: none;
    }
    
    .info-overlay.show {
        display: block;
    }
}

/* 大屏幕布局调整 */
@media (min-width: 1025px) {
    .admin-container {
        display: flex;
    }
    
    .chat-area {
        flex: 1;
        max-width: calc(100% - 280px - 300px);
    }
    
    .close-info-btn {
        display: none;
    }
    
    .info-overlay {
        display: none;
    }
}

/* 中等屏幕适配 */
@media (max-width: 1024px) and (min-width: 651px) {
    .chat-area {
        max-width: calc(100% - 280px);
    }
}

/* 客户头像点击样式 */
.user-message .avatar {
    cursor: pointer;
    transition: transform 0.2s;
}

.user-message .avatar:hover {
    transform: scale(1.05);
}

/* 连接状态样式（必要：显示WebSocket连接状态，两个页面均依赖） */
#connectionStatus {
    position: fixed;
    bottom: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    background-color: #f0f0f0;
    color: #666;
    z-index: 200;
}
#statusIcon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

@media (max-width: 768px) {
  /* 核心：直接隐藏提示框本身 */
  .ui-tips-show {
    display: none !important; /* !important确保覆盖JS动态添加的样式 */
  }
}

/* 响应式样式（必要：适配不同屏幕尺寸，两个页面均依赖） */
@media (max-width: 650px) {
    /* 客户端小屏幕样式 */
    .chat-container {
        height: 100vh;
        border-radius: 0;
    }

    /* 管理端小屏幕样式 */
    .conversations-list {
        position: absolute;
        height: 100%;
        transform: translateX(-100%);
    }
    .conversations-list.show {
        transform: translateX(0);
    }
    .menu-toggle {
        display: flex;
    }
    .message {
        max-width: 85%;
    }
}
@media (min-width: 651px) {
    .conversations-list {
        transform: translateX(0) !important;
    }
}