.title{
  font-size: 32px;
  text-align: center;
  font-weight: bold;
  padding-top: 4px;
  height:50px;
}

.history{
  margin-top: 1px;
}



.chat-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  background-color: #ffffff; /* 更改为白色背景 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
  border: 1.5px solid #d2cccc; /* 添加边框 */;

  .avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff; /* 蓝色头像背景 */
    color: white;
    font-size: 1.5rem;
    margin-right: 14px;
    text-transform: uppercase;
  }

  ion-label {
    h2 {
      font-size: 1.2rem;
      margin: 0;
    }
    p {
      font-size: 1rem;
      margin: 0;
    }
  }
}

ion-content {
  ion-list {
    padding: 0 10px;
  }
}

.no-chats {
  text-align: center;
  margin-top: 20px;
  font-size: 1.2rem;
  color: #888;
}

ion-footer {
  ion-toolbar {
    .new-chat-button {
      width: 100%;
      ion-button {
        font-size: 1.2rem;
        --background: #007bff;
        --background-hover: #0056b3;
        --border-radius: 0;
        --color: white;
        padding: 15px 0;
        width: 100%;
        justify-content: center;
      }
    }
  }
}
