* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #ece5dd;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  background: #075e54;
  color: white;
  padding: 10px;
}

.menu button {
  background: transparent;
  border: none;
  color: white;
  margin-left: 10px;
  cursor: pointer;
}

.container {
  display: flex;
  height: calc(100vh - 50px);
}

.sidebar {
  width: 30%;
  background: white;
  border-right: 1px solid #ddd;
}

.sidebar input {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ddd;
}

.chat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.chat-list li {
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.chat-list li:hover {
  background: #f5f5f5;
}

.chat-area {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 15px;
  background: #ededed;
  font-weight: bold;
}

.messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

.message {
  background: #dcf8c6;
  padding: 10px;
  margin-bottom: 10px;
  width: fit-content;
  border-radius: 5px;
}

.chat-input {
  display: flex;
  padding: 10px;
  background: #f0f0f0;
}

.chat-input input {
  flex: 1;
  padding: 10px;
}

.chat-input button {
  padding: 10px 20px;
  background: #075e54;
  color: white;
  border: none;
}

.login-body {
  background: #075e54;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  background: white;
  padding: 30px;
  width: 300px;
  text-align: center;
  border-radius: 8px;
}

.login-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

.login-box button {
  width: 100%;
  padding: 10px;
  background: #075e54;
  color: white;
  border: none;
}
