#chat-wrapper {
    width: 100%;
    height: 80vh;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    background: #f8f8f8;
    font-family: 'Segoe UI', sans-serif;
  }
  
  #chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
  }
  
  .message {
    background: #ffffff;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    max-width: 80%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    white-space: pre-wrap;
  }
  
  .user {
    align-self: flex-end;
    background: #daf0ff;
  }
  
  .assistant {
    align-self: flex-start;
    background: #f1f1f1;
  }
  
  #chat-controls {
    display: flex;
    padding: 1rem;
    background: #ffffff;
    gap: 0.5rem;
    border-top: 1px solid #ccc;
  }
  
  #chat-input {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #ccc;
  }
  
  #send-button,
  #btn-portfolio,
  #btn-micro,
  #btn-micro-stop,
  #btn-upload-file {
    border: none;
    background: #007bff;
    color: white;
    border-radius: 20px;
    padding: 0 1rem;
    cursor: pointer;
    font-size: 1rem;
    height: 100%;
  }
  
.title_header_menu {
  margin: 10px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}


.link_menu {
  font-weight: 400 !important;
  margin: 25px !important;
  margin-top : 10px !important;
  font-size: 12px !important;
  color: black;
}


/* Animation du curseur d'attente du bot */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
  color: #888;
  font-size: 16px;
  font-style: italic;
}

.typing-indicator .dot {
  height: 8px;
  width: 8px;
  background-color: #ccc;
  border-radius: 50%;
  animation: pulse 1s infinite ease-in-out;
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.5); opacity: 1; }
}


.portfolio-icon-wrapper {
  position: relative;
}

.badge-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  font-weight: bold;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}


/* Partie edit TITLE */

.div_title{
  display: flex;
  justify-content: flex-end; /* Aligne les éléments à droite */
  align-items: center; /* Aligné verticalement au centre */
  gap: 10px;
  font-family: "Quicksand", Sans-serif !important;
}


.title_texte{
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  border: none !important;
  text-align: right;
  border: 0px solid #ccc !important;
  border-radius: 8px;
  transition: border 0.3s ease;
}

.title_texte:hover{
  border: 1px solid #ccc !important; /* Bordure grise légère au survol */
  border-radius: 8px; /* (facultatif) Coins arrondis si tu veux */
}

.title_texte:focus{
  border: 1px solid #595959 !important; /* Bordure grise légère au survol */
  border-radius: 8px; /* (facultatif) Coins arrondis si tu veux */
}

.icone_edit{
  background: none;
  border: none;
  font-size: 20px;
  color: #bbb7b7;
  padding-top: 16px;
}

.icone_edit:hover{
  background: none;
  border: none;
  font-size: 20px;
  color: #676767;
  padding-top: 16px;
}