    * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
      }


      /* .chat-container {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border-radius: 24px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
      width: 50%;
      max-width: 500px;
      height: 600px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.2);
      position: fixed; */
       /* fixe à l'écran pour éviter le scroll */
    /* right: 60px; bottom: 45px; z-index: 1000;*/
        /* Effet initial */
      /* opacity: 0;
      transform: translateY(30px) scale(0.95); 
      / *légèrement décalé et réduit */
      /* pointer-events: none;
      transition: opacity 0.4s ease, transform 0.4s ease;
  }  */
  
  /* Overlay qui bloque le scroll derrière le chat */
/* .chat-overlay {
    
    opacity: 0;
    visibility: hidden;
   
} */

/* .chat-overlay .active {
    opacity: 1;
    visibility: visible;
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 0%;
    background: rgba(0,0,0,0.3);
     transition: opacity 0.2s ease;
    z-index: 900;
} */


  
  .clickMe{
  position: fixed;
  right: 25px;
  bottom: 25px;
  }
  
  .parent{
  position: relative;
  }

.chat-container.visible {
    opacity: 1;
    height: 70vh;
    transform: translateY(0) scale(1); /* revient à sa place normale */
    transition: all 0.6s ease;
    pointer-events: auto;
}

.close-chat {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: rgb(50, 50, 50);
    font-size: 25px;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 1010; /* au-dessus du chat header */
}

