/* 通用样式 */
ion-header {
    --background: #478aff;
    --color: white;
  }
  
  ion-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
  }
  
  ion-toolbar {
    --background: #699df9;
    position: relative;
  }
  
  ion-back-button {
    --color: white;
  }
  
  ion-progress-bar {
    margin-top: 8px;
    height: 4px;
  }
  
  /* 用户头像部分 */
  .user-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
  }
  
  .user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #5c97ff;
  }
  
  .avatar-description {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
  }
  
  /* 表单卡片 */
  .form-card {
    margin: 0 16px 20px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .form-card ion-card-title {
    font-size: 18px;
    font-weight: bold;
  }
  
  .form-card ion-card-subtitle {
    font-size: 14px;
    color: #888;
  }
  
  /* 智能体列表卡片 */
  .agent-list-card {
    margin: 0 16px 20px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .agent-list-card ion-card-title {
    font-size: 18px;
    font-weight: bold;
  }
  
  .agent-list-card ion-card-subtitle {
    font-size: 14px;
    color: #888;
  }
  
  .agent-info {
    cursor: pointer;
  }
  
  .agent-info h2 {
    font-size: 16px;
    margin: 0;
    color: #333;
  }
  
  .agent-info p {
    font-size: 14px;
    margin: 4px 0 0 0;
    color: #666;
  }
  
  /* 删除按钮样式 */
  ion-button[color="danger"] {
    --padding-start: 8px;
    --padding-end: 8px;
    font-size: 14px;
  }
  
  /* 创建智能体按钮 */
  .create-agent-button {
    --border-radius: 0;
    font-size: 16px;
    font-weight: bold;
  }
  
  /* 空状态样式 */
  .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 10vh;
    color: #888;
    font-size: 16px;
  }
  
  .empty-state ion-icon {
    margin-bottom: 12px;
    color: #bbb;
  }

  
  /* 响应式设计 */
  @media (max-width: 600px) {
    .user-avatar {
      width: 60px;
      height: 60px;
    }
  
    .avatar-description {
      font-size: 14px;
    }
  
    .form-card, .agent-list-card {
      margin: 0 8px 16px 8px;
    }
  
    .create-agent-button {
      font-size: 14px;
    }
  
    .agent-info h2 {
      font-size: 14px;
    }
  
    .agent-info p {
      font-size: 12px;
    }
  }