body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #e4dfd8; /* Light theme background color */
  color: #333; /* Light theme text color */
}
.typing-status {
  font-size: 12px; /* Adjust the font size as needed */
}
.messenger {
  width: 360px; /* Adjust the width as needed */
  height: 600px; /* Adjust the height as needed */
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background-color: #fff; /* Light theme background color */
  border: 1px solid #ddd; /* Light theme border color */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 3D effect using box-shadow */
}

.header {
  padding: 10px 0;
  background-color: #128C7E; /* WhatsApp header background color */
  color: #fff; /* WhatsApp header text color */
  text-align: center;
  font-size: 18px;
}

.chat {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  background-size: cover;
}

.message {
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 8px 12px;
  display: inline-block; /* Adjust width based on content */
}

.received {
  background-color: #fff; /* Received message background color */
  color: #333; /* Received message text color */
  display: inline-block; /* Adjust width based on content */
}

.sent {
  background-color: #DCF8C6; /* Sent message background color */
  color: #000; /* Sent message text color */
  float: right; /* Float sent messages to the right */
  clear: both;
  display: inline-block; /* Adjust width based on content */
}

.input-area {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #fff; /* Light theme background color */
  border-top: 1px solid #ddd; /* Light theme border color */
}

.input-area input {
  flex-grow: 1;
  padding: 8px;
  border: none;
  border-radius: 20px;
  margin-right: 10px;
  background-color: #f2f2f2; /* WhatsApp input background color */
  color: #333; /* WhatsApp input text color */
}

.input-area button {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background-color: #128C7E; /* WhatsApp send button color */
  color: #fff;
  cursor: pointer;
}