.close-chat:hover {
    transform: scale(1.2);
}


      .chat-header {
          /* background: linear-gradient(135deg, #a05a9c 20%, #3cacae 80%); */
          color: white;
          padding: 15px 15px 1px 15px;
          text-align: center;
          position: relative;
          overflow: hidden;
      }

      @keyframes shimmer {
          0% { transform: rotate(0deg); }
          100% { transform: rotate(360deg); }
      }

      .chat-header h1 {
          font-size: 1.4rem;
          font-weight: 600;
          margin-bottom: 8px;
          position: relative;
          z-index: 1;
      }

      .chat-header p {
          opacity: 0.9;
          font-size: 0.95rem;
          position: relative;
          z-index: 1;
          font-weight: 700;
      }
      
      .chat-messages {
          flex: 1;
          padding: 10px;
          overflow-y: auto;
          /* background: #f8f9fa; */
          position: relative;
      }
      
      .chat-messages::-webkit-scrollbar {
          width: 6px;
      }

      .chat-messages::-webkit-scrollbar-track {
          background: #e9ecef;
          border-radius: 3px;
      }

      .chat-messages::-webkit-scrollbar-thumb {
          background: #6c757d;
          border-radius: 3px;
      }

      .message {
          display: flex;
          margin: 5px 5px;
          animation: fadeIn 0.4s ease-out;
      }

      @keyframes fadeIn {
          from { opacity: 0; transform: translateY(20px); }
          to { opacity: 1; transform: translateY(0); }
      }

      .message.user {
          justify-content: flex-end;
      }

      .message-content {
          width: 85%;
          padding: 15px;
          border-radius: 18px;
          position: relative;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }

      /* add mika */
      .message-contentHid{width: 95%;}
   

      .message.bot .message-content {
          background: white;
          color: #333;
          border: 1px solid #e9ecef;
          border-bottom-left-radius: 4px;
      }
    

      .message-avatar {
          width: 40px;
          height: 40px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          margin: 0 12px;
          font-size: 1.2rem;
          flex-shrink: 0;
      }

      .message.user .message-avatar {
          /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
          color: white;
      }

      .message.bot .message-avatar {
          /* background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%); */
          color: white;
      }

      .typing-indicator {
          display: none;
          padding: 15px 20px;
          background: white;
          border-radius: 18px;
          border-bottom-left-radius: 4px;
          max-width: 75%;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          border: 1px solid #e9ecef;
      }

      .typing-dots {
          display: flex;
          gap: 4px;
      }

      .typing-dots span {
          width: 8px;
          height: 8px;
          border-radius: 50%;
          background: #6c757d;
          animation: bounce 1.4s infinite ease-in-out both;
      }

      .typing-dots span:nth-child(1) { animation-delay: -0.32s; }
      .typing-dots span:nth-child(2) { animation-delay: -0.16s; }

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

      .chat-input-container {
         
          background: white;
          /* border-top: 1px solid #e9ecef; */
          border-radius: 12px;
      }
      
      .chat-input-wrapper {
          display: flex;
          gap: 15px;
          align-items: flex-end;
      }

      .chat-input {
          flex: 1;
          min-height: 50px;
          max-height: 120px;
          padding: 15px 20px;
          border: 2px solid #e9ecef;
          border-radius: 25px;
          font-size: 0.95rem;
          resize: none;
          outline: none;
          transition: all 0.3s ease;
          background: #f8f9fa;
          line-height: 1.4;
      }

      .chat-input:focus {
          border-color: #667eea;
          background: white;
          box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
          width: 80%;
      }

      .send-button {
          width: 50px;
          height: 50px;
          border: none;
          border-radius: 50%;
          background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
          color: white;
          font-size: 1.2rem;
          cursor: pointer;
          transition: all 0.3s ease;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;
      }

      .send-button:hover {
          transform: scale(1.05);
          box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
      }

      .send-button:active {
          transform: scale(0.95);
      }

      .send-button:disabled {
          background: #6c757d;
          cursor: not-allowed;
          transform: none;
          box-shadow: none;
      }

      .quick-suggestions {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
          margin-bottom: 15px;
      }

      .suggestion-btn {
          background: rgba(102, 126, 234, 0.1);
          border: 1px solid rgba(102, 126, 234, 0.2);
          color: #667eea;
          padding:5px 10px;
          border-radius: 20px;
          font-size: 14px;
          cursor: pointer;
          transition: all 0.3s ease;
          white-space: nowrap;
      }

      .suggestion-btn:hover {
          background: rgba(102, 126, 234, 0.2);
          transform: translateY(-1px);
      }

      /* .welcome-message {
          text-align: center;
          color: #6c757d;
           padding: 15px;
            background-color: #F1F1F1;
            border-radius: 12px;
      } */

      .welcome-message .icon {
          color: #667eea;
          margin-bottom: 20px;
          animation: pulse 2s infinite;
      }

      @keyframes pulse {
          0% { transform: scale(1); }
          50% { transform: scale(1.05); }
          100% { transform: scale(1); }
      }

      .welcome-message h3 {
          color: #2c3e50;
          margin-bottom: 10px;
      }

      .welcome-message p {
          font-size: 1rem;
          line-height: 1.5;
      }

      /* Styles pour les résultats */
      .results-container {
          font-family: inherit;
          margin: 0;
      }

      .results-container h2 {
          color: #2c3e50;
          font-size: 1.2rem;
          margin-bottom: 15px;
          border-bottom: 2px solid #667eea;
          padding-bottom: 8px;
      }

      .results-suggestion{
        display: block;
        margin: 16px;
        padding: 5px 10px;
        font-size: 12px;
        font-weight: 600;
        color: #4a4a4a;
        background: #FFFFFF;
        border: none;
        border-radius: 8px;
        transition: all 0.2s ease;
        /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
        }


      .card {
          border: 1px solid #e9ecef;
          margin-bottom: 0px;
          border-radius: 12px;
          box-shadow: 0 2px 8px rgba(0,0,0,0.08);
          transition: transform 0.2s ease;
      }

      .card:hover {
          transform: translateY(-2px);
          box-shadow: 0 4px 15px rgba(0,0,0,0.12);
      }




      .card h3 {
          margin-top: 5;
          margin-bottom: 10px;
          color: #2c3e50;
          font-size: 1rem;
      }

      .card p {
          margin: 5px 0;
          font-size: 0.9rem;
          line-height: 1.4;
      }

      .conference {
          background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
          border-left: 4px solid #2196f3;
      }
      
      .exposant {
          background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
          border-left: 4px solid #9c27b0;
      }

      .card a {
          color: #667eea;
          text-decoration: none;
          font-weight: 500;
      }

      .card a:hover {
          text-decoration: underline;
      }

      .no-results {
          font-style: italic;
          color: #6c757d;
          text-align: center;
          padding: 15px;
          background: #f8f9fa;
          border-radius: 8px;
          border: 1px dashed #dee2e6;
      }
      
      .more-results {
          font-weight: 600;
          color: #667eea;
          text-align: center;
          margin-top: 10px;
      }

      .api-warning {
          background: #fff3cd;
          border: 1px solid #ffeaa7;
          color: #856404;
          padding: 15px;
          border-radius: 8px;
          margin: 20px;
          text-align: center;
      }
      
      .stats {
          background: rgba(255, 255, 255, 0.9);
          padding: 15px;
          border-radius: 8px;
          margin: 20px;
          text-align: center;
          font-size: 0.9rem;
          color: #666;
      }

      @media (max-width: 768px) {
          body {
              padding: 10px;
          }
        
          .chat-container {
              width: 350px;  
                 height: 1vh;
                transition: all 0.6s ease;
              border-radius: 16px;
                 background: rgba(255, 255, 255, 1);
                 backdrop-filter: blur(2px);
          }
        
          .chat-header {
              padding: 15px 15px 1px 15px;
          }
        
          .chat-header h1 {
              font-size: 1.4rem;
          }
        
          .message-content {
              width: 85%;
          }
        
          .quick-suggestions {
              justify-content: center;
          }
        
          .suggestion-btn {
              font-size: 14px;
            padding:5px 10px;
          }
      }
    
      /* Styles améliorés pour les résultats */
