.chat-item-container {
  display: flex;
  gap: 15px;
  width: fit-content;
  max-width: 75%;
  opacity: 0;
  transform: translateY(10px);
  animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.message-content {
  padding: 12px 14px;
}
.message-content ux-copy {
  font-size: 14px;
  margin: 0;
}

ux-chat-item[source=bot] {
  display: block;
}
ux-chat-item[source=bot] .message-content {
  background-color: #c6d4dd;
}

ux-chat-item[source=user] .message-content {
  background-color: #fff;
}
ux-chat-item[source=user] .chat-item-container {
  margin-left: auto;
}

ux-chat-item[source=system] .message-content {
  background-color: #c5c5c5;
  --ux-button-bg-color: #fff;
}
ux-chat-item[source=system] .message-content ux-copy + ux-button {
  margin-top: 10px;
}

header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.profile-picture {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 4px;
  background-color: #005074;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  overflow: hidden;
}
.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-message-footer {
  text-align: right;
}

.chat-name,
.chat-date {
  color: #000;
  font-size: 0.625rem;
}

@media (max-width: 768px) {
  #feedback-button {
    width: 100%;
  }
}