#logo {
  animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

#msgs {
  margin: 0 25px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  align-items: flex-start;
}
.msg {
  margin: 5px 0;
  border: 1px solid silver;
  padding: 3px 7px;
  display: inline-block;
  position: relative;
  border-radius: 10px;
  &::before,
  &::after {
    content: "";
    display: inline-block;
    bottom: 0;
    position: absolute;
    border: 1px solid silver;
  }
  &::before {
    right: -20px;
    width: 15px;
    height: 15px;
    border-radius: 10px;
  }
  &::after {
    right: -35px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
  }
  &.from {
    align-self: flex-end;
  }
  &.to {
    align-self: flex-start;
    &::before {
      right: inherit;
      left: -20px;
    }
    &::after {
      right: inherit;
      left: -35px;
    }
  }
  &.typing {
    color: silver;
  }
}

.divider {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 0 20px 0;
}

.divider:after {
  display: block;
  content: '';
  clear: both;
  position: absolute;
  top: 12px;
  left: 0;
  border-top: 1px solid #EBEBEB;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.msg-body h6 {
  text-align: center;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
  background: #fff;
  display: inline-block;
  padding: 0 5px;
  margin-bottom: 0;
}

#profileDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1000;
}

/* Ajoutez ce CSS pour ajuster la position lorsque le menu est affiché à gauche */
#profileDropdownMenu.show[data-bs-placement^="left"] {
  right: auto;
  left: 0;
}

/* CSS pour afficher le menu déroulant */
#avatarDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0px;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: .5rem 0;
  margin: .125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .25rem;
}

#avatarDropdownMenu.show {
  display: block;
}

#message-notyf{
  display: none;
}

#chatTabsContent {
  height: 100%;
  overflow-y: auto;
}

.gradient-text {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #ff8a00, #e52e71); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Carte Light */
.custom-card {
  --random-color: #ff8a00;
}

.custom-card {
  position: relative;
  overflow: hidden;
}

.custom-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.custom-card button {
  pointer-events: auto;
}

.custom-card:hover {
  box-shadow: 0 0 10px 5px var(--random-color)
}