.results-container {
  font-family: inherit;
  margin: 0;
}

.results-header {
  margin-bottom: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
  border-radius: 12px;
  border-left: 4px solid #28a745;
}

.results-count {
  color: #155724;
  font-size: 1.1rem;
}

.results-count i {
  color: #28a745;
  margin-right: 8px;
}

.section-header i {
  margin-right: 10px;
}

.card {
  border: none;
  margin-bottom: 0px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  background: white;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-header {
  display: flex;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/*
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 15px;
  flex-shrink: 0;
}
*/
    .card-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 10px;
    }



.card-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}




.card-body {
  padding: 0 20px 20px 20px;
}




.card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 6px;
}




.info-item {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.9rem;
}

.info-item i {
  margin-right: 6px;
  color: #667eea;
  width: 14px;
}

.card-description {
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #dee2e6;
}

.card-footer {
  padding: 0 20px 20px 20px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg,rgb(55, 46, 185) 0%, #f5576c 100%);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #ee82f0 0%, #f3455a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240, 147, 251, 0.3);
}

.btn-primary i, .btn-secondary i {
  margin-right: 8px;
}

.more-results {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
  padding: 15px 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  margin-top: 20px;
  border-left: 4px solid #ffc107;
}

.more-results i {
  margin-right: 8px;
  color: #ffc107;
}

.no-results {
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  border: 2px dashed #dee2e6;
}

.no-results-icon {
  font-size: 3rem;
  color: #6c757d;
  margin-bottom: 20px;
}

.no-results h3 {
  color: #495057;
  margin-bottom: 10px;
}

.no-results p {
  color: #6c757d;
  margin-bottom: 10px;
}

.no-results small {
  color: #8a8a8a;
  font-style: italic;
}

