
.chat-container[data-v-0746759e] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: calc(100vh - 110px);
    background-color: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    overflow: hidden;
}

/* 左侧边栏 */
.sidebar[data-v-0746759e] {
    width: 280px;
    border-right: 1px solid #e6e6e6;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: #fff;
}
.sidebar-header[data-v-0746759e] {
    padding: 15px 20px;
    background-color: #f2f4f7;
    border-bottom: 1px solid #dcdfe6;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.sidebar-title[data-v-0746759e] {
    display: block;
}
.contact-list[data-v-0746759e] {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    overflow-y: auto;
}
.contact-item[data-v-0746759e] {
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}
.contact-item[data-v-0746759e]:hover {
    background-color: #f5f7fa;
}
.contact-item.active[data-v-0746759e] {
    background-color: #efecec;
}
.contact-header[data-v-0746759e] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 6px;
}
.contact-name[data-v-0746759e] {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1; 
    min-width: 0;
}
.contact-time[data-v-0746759e] {
    font-size: 12px;
    color: #999;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    margin-left: 5px;
}
.contact-message[data-v-0746759e] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.message-text[data-v-0746759e] {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 0;
}

/* 右侧主内容 */
.main-chat[data-v-0746759e] {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: #fff;
}
.chat-header[data-v-0746759e] {
    padding: 15px 20px;
    background-color: #f2f4f7; 
    border-bottom: 1px solid #dcdfe6;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; 
    -webkit-box-align: center; 
        -ms-flex-align: center; 
            align-items: center;
}
.chat-title-worker-name[data-v-0746759e] {
    margin-right: 10px;
}
.chat-title-project-name[data-v-0746759e] {
    margin-left: auto; 
    color: #666; 
    font-size: 13px;
    font-weight: 400;
}
.chat-content[data-v-0746759e] {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #fff;
}
.message-wrapper[data-v-0746759e] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
}
.message-wrapper.is-me[data-v-0746759e] {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}
.message-content-box[data-v-0746759e] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    max-width: 65%;
}
.message-wrapper.is-me .message-content-box[data-v-0746759e] {
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}
.message-wrapper:not(.is-me) .message-content-box[data-v-0746759e] {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}
.message-bubble[data-v-0746759e] {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    text-align: left;
}
.message-time[data-v-0746759e] {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    padding: 0 2px;
}
.message-wrapper:not(.is-me) .message-bubble[data-v-0746759e] {
    background-color: #eef0f4; 
    color: #333;
    border-top-left-radius: 2px;
}
.message-wrapper.is-me .message-bubble[data-v-0746759e] {
    background-color: #aadaff; 
    color: #333;
    border-top-right-radius: 2px;
}
.chat-input-area[data-v-0746759e] {
    border-top: 2px solid #e6e6e6;
    background: #fff;
    padding: 0;
}
.chat-input-area[data-v-0746759e] .el-textarea__inner {
    border: none;
    padding: 15px;
    font-family: inherit;
    -webkit-box-shadow: none;
            box-shadow: none;
}
.chat-input-area[data-v-0746759e] .el-textarea .el-input__count {
    background: transparent;
    bottom: 10px;
    right: 15px;
}
.empty-state[data-v-0746759e] {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #999;
    font-size: 14px;
}
.project-tag[data-v-0746759e] {
    font-size: 12px;
    color: #666;
    margin-left: 4px;
}
.unread-dot[data-v-0746759e] {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #f56c6c;
    border-radius: 50%;
    margin-right: 5px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}
.no-contact[data-v-0746759e] {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 13px;
}
.load-more[data-v-0746759e] {
    text-align: center;
    color: #409EFF;
    font-size: 12px;
    padding: 10px;
    cursor: pointer;
}
.send-btn-wrapper[data-v-0746759e] {
    text-align: right;
    padding: 10px 15px;
}

