body {
  background-color: #f9f9fb;
  font-family: "Inter", sans-serif;
}
.chat-cont {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
#footer-txt {
  color: gray;
  text-align: center;
}
.chat-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header .status {
  font-size: 0.85rem;
  color: green;
}
.chatter {
  border: 1px solid #c3c3c3;
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}

.chatter.show {
  opacity: 1;
  transform: translateY(0);
}
.status.away {
  color: darkorange; /* of oranje/rood, wat je mooi vindt */
}

.chat-bubble {
  display: inline-block;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  max-width: 80%;
  margin: 0.3rem 0;
}

.chat-bubble {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 18px;
  margin: 6px 0;
  max-width: 80%;
}

.chat-bubble.them {
  background: #8e44ad;
  background: linear-gradient(45deg, #9c27b0, #673ab7);
  color: white;
  align-self: flex-start;
}

.chat-bubble.me {
  background: #3349c4;
  color: white;
  align-self: flex-end;
}

#chatArea {
  display: flex;
  flex-direction: column;
  height: 400px; /* of 100vh - header/footer */
  overflow-y: auto;
  padding: 10px;
  background: url(../images/pattern.png);
  background-size: auto;
}
.userprefs {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.typing {
  background: #eee;
  color: #555;
  font-style: italic;
}

.chat-bubble.system {
  background-color: #eee;
  color: #333;
  border-bottom-right-radius: 0.3rem;
}

.chat-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 1rem;
  text-align: center;
}

.typing-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  margin: 0 2px;
  background: #aaa;
  border-radius: 50%;
  animation: bounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.left-profiles img {
  width: 64px;
}

.btn {
  margin-bottom: 8px;
}
@media (max-width: 700px) {
  .h-100 {
    display: none;
  }
}
@media (max-width: 1079px) {
  .btn {
    width: 100%;
  }
}

.fa-circle {
  font-size: 0.6rem;
  position: relative;
  top: -1px;
}

.online-dot {
  animation: pulseFade 1.5s infinite ease-in-out;
}

@keyframes pulseFade {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}