.im-floating-btn-container {
    position: fixed;
    bottom: 60px;
    right: 32px;
    display: -ms-flexbox;
    -ms-flex-direction: column;
    -ms-align-items: center;
    -ms-justify-content: center;
    z-index: 2147483647;
    width: 60px;
    height: 100px;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.im-floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./images/i_logo.png);
    border: none;
    cursor: pointer;
    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); */
}

.im-floating-btn-title {
    visibility: hidden;
    margin-top: 5px;
    color: #333;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* 为 IE 添加 */
    user-select: none;
    /* 为其他现代浏览器添加 */
    
}

.im-close-btn {
    visibility: hidden;
    margin-left: 40px;
    width: 20px;
    height: 20px;
    -ms-border-radius: 50%;
    /* 为 IE 添加 */
    border-radius: 50%;
    /* 现代浏览器 */
    background-color: #ff4d4f;
    color: white;
    border: none;
    cursor: pointer;
    display: -ms-flexbox;
    /* 为 IE 10/11 添加 */
    display: flex;
    /* 现代浏览器 */
    align-items: center;
    justify-content: center;
    -ms-align-items: center;
    -ms-justify-content: center;
    font-size: 12px;
}

.im-chat-container {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 520px;
    height: 560px;
    background-color: white;
    border: "1px solid #ccc";
    border-radius: 5px;
    display: none;
    z-index: 9901;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.im-title-bar {
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* background-image: linear-gradient(to right, #4A90E2, #98BCEE); */
    background-color: #4197EE;
    padding: 0 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.im-title-bar {
    height: 40px;
    display: -ms-flexbox;
    /* 为 IE 10/11 添加 */
    display: flex;
    /* 现代浏览器 */
    -ms-flex-direction: row;
    /* 为 IE 10/11 添加 */
    flex-direction: row;
    -ms-align-items: center;
    /* 为 IE 10/11 添加 */
    align-items: center;
    -ms-justify-content: space-between;
    /* 为 IE 10/11 添加 */
    justify-content: space-between;
    background-color: #4197EE;
    padding: 0 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.im-title {
    line-height: 40px;
    text-align: center;
    color: #f4f4e4;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* 为 IE 添加 */
    user-select: none;
}

.im-phone {
    line-height: 40px;
    text-align: center;
    color: #f4f4e4;
    font-size: 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* 为 IE 添加 */
    user-select: none;
}

.im-mini-btn {
    display: -ms-flexbox;
    /* 为 IE 10/11 添加 */
    display: flex;
    /* 现代浏览器 */
    -ms-align-items: center;
    /* 为 IE 10/11 添加 */
    align-items: center;
    -ms-justify-content: center;
    /* 为 IE 10/11 添加 */
    justify-content: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.im-mini-icon {
    width: 100%;
    height: 2px;
    background-color: white;
}

.im-chat-list {
    height: 390px;
    width: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    background-color: #f5f5f5;
}

.im-loading {
    font-size: 12px;
    height: 20px;
    color: #666;
    clear: both;
    overflow: hidden;
    text-align: center;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.im-input-container {
    height: 100px;
    display: -ms-flexbox;
    /* 为 IE 10/11 添加 */
    display: flex;
    -ms-flex-direction: row;
    /* 为 IE 10/11 添加 */
    flex-direction: row;
    -ms-align-items: flex-end;
    /* 为 IE 10/11 添加 */
    align-items: flex-end;
    background-color: #ffffff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.im-input-container textarea {
    height: 88px;
    overflow-y: auto;
    overflow-x: hidden;
    resize: none;
    border: none;
    outline: none;
    border-radius: 4px;
    flex: 1;
    padding: 5px;
    margin-right: 4px;
    margin-left: 4px;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background-color: #FBFBFB;
    font-size: 16px;
}

.im-send-btn {
    height: 30px;
    border-radius: 4px;
    margin-right: 5px;
    background-color: white;
    color: black;
    border: solid 1px #ccc;
    cursor: pointer;
    margin-bottom: 4px;
}

.im-user-msg {
    width: 100%;
    min-width: 100%;
    margin-top: 4px;
    clear: both;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.im-user-msg-time {
    font-size: 10px;
    color: #666;
    float: right;
}

.im-user-msg-content {
    margin-top: 2px;
    font-size: 16px;
    background-color: #C3E0F8;
    max-width: 80%;
    color: #1F1A1D;
    padding: 5px;
    margin-bottom: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    float: right;
    clear: both;
}

.im-ai-msg {
    width: 460px;
    margin-top: 4px;
    clear: both;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.im-ai-msg-time {
    font-size: 10px;
    color: #666;
    float: left;
}

.im-ai-msg-content {
    margin-top: 2px;
    font-size: 16px;
    color: #1F1A1D;
    padding: 5px;
    margin-bottom: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
    max-width: 440px;
    word-wrap: break-word;
    float: left;
    clear: both;
    background-color: white;
}

.im-ai-msg-judge-container {
    float: left;
    overflow: hidden;
    clear: both;
    width: 140px;
    padding-bottom: 8px;
}

.im-zan {
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./images/zan_nor.png);
}

.im-zan-sel {
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./images/zan_sel.png);
}

.im-cai {
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./images/no_zan_nor.png);
}

.im-cai-sel {
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./images/no_zan_sel.png);
}

/* 反馈弹框样式 */
.im-feedback-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    /* 修改为 block 以兼容 IE */
    display: -ms-flexbox;
    /* 为 IE 10/11 添加 */
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.im-feedback-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    -ms-border-radius: 5px;
    /* IE 特定前缀 */
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000, Strength=4);
    /* 兼容 IE 9 以下 */
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    
}

.im-feedback-close-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    text-align: center;
    width: 16px;
    height: 16px;
    font-size: 12px;
    cursor: pointer;
    -ms-border-radius: 50%;
    /* IE 特定前缀 */
}

.im-feedback-input {
    width: 94%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    resize: none;
    border: none;
    outline: none;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-border-radius: 5px;
    /* IE 特定前缀 */
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background-color: #F3F4F5;
    
}

.im-feedback-submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    -ms-border-radius: 5px;
    /* IE 特定前缀 */
}

.im-feedback-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
