.twoColumnModal {
  .ant-modal-body {
    padding: 0;
  }
}

.container {
  display: flex;
  height: 500px;
  border: 1px solid #e8e8e8;
}

.leftColumn {
  flex: 1;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
}

.rightColumn {
  width: 300px;
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.searchWrapper {
  padding: 16px;
  border-bottom: 1px solid #e8e8e8;

  .ant-input {
    border-radius: 6px;
  }
}

.friendList {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.friendItem {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s;

  &:hover {
    background-color: #f5f5f5;
  }

  &.selected {
    background-color: #e6f7ff;
  }

  .ant-checkbox {
    margin-right: 12px;
  }
}

.friendInfo {
  margin-left: 12px;
  flex: 1;
}

.friendName {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.friendId {
  font-size: 12px;
  color: #999;
}

.selectedHeader {
  padding: 16px;
  border-bottom: 1px solid #e8e8e8;
  font-weight: 500;
  color: #333;
  background: #fff;
}

.selectedList {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.selectedItem {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: #fff;
  margin: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
}

.selectedInfo {
  margin-left: 8px;
  flex: 1;
}

.selectedName {
  font-size: 13px;
  color: #333;
}

.removeBtn {
  color: #999;
  font-size: 16px;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  &:hover {
    color: #ff4d4f;
    background: #fff2f0;
  }
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: #999;
}

.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: #999;
  font-size: 14px;
}

.emptySelected {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: #999;
  font-size: 14px;
}
