/* 全局样式 */
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
  }
 
  ion-title {
    flex: 1; // 使标题占据可用空间
    text-align: left; // 确保文字左对齐
    margin-left: 16px; // 左侧边距，可以根据需要调整
    margin-top: 5px;
  }
  
  ion-header {
    background-color: #f5f7fc; // 设置头部背景色
    color: white; // 设置头部文字颜色
  }
  
  ion-content {
    background-color: #f9f9f9; // 内容背景颜色
  }

  ion-content {
    padding: 20px;
  }
 
  /* 个人中心模块样式 */
  .profile-container1 {
    background: rgba(232, 223, 223, 0.8);
    backdrop-filter: blur(10px);/* 模糊背景 */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    height: calc(1/5 * 100vh); /* 大致占据页面长的1/5 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }



  .profile-container {
    background:rgb(248, 204, 204, 0.8);
    backdrop-filter: blur(10px);/* 模糊背景 */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    height: calc(1/3 * 100vh); /* 大致占据页面长的1/3 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
 

  .avatar-container {
    display: flex;
    align-items: center;
    padding: 15px;
  }
 
  .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
  }
 
  .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
 
  .user-info {
    flex-grow: 1;
    
  }

  .username {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
  }
 
  .bio {
    padding-left: 15px;
    padding-top: 10px;
    font-size: 16px;
    color: #4c4a4a;
  }
 
  .button {
    --background:#036a99; 
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    margin-left: 30%;
    margin-right: 30%;
    margin-bottom: 5px;
    align-items: center;
  }

 .edit{
  padding-left: 15px;
  padding-top: 10px;
  font-size: 16px;
  color: #555050;
  align-items: center;
}

 
 
  /* 设置与帮助等模块样式 */
  .settings-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
 
  ion-row {
    display: flex;
    justify-content: center;
    padding: 5px 0;
  }
 
  ion-col {
    flex: 1;
    max-width: 400px;
  }
 
  ion-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
 
  ion-label {
    flex-grow: 1;
    font-size: 18px;
    color: #333;
  }
 
  ion-icon {
    font-size: 24px;
    color: #37608a;
  }