.conversation-layout{
    display:flex;
    gap:20px;
    height:calc(100vh - 170px);
}

.conversation-list{
    width:360px;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.conversation-header{
    padding:20px;
    border-bottom:1px solid #eee;
}

.search-input{
    width:100%;
    padding:10px;
    margin-top:15px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
}

.conversation-item{
    display:flex;
    gap:15px;
    padding:18px;
    border-bottom:1px solid #f2f2f2;
    cursor:pointer;
    transition:.2s;
}

.conversation-item:hover{
    background:#f7f8fb;
}

.conversation-item.active{
    background:#eef4ff;
}

.avatar{
    width:48px;
    height:48px;
    border-radius:50%;
    background:#3b82f6;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
}

.conversation-info{
    display:flex;
    flex-direction:column;
}

.conversation-info small{
    color:#777;
}

.chat-panel{
    flex:1;
    background:#fff;
    border-radius:15px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.chat-header{
    padding:20px;
    border-bottom:1px solid #eee;
}

.chat-body{
    flex:1;
    padding:30px;
    background:#f8fafc;
    overflow-y:auto;
}

.empty-chat{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    height:100%;
    color:#888;
}

.chat-footer{
    display:flex;
    gap:10px;
    padding:20px;
    border-top:1px solid #eee;
}

.chat-footer input{
    flex:1;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
}

.chat-footer button{
    width:120px;
}
