.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}
.list-header .header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.list-header .btn-done {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}
.list-header .btn-done:hover {
  background-color: #0056b3;
}

.chat-container {
  padding: 0 16px;
  overflow: hidden;
}

.create-chat-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  padding: 8px 12px 8px 8px;
  gap: 4px;
  border-radius: 16px;
  border: 1px solid #d5ebff;
  background: #e8f5ff;
}
.create-chat-header .header-top {
  display: flex;
  align-items: center;
}
.create-chat-header .header-top a {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.create-chat-header .header-top a img {
  width: 16px;
  height: 16px;
}
.create-chat-header .header-top .btn-create {
  color: #0d3aff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.create-chat-header .header-top .btn-create.disabled {
  color: #98a2b3;
  cursor: default;
}
.create-chat-header .header-top .btn-create:not(.disabled):hover {
  color: #032eff;
}
.create-chat-header .header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.create-chat-header .header-info .info-camera {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
}
.create-chat-header .header-info .info-camera .camera-preview {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  object-fit: cover;
  border-radius: 50%;
}
.create-chat-header .header-info .info-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  color: #667085;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.create-chat-content {
  margin-top: 16px;
  margin-bottom: 80px;
}
.create-chat-content .content-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d0d5dd;
  padding-bottom: 4px;
}
.create-chat-content .content-item:not(:first-child) {
  margin-top: 10px;
}
.create-chat-content .content-item .item-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.create-chat-content .content-item .item-info .item-info-title {
  color: #101828;
  font-size: 14px;
  line-height: 18px;
}
.create-chat-content .content-item .item-info .item-info-member {
  color: #667085;
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}
.create-chat-content .content-item .item-action {
  cursor: pointer;
}
.create-chat-content .content-item .item-action img {
  width: 20px;
  height: 20px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.list .item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.list .item .item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.list .item .item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list .item .item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.list .item .item-info-name {
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.list .item .item-info-detail {
  color: #667085;
  font-size: 14px;
  line-height: 20px;
}

.create-chat {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}
.create-chat.hide {
  display: none;
}
.create-chat .create-chat-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: #fff;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
.create-chat .create-chat-footer .btn-create-bottom {
  width: 100%;
  padding: 12px;
  background: #3068ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.create-chat .create-chat-footer .btn-create-bottom.disabled {
  background: #d0d5dd;
  cursor: default;
}

.list {
  overflow: auto;
  padding-bottom: 16px;
}

.list-member {
  display: none;
}
.list-member.show {
  display: flex;
}
.list-member .item input[type=checkbox] {
  width: 20px;
  height: 20px;
  border: 1.5px solid #d0d5dd;
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
  position: relative;
  margin: 0;
}
.list-member .item input[type=checkbox]:checked {
  border-color: #0d3aff;
  background-color: #0d3aff;
}
.list-member .item input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.list-member .item input[type=checkbox]:hover {
  border-color: #0d3aff;
}
.list-member .list-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.list-member .list-header .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.list-member .list-header .back-btn img {
  width: 20px;
  height: 20px;
}
.list-member .list-header .title {
  margin-left: 8px;
  color: #101828;
  font-size: 16px;
  font-weight: 600;
}
.list-member .item .item-avatar img[src$="avatar-1.png"] {
  background: #f97316;
}
.list-member .item .item-avatar img[src$="avatar-2.png"] {
  background: #eab308;
}
.list-member .item .item-avatar img[src$="avatar-3.png"] {
  background: #22c55e;
}
.list-member .item .item-avatar img[src$="avatar-4.png"] {
  background: #0ea5e9;
}
.list-member .item .item-avatar img[src$="avatar-5.png"] {
  background: #6366f1;
}
.list-member .item .item-avatar img[src$="avatar-6.png"] {
  background: #a855f7;
}
.list-member .item .item-avatar img[src$="avatar-7.png"] {
  background: #ec4899;
}
.list-member .item .item-avatar img[src$="avatar-8.png"] {
  background: #14b8a6;
}
.list-member .item .item-avatar img[src$="avatar-9.png"] {
  background: #f43f5e;
}
.list-member .item .item-avatar img[src$="avatar-10.png"] {
  background: #8b5cf6;
}

.list-assignment,
.list-project,
.list-task {
  display: none;
  padding: 16px;
  flex-direction: column;
}
.list-assignment.show,
.list-project.show,
.list-task.show {
  display: flex;
}
.list-assignment .item input[type=radio],
.list-project .item input[type=radio],
.list-task .item input[type=radio] {
  width: 20px;
  height: 20px;
  border: 1.5px solid #d0d5dd;
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
  position: relative;
  margin: 0;
}
.list-assignment .item input[type=radio]:checked,
.list-project .item input[type=radio]:checked,
.list-task .item input[type=radio]:checked {
  border-color: #0d3aff;
  background-color: #0d3aff;
}
.list-assignment .item input[type=radio]:checked::after,
.list-project .item input[type=radio]:checked::after,
.list-task .item input[type=radio]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.list-assignment .item input[type=radio]:hover,
.list-project .item input[type=radio]:hover,
.list-task .item input[type=radio]:hover {
  border-color: #0d3aff;
}
.list-assignment .list-header,
.list-project .list-header,
.list-task .list-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.list-assignment .list-header .back-btn,
.list-project .list-header .back-btn,
.list-task .list-header .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.list-assignment .list-header .back-btn img,
.list-project .list-header .back-btn img,
.list-task .list-header .back-btn img {
  width: 20px;
  height: 20px;
}
.list-assignment .list-header .title,
.list-project .list-header .title,
.list-task .list-header .title {
  margin-left: 8px;
  color: #101828;
  font-size: 16px;
  font-weight: 600;
}

.cursor-pointer {
  cursor: pointer;
}