 /* Custom CSS for chat display */
 .bg-clear {
    background-color: transparent;
}

.navbar-light .navbar-brand {
    color: #555; /* Adjust the color to fit your design */
}

/* Ensure the navigation links are visible against your background */
.navbar-light .navbar-nav .nav-link {
    color: #555; /* Adjust the color to fit your design */
}

 .sidebar {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 15px;
}
.message {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.user-message {
    flex-direction: row-reverse;
}

.agent-message {
    flex-direction: row;
}
.fas {
    margin-left: 10px;
}


.message-profile {
    display: flex;
    align-items: center;
    margin-right: 10px; /* Espacement pour le message de l'utilisateur */
}

.agent-message .message-profile {
    margin-right: 0;
    margin-left: 10px; /* Espacement pour le message de l'agent */
}

.profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.sender-name {
    font-weight: bold;
}

.message-text {
    border-radius: 20px;
    padding: 8px 12px;
    max-width: 60%;
}

/* Styles de fond et de couleur de texte pour l'utilisateur et l'agent */
.user-message .message-text {
    background-color: #007bff; /* Bleu pour l'utilisateur */
    color: white;
}

.agent-message .message-text {
    background-color: #6c757d; /* Gris pour l'agent */
    color: white;
}



.loader {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
  }
  
  .loader-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: black;
    margin: 0 2px;
    animation: loader-animation 1.4s infinite both;
  }
  
  .loader-dot:nth-child(1) { animation-delay: -0.32s; }
  .loader-dot:nth-child(2) { animation-delay: -0.16s; }
  
  @keyframes loader-animation {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
  }

strong {
    margin-right: 5px;
}

