#chat-panel {
  height: 70vh;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
}

.message-row {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}

.message-row.host {
  justify-content: flex-end;
}

.message-row.guest {
  justify-content: flex-start;
}

.chat-bubble {
  display: inline-block;
  max-width: 60%;
  min-width: 80px;
  padding: 10px 14px;
  border-radius: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-size: 14px;
  margin-bottom: 10px;
}

.chat-bubble.host {
  background-color: #d9edf7;
  text-align: right;
}

.chat-bubble.guest {
  background-color: #f5f5f5;
  text-align: left;
}

.chat-bubble hr {
  margin-top: 4px;
  margin-bottom: 4px;
}

.reactions-list li {
  margin-start: 5px;
  margin-end: 5px;
}

#chat-box {
  border-top: 1px solid #dee2e6;
  padding: 10px 0;
}

#chat-box form {
  width: 100%;
}

#chat-box input.form-control {
  resize: none;
  background-color: #f8f9fa;
  border-radius: 50px;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  font-size: 14px;
  flex-grow: 1;
  margin-right: 10px;
}

#chat-box textarea:focus {
  outline: none;
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

#chat-box button[type="submit"] {
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
}
