 .chat-container {
      position: relative;
    }
    /* Pulsante per espandere/collassare la chat */
    #toggleChat {
      position: absolute;
      top: 10px;
      right: 10px;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 5px;
      padding: 5px 10px;
      cursor: pointer;
    }
    /* Style per la searchbox */
    #chatForm.search-box {
      display: flex;
      align-items: center;
      background-color: #fff;
      border-radius: 30px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
     /*// overflow: hidden;*/
      margin-bottom: 10px;
      opacity: 1;
      position: relative;
      flex-direction: row;
      padding: 1px;
    }
    /* Durante il caricamento riduciamo l'interattività */
    .search-box.loading {
      opacity: 0.6;
      pointer-events: none;
    }
    .search-box textarea {
      flex: 1;
      border: none;
      /* padding: 10px 15px; */
      font-size: 16px;
      resize: none;
      outline: none;
      line-height: 24px;
      max-height: calc(4 * 24px); /* massimo 4 righe */
      position: relative;
      left: 15px;
      margin-right: 24px;
      color: #000000;
	  background-color:transparent;
    }
    .search-box button {
      background-color: #000000;
      border: none;
      padding: 0 20px;
      cursor: pointer;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      margin-right: 0px;
      right: 0px;
      position: relative;
    }
    .search-box button:hover {
      background-color: #0056b3;
    }
    /* Style per le risposte */
    .responses {
      margin-top: 20px;
      /* max-height: 300px; */
      overflow-y: hidden; /* Nessuna scrollbar se non espanso */
      transition: overflow 0.3s ease;
      background: #ffffff;
      border-radius: 30px;
      padding: 41px;
      padding-right: 24px;
      padding-left: 25px;
	  display:none;
    }
    /* Quando la chat è espansa, abilita lo scroll */
    .chat-container.expanded .responses {
      overflow-y: auto;
    }
    .response {
      background-color: #fff;
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 10px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	  display:none;
    }
h1.assistenteAI {
    margin-bottom: 0px;
    margin-top: 6px;
    border: 0;
}

#response * {
    color: #000000 !important;
    text-align: left;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
}

form#chatForm {}

ul.immobili {list-style: none;margin-left: 0px;padding-left: 0;text-align: center;}

#response  li {
    /* background: beige; */
    margin-bottom: 6px;
    /* padding: 8px; */
    padding-top: 8px;
    border-bottom: 1px solid #cbcbcb;
}
.text-banner {
    padding: 21px 0!important;
}

  .chat-container {
    /* background: #fff; */
    /* width: 100%; */
    max-width: 800px;
    /* height: 80vh; */
    display: flex;
    flex-direction: column;
    /* border-radius: 10px; */
    overflow: hidden;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
    margin: auto;
  }
  .chat-header {
    background: #128C7E;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 18px;
  }
  .chat-messages {
    flex: 1;
    /* padding: 10px; */
    overflow-y: auto;
    /* background: #ece5dd; */
  }
  .message {
    margin: 8px 0;
    max-width: 90%;
    padding: 10px 15px;
    border-radius: 20px;
    clear: both;
    color: #000000!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
  }
  .message.user {
    background: #dcf8c6;
    float: right;
    border-bottom-right-radius: 0;
  }
  .message.assistant {
    background: #fff;
    float: left;
    border-bottom-left-radius: 0;
    border: 1px solid #ccc;
  }
  .chat-box {
    display: flex;
    padding: 10px;
    background: #f0f0f0;
    align-items: center;
  }
  .chat-box textarea {
    flex: 1;
    resize: none;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
    max-height: calc(4 * 24px); /* limite 4 righe */
  }
  .chat-box button {
    background: #128C7E;
    border: none;
    margin-left: 10px;
    padding: 0 20px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
  }
  .chat-box button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .message *{color:black!important}