* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

.container {
  height: 100vh;
  background: linear-gradient(
    to bottom,
    #ea5b3d,
    #ea5b3d 20%,
    #d4dbd9 20%,
    #d4dbd9
  );
  padding-top: 5vh;
}

main {
  height: 90vh;
  background-color: #f8f9fa;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 3px 6px 3px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: minmax(350px, 33%) 1fr;
  max-width: 1200px;
}

.padding {
  padding: 0.5rem 0.75rem;
}
.user-name {
  font-size: 1.4rem;
  color: #999;
}

section {
  border: 1px solid #eee;
}
.user-list {
  overflow-y: auto;
}

nav {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  background-color: #ededed;
  gap: 10px;
  position: sticky;
  top: 0;
}

nav img {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
}

.search-container {
  background-color: #f6f6f6;
  position: sticky;
  top: 64px;
}

.input-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  background: white;
  border-radius: 999px;
}

.input-container span {
  color: #666;
}

input {
  font-family: inherit;
  border: none;
  width: 100%;
  margin-left: 1rem;
  outline: none;
}

ul {
  list-style: none;
}

ul li {
  display: grid;
  grid-template-columns: 60px 1fr;
  background-color: white;
  border-top: 1px solid #eee;
  cursor: pointer;
}
ul li:hover {
  background-color: #EDEDED;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 4px;
}

li img {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
}

.name {
  display: flex;
  justify-content: space-between;
}

.name time {
  color: #666;
  font-size: 0.85rem;
}

.preview {
  color: #666;
  font-size: 0.95rem;
  margin-top: 2px;
}

.chat-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
}

.chat-container >img {
  border-radius: 999px;
  height: 10rem;
  width: 10rem;
  margin-bottom: 1.5rem;
}

.chat-container h2 {
  font-size: 1.5rem;
  color: #333;
  font-weight: 200;
  margin-bottom: 1rem;
  text-align: center;
}
.chat-container >span {
  margin-bottom: 10px;
  color: #888;
}

.container p {
  color: #888;
  max-width: 400px;
  font-size: 0.9rem;
  text-align: center;
}

.material-icons {
  font-size: 1em;
  text-align: center;
  vertical-align: baseline;
}

.more_vert {
  margin-left: calc(0.8rem - 8px);
  font-size: 1.5rem;
}

.material-icons.done_all {
  font-size: 1em;
  vertical-align: middle;
  margin-right: 3px;
}

.material-icons.done_all.received_and_read {
  color: blue;
}
.error-data {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 1rem;
  color: #b9b9b9;
}
.location{
  display: flex;
  align-items: center;
  gap: 4px;
}