#chat-container {
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
  height: 600px;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.message {
  max-width: 80%;
  margin-bottom: 15px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.message.own {
  align-self: flex-end;
  background-color: #e1f5d0;
  border-bottom-right-radius: 4px;
}

.message.other {
  align-self: flex-start;
  background-color: #fff;
  border-bottom-left-radius: 4px;
}

.message .meta {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
  text-align: right;
}
.sender-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 3px;
    display: block;
}

.message .checkmarks {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.message .check-icon {
  width: 16px;
  height: 16px;
  color: #34b7f1;
}

.message .check-icon.double {
  position: absolute;
  left: 8px;
  top: 0;
}


#chat-input-bar {
  border-top: 1px solid #eee;
  padding: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

#chat-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 14px;
  resize: none;
  min-height: 100px;
}

#chat-send {
  min-height: 100px;
  min-width: 50px;
  background-color: #25d366;
  border: none;
  padding: 10px 14px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

#chat-send:hover {
  background-color: #1ca354;
}
.chat-notify-icon {
    color: #ff3b3b; /* red or any alert color */
    margin-left: 6px;
    vertical-align: middle;
}
.new-message {
	font-size: 10px;
	display: inline-block;
	padding: 0px 5px;
	border-radius: 5px;
color: #721c24;
background-color: #f8d7da;
border-color: #f5c6cb;
}
