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

body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
}

.container {
  width: 100%;
  max-width: 600px;
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
  height: 100vh;
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: 80vh;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.chat-history {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
}

.input-container {
  display: flex;
  padding: 8px;
}

input[type="text"] {
  flex-grow: 1;
  padding: 8px;
  border: none;
  border-top: 1px solid #ccc;
  border-radius: 0;
}

button {
  padding: 8px 16px;
  background-color: #51cd83;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  margin-left: 8px;
}

button:hover {
  background-color: #378a59;
}

.chat-sender {
  clear: both;
  font-size: 120%;
}

.chat-sender div:nth-of-type(1) {
  background-color: #dcf5f0;
  float: left;
  margin: 5px 5px 5px 5px;
  padding: 2px 2px 2px 2px;
  border-radius: 7px;
  /* text-indent: -12px; */
}

.chat-receiver {
  clear: both;
  font-size: 120%;
}

.chat-receiver div:nth-of-type(1) {
  float: right;
  background-color: #cff3ab;
  margin: 5px 5px 5px 5px;
  padding: 2px 2px 2px 2px;
  border-radius: 7px;
}
/* Hint CSS */
.hint {
  font-style: italic;
  color: #888;
  font-size: 14px;
  margin-top: 8px;
}

/* 
  .chat-left_triangle{
    height: 0px;
    width: 0px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent white transparent transparent;
    position: relative;
    left: -22px;
    top: 3px;
  }
  .chat-right_triangle{
    height: 0px;
    width: 0px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #b2e281;
    position: relative;
    right:-22px;
    top:3px;
  } */