@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Ruda:wght@400;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: "poppins", sans-serif;
  background-color: #b8c6db;
  background: linear-gradient(to right, #f5f7fa, #b8c6db);
}
.container {
  width: 720px;
  height: 800px;
  background-color: #2b2e3a;
  border-radius: 10px;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
  position: relative;
}
.card-header {
  background-color: #51A27D;
  border-radius: 10px 10px 0 0;
  padding: 1rem;
  color: #fff;
  width: 100%;
}
.card {
  overflow-y: auto;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #51A27D;
  border-radius: 5px;
}
.card-body {
  padding: 0.8rem;
  font-size: 1rem;
  height: 600px;
  overflow-y: auto;
  background-color: #ffff;
}
.card-body .chat-bot {
  display: flex;
  align-items: center;
}
.card-body .user {
  display: flex;
  align-items: center;
  justify-content: end;
}
.card-body .chat-bot p {
  background-color: #B8B8B8;
  border-radius: 10px;
  padding: 0.8rem;
  width: 50%;
  white-space: pre-wrap;
}
.card-body .user p {
  background-color: #1FA27D;
  border-radius: 10px;
  padding: 0.8rem;
  width: 50%;
  white-space: pre-wrap;
}
.chat-bot,
.user {
  margin: 1rem 0;
}
.chat .user-icon {
  width: 45px;
  height: 45px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  margin-right: 0.5rem;
  border: 2px solid #B8B8B8;
}
.user-icon .fa-robot {
  color: #B8B8B8;
}
.user-icon .fa-user {
  color: #b8c6db;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0;
}
.container, .card-footer {
  background-color: #ffffff !important;
}
.card-footer textarea {
  resize: none;
  border: 1px solid #B8B8B8;
  outline: none;
  font-family: inherit;
  width: 100%;
  display: flex;
  padding: 1.5rem;
  background-color: #ffff;
  border-radius: 10px;
  color: #000000;
  font-size: 1rem;
  position: absolute;
  bottom: 0;
}
.sending-icon {
  position: absolute;
  right: 30px;
  top: 94%;
}
.sending-icon .fa-paper-plane {
  color: #929292;
  font-size: 1.5rem;
  cursor: pointer;
}