@media (max-width: 768px) {

    /* Overlay */
    .chat-overlay {
            opacity: 0;
            visibility: hidden;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 900;
        backdrop-filter: blur(2px);
        background: rgba(0, 0, 0, 0.4);
        transition: all 0.3s ease;       
    }

    .chat-overlay.active {
    opacity: 1;
    visibility: visible;
        width:100%;
        height: 100%;
      
    }

    .card-header {
        padding: 15px;
    }
  
   /* .card-icon {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
      margin-right: 12px;
  } */
   .card-header h3 {
      font-size: 15px;
  }
   .card-info {
      flex-direction: column;
      gap: 8px;
  }
   .section-header {
      padding: 10px 15px;
      font-size: 1.3rem;
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow: auto; /* toujours scrollable */
}


/* Bouton d'ouverture */
.clickMe {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.clickMe:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* .clickMe img {
    width: 32px;
    height: 32px;
    object-fit: contain;
} */





/* Conteneur principal */
.chat-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    width: 350px;
        height: 1vh;
        transition: all 0.6s ease;
        /* max-height: 720px; */
    display: flex;
    flex-direction: column;
    /*overflow: hidden;*/
    position: fixed;
    right: 60px;
    bottom: 90px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    /*backdrop-filter: blur(2px);*/
}

.chat-container.visible {
    opacity: 1;
    height: 70vh;
    transform: translateY(0) scale(1);
    pointer-events: auto; 
    overflow: auto;     
}




/* Header minimaliste */
.chat-header {
    background: #FFFFFF;
    padding: 15px 15px 1px 15px;
    position: relative;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    z-index: 2;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid #CECECE;
  
}

.chat-header h1 {
    font-size: 18px;
    font-weight: 1000;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    color : #c26dbc;
}

.chat-header h1 i {
    font-size: 16px;
    margin-right: 8px;
    opacity: 0.9;
}

.chat-header p {
    opacity: 0.7;
    font-size: 15px;
    line-height: 1.7;
    color : #3cacae;
    font-weight: 700;
}

/* Bouton fermer */
.close-chat {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: rgb(50, 50, 50);
    font-size: 25px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 1;
}

.close-chat:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Messages */
.chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color:  rgb(208 208 208);
    /* background: #f2f1f1; */
    /*background: transparent; 
    /* background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px); */
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.message {
    display: flex;
    margin-top: 10px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.user {
    justify-content: flex-end;
}

.message-content {
   width: 85%;
    padding: 15px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.message.user .message-content {
    background: #dedede;
    color: rgb(0, 0, 0);
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

.message.bot .message-content {
    background: white;
    color: #1a1a1a;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
}

.message.user .message-contentHid {
    background: #dedede;
    color: rgb(0, 0, 0);
    font-weight: 500;
   
    width: 85%;
    padding: 15px;
    border-radius: 16px;
     border-bottom-right-radius: 4px;
    font-size: 15px;
    line-height: 1.5;

}



.message-avatar {
    display: none;
}

/* Message de bienvenue */
.welcome-message {
        background: white;
        padding: 15px;
        border-radius: 12px;
        text-align: center;
        color: #6b7280;
        border: 1px solid #e5e7eb;
        margin: 1px 0;
        box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
    }

.welcome-message .icon {
    font-size: 56px;
    /* color: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    margin-bottom: 20px;
    opacity: 1;
}

.welcome-message h3 {
    color: #1a1a1a;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 500;
}

.welcome-message p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.welcome-message strong {
    color: #1a1a1a;
    font-weight: 500;
}

/* Stats */
.stats {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    margin: 16px 0;
}

.stats strong {
    color: #1a1a1a;
    font-weight: 500;
}

/* Input */
.chat-input-container {
    padding: 16px;
    background: white;
    /* border-top: 1px solid #e5e7eb; */
    border-radius: 12px;
    border: 1px solid #CECECE;
}

.quick-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px;
}

.suggestion-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding:5px 10px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 400;
}

.suggestion-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.suggestion-btn i {
    font-size: 14px;
    margin-right: 6px;
    opacity: 0.7;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.chat-input {
    flex: 1;
    min-height: 44px;
    max-height: 120px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: all 0.2s ease;
    background: #fafafa;
    line-height: 1.5;
    font-family: inherit;
}

.chat-input:focus {
    border-color: #1a1a1a;
    background: white;
    width: 80%;
}

.send-button {
    width: 44px;
    height: 44px;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.send-button:hover {
    opacity: 0.8;
}

.send-button:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Typing indicator */
.typing-indicator {
    display: none;
    padding: 12px 16px;
    background: white;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    max-width: 80%;
    border: 1px solid #e5e7eb;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9ca3af;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

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

/* Résultats */
.results-container {
    font-family: inherit;
}

.results-header {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.results-count {
    color: #166534;
    font-size: 14px;
    font-weight: 500;
}

.results-count i {
    margin-right: 6px;
}

.section-header {
   
    /* color: #969292; */
    padding: 10px 16px;
    border-radius: 8px;
    margin: 20px 0 12px 0;
    font-weight: 500;
    font-size: 16px;
}

.section-header i {
    margin-right: 8px;
    font-size: 13px;
}

.card {
    border: 1px solid #e5e7eb;
    margin-bottom: 0px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    transition: all 0.2s ease;
}

.card:hover {
    border-color: #AAAAAA;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #fafafa;
    border-bottom: 1px solid #e5e7eb;
}

/* .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
} */



.card-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.card-body {
    padding: 14px 16px;
}

.card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 12px;
}

.info-item i {
    margin-right: 5px;
    color: #9ca3af;
    width: 12px;
}

.card-description {
    color: #374151;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    background: #fafafa;
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 2px solid #e5e7eb;
}

.card-footer {
    padding: 0 16px 14px 16px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    margin-right: 8px;
}

.btn-primary {
    background: #e8e5e5;
    color: white;
}

.btn-primary:hover {
    background: #000000;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-primary i, .btn-secondary i {
    margin-right: 6px;
    font-size: 11px;
}

.more-results {
    background: #fef3c7;
    color: #92400e;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    margin-top: 16px;
    border-left: 3px solid #fbbf24;
}

.more-results i {
    margin-right: 6px;
}

.no-results {
    text-align: center;
    padding: 15px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px dashed #d1d5db;
}

.no-results-icon {
    font-size: 40px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.no-results h3 {
    color: #374151;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.btn-load-more {
  display: block;
  margin: 0px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #FFF;
  /* background:  #dbdbdb; */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 1px solid #FFF;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.btn-load-more:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}


.no-results p {
    color: #6b7280;
    margin-bottom: 8px;
    font-size: 13px;
}

.no-results small {
    color: #9ca3af;
    font-style: italic;
    font-size: 12px;
}


/* Responsive - Grand écran */
@media (min-width: 1200px) {
    .chat-container {
        max-width: 350px;
            height: 1vh;
            transition: all 0.6s ease;
            /* max-height: 900px; */
    }

    .chat-header h1 {
        font-size: 20px;
    }

    .chat-header p {
        font-size: 15px;
    }

    .chat-messages {
        padding: 10px;
    }

    .message-content {
        font-size: 15px;
        padding: 15px;
    }

    .welcome-message {
        padding: 14px;
    }

    .welcome-message .icon {
        font-size: 56px;
    }

    .welcome-message h3 {
        margin-bottom: 14px;
    }

    .welcome-message p {
        font-size: 15px;
    }

    .stats {
        font-size: 14px;
        padding: 14px 18px;
    }

    .suggestion-btn {
        font-size: 14px;
        padding:5px 10px;
    }
    
    .btn-load-more {
      padding: 10px 20px;
      font-size: 15px;
    }

    .chat-input {
        font-size: 15px;
        padding: 14px 18px;
        min-height: 48px;
    }

    .send-button {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .card-header {
        padding: 16px 20px;
    }

    /* .card-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
        margin-right: 14px;
    } */

    .card-header h3 {
        font-size: 15px;
    }

    .card-body {
        padding: 16px 20px;
    }

    .info-item {
        font-size: 13px;
    }

    .card-description {
        font-size: 14px;
        padding: 12px 14px;
    }

    .card-footer {
        padding: 0 20px 16px 20px;
    }

    .btn-primary, .btn-secondary {
        font-size: 13px;
        padding: 9px 16px;
    }

    .section-header {
        font-size: 16px;
        padding: 12px 18px;
    }
}

/* Responsive - Téléphone */
@media (max-width: 768px) {
    .clickMe {
        right: 25px;
        bottom: 25px;
        width: 56px;
        height: 56px;
    }
    
    .clickMe img {
        width: 28px;
        height: 28px;
    }

    .chat-container {
        width: 330px;
            height: 1vh;
            transition: all 0.6s ease;
            /* max-height: 580px; */
            
            bottom: 90px;
        /* border-radius: 12px; */
        right: auto;
        margin: auto;
        background: rgba(255, 255, 255, 1);
        
    }
    .chat-container.visible {
    opacity: 1;
    height: 75vh;
    transform: translateY(0) scale(1); /* revient à sa place normale */
    transition: all 0.6s ease;
    pointer-events: auto;
    }

    .chat-header {
        padding:15px 15px 1px 15px;
    }

    .chat-header h1 {
        font-size: 16px;
        padding-right: 40px;
        line-height: 1.3;
    }

    .chat-header p {
        font-size: 15px;
        line-height: 1.7;
    }

    .close-chat {
        top: 10px;
        right: 10px;
        font-size: 20px;
    }

    .chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    /* background: #f2f1f1; */
    background: transparent;    
    }

    .message-content {
        width: 85%;
        font-size: 14px;
        padding: 10px 14px;
    }

    .welcome-message {
        background: white;
        padding: 15px;
        border-radius: 12px;
        text-align: center;
        color: #6b7280;
        border: 1px solid #e5e7eb;
        margin: 1px 0;
        box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
    }

    .welcome-message .icon {
        font-size: 56px;
        margin-bottom: 14px;
    }

    .welcome-message h3 {
        margin-bottom: 10px;
    }

    .welcome-message p {
        font-size: 13px;
        line-height: 1.5;
    }

    .stats {
        font-size: 12px;
        padding: 10px 14px;
        margin: 12px 0;
    }

    .quick-suggestions {
        gap: 6px;
        margin: 10px;
    }

    .suggestion-btn {
        font-size: 11px;
        padding:5px 10px;
    }

    .suggestion-btn i {
        font-size: 11px;
    }

    .chat-input-container {
        padding: 16px;
    }

    .chat-input,.chat-input:focus {
        font-size: 14px;
        padding: 10px 14px;
        min-height: 42px;
        width: auto;
        max-width: 245px !important;
    }
    

    .send-button {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .card {
        margin-bottom: 0px;
    }

    .card-header {
        padding: 12px 14px;
    }

    /* .card-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 10px;
    } */

    .card-header h3 {
        font-size: 15px;
    }

    .card-body {
        padding: 12px 14px;
    }

    .card-info {
        flex-direction: column;
        gap: 6px;
    }

    .info-item {
        font-size: 11px;
    }

    .card-description {
        font-size: 12px;
        padding: 8px 10px;
    }

    .card-footer {
        padding: 0 14px 12px 14px;
    }

    .btn-primary, .btn-secondary {
        font-size: 11px;
        padding: 7px 12px;
    }

    .section-header {
        font-size: 16px;
        padding: 8px 14px;
        margin: 16px 0 10px 0;
    }

    .results-header {
        padding: 10px 14px;
        margin-bottom: 12px;
    }

    .results-count {
        font-size: 13px;
    }

    .more-results {
        font-size: 12px;
        padding: 10px 14px;
        margin-top: 12px;
    }

    .no-results {
        padding: 28px 16px;
    }

    .no-results-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .no-results h3 {
        font-size: 15px;
    }

    .no-results p {
        font-size: 12px;
    }
}