.container {
  background: var(--secondary-color);
  padding: 20px 0px 0px 0px;
  /* height: 100%; */
  width: 100%;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

.admin_section {
  cursor: pointer;
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: start;
}
.profile_image_container {
  width: 50px;
  height: 50px;
  background: url("/assets/admin.jpg") no-repeat center center/cover;
  border-radius: 50%;
  border: 2px solid rgb(44, 255, 255);
  padding: 2px;
}
.profile_image_container img {
  border-radius: 50% !important;
}
.admin_text {
  margin-left: 20px;
  font-size: 14px;
  font-weight: 600;
}

.input_container_outer {
  margin: 20px 0px;
  width: 100%;
  height: 40px;
  border-top: 1px solid var(--component-hover);
  border-bottom: 1px solid var(--component-hover);
}
.input_container {
  background: var(--component-hover-opaque);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  align-items: center;
  padding: 0px 10px;
  width: 95%;
  height: 100%;
}
.input_container svg {
  background: none !important;
}
.input {
  height: 100%;
  background: inherit;
  width: calc(100% - 20px);
  border: none;
  outline: none;
  padding: 0px 20px;
  color: var(--text-primary);
  border-radius: inherit;
}

.chats {
  height: 300px;
  overflow-y: scroll;
}
.chats::-webkit-scrollbar {
  width: 5px;
}
.chats::-webkit-scrollbar-track {
  background: inherit;
}
.chats::-webkit-scrollbar-thumb {
  background: var(--text-color-secondary);
  border-radius: 10px;
}

.chat {
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}
.chat:hover {
  background: var(--component-hover);
}
.chat_image {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}
.chat_excerpt {
  flex: 1;
  margin-left: 10px;
}
.name_time {
  font-size: 14px;
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.category {
  font-weight: 600;
}
.relative_time {
  font-size: 12px;
  color: #ccc;
}

.latest_message {
  font-size: 14px;
}

.chat.active_chat {
  position: relative;
  background: var(--component-hover);
}
.chat.active_chat::after {
  position: absolute;
  content: "";
  top: 0px;
  right: 0px;
  height: 100%;
  width: 3px;
  background: var(--component-color);
}
.latest_message_username {
  font-size: 14px;
  font-weight: 600;
}
.latest_message_content.italic {
  font-style: italic;
}
.nothing_found {
  font-weight: 600;
  text-align: center;
}

@media screen and (max-width: 800px) {
  .input_container_outer {
    display: none;
  }
  .chat_excerpt {
    display: none;
  }
  .admin_section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
  }
  .chat {
    padding: 10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .admin_text {
    display: none;
  }
  .nothing_found {
    display: none;
  }
  .chats {
    height: 430px;
  }
}
