#chat-wrapper {
    max-width: 100vw;
    overflow-x: hidden;
}

#chat-wrapper .card p:last-child,
#chat-wrapper .card blockquote:last-child
{
    margin-bottom: 0;
}

#chat-wrapper blockquote {
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 500;
  border-left: 0.15rem solid var(--bs-green);
}

#chat-wrapper #homeoco-input {
    font-size: 16px;
}

@media (min-width: 768px) {
  #chat-wrapper blockquote {
    line-height: 1.5;
  }
}

@media (min-width: 992px) {
  #chat-wrapper blockquote {
    line-height: 1.7;
  }
}

/* Marge au-dessus lors du scrollIntoView vers un message */
.msg-assistant {
    scroll-margin-top: 1rem;
}

/* Fix : le dropdown de sélection de langue doit passer au-dessus des card */
#topbar-mobile {
    z-index: 1040;
}

/*
#messages-wrapper .btn {
    white-space: wrap !important;
}

#messages-wrapper .ajaxbloc{
    height: 100%;
    width: 100%;
    display: flex;
    overflow: hidden;
}

#messages-wrapper p {
  margin-bottom: 0;
}

#messages-wrapper .bg-green {
    background-color: #44c39f !important;
}
*/

.swiper-controls .swiper-navigation .swiper-button.swiper-button-next {
  right: 0 !important;
}
.swiper-controls .swiper-navigation .swiper-button.swiper-button-prev {
  left: 0 !important;
}

.conversations-wrapper a {
    text-decoration: none;
}
.conversation-item {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.conversation-item:hover,
.conversation-item.active {
    background-color: #eceef3;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Works on Firefox */
.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: #9499a3 #eceef3;
}

/* Works on Chrome, Edge, and Safari */
.scrollbar-thin::-webkit-scrollbar {
    width: 12px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: #9499a3;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background-color: #eceef3;
    border-radius: 20px;
    border: 3px solid #9499a3;
}

/* Loader */
#loader {
    position: relative;
    height: 80px;
    width: 55px;
}

@keyframes loader {
    0% { left: -100px }
    100% { left: 110%; }
}

#box {
    width: 50px;
    height: 50px;
    background: var(--bs-green);
    animation: animate .5s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
}

@keyframes animate {
    17% { border-bottom-right-radius: 3px; }
    25% { transform: translateY(9px) rotate(22.5deg); }
    50% {
        transform: translateY(18px) scale(1,.9) rotate(45deg) ;
        border-bottom-right-radius: 40px;
    }
    75% { transform: translateY(9px) rotate(67.5deg); }
    100% { transform: translateY(0) rotate(90deg); }
}

#shadow {
    width: 50px;
    height: 5px;
    background: #000;
    opacity: 0.1;
    position: absolute;
    top: 59px;
    left: 0;
    border-radius: 50%;
    animation: shadow .5s linear infinite;
}

@keyframes shadow {
    50% {
        transform: scale(1.2,1);
    }
}

.more .lien-moins { display: none; }
.more[aria-expanded="true"] .lien-plus { display: none; }
.more[aria-expanded="true"] .lien-moins { display: inline; }
