ion-header {
  background-color: #f8f8f8;
  padding: 10px;
  padding-top: 30px;
  color: black;
  height: 60px;
  box-shadow: none;

  .header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    /* 确保容器占满整个 header 高度 */
    padding: 10px;
  }

  .back-icon {
    position: absolute;
    left: 10px;
    /* 图标距左侧的距离 */
    cursor: pointer;
  }

  .header-title {
    font-size: 18px;
    /* 根据需要调整字体大小 */
    font-weight: bold;
    /* 可选，加粗字体 */
    margin: 0;
  }
}

ion-content {
  --background: #f8f8f8 !important;
  --color: black;

  //以下为性别选择框的样式
  #gender {
    width: 95%;
    margin: 15px auto;
    text-align: center;
    background-color: #f0a5d7;
    border-radius: 15px;
    padding: 10px;
  }

  #gender ion-card {
    display: inline-block;
    width: 46%;
    margin: 0 2%;
    border-radius: 15px;
  }

  // 以下为年龄选择框的样式
  #age {
    width: 95%;
    margin: 15px auto;
    text-align: center;
    background-color: #85e2ff;
    border-radius: 15px;
    padding: 10px;
  }

  #age ion-card {
    display: inline-block;
    width: 22%;
    margin: 0 1%;
    border-radius: 15px;
  }

  //以下为身高选择框的样式
  #height {
    width: 95%;
    margin: 15px auto;
    text-align: center;
    background-color: #b8a5f0;
    border-radius: 15px;
    padding: 10px;
  }

  #height ion-card {
    display: inline-block;
    width: 18%;
    margin: 0 1%;
    border-radius: 15px;
  }

  //以下为体重选择框的样式
  #weight {
    width: 95%;
    margin: 15px auto;
    text-align: center;
    background-color: #fafdad;
    border-radius: 15px;
    padding: 10px;
  }

  #weight ion-card {
    display: inline-block;
    width: 18%;
    margin: 0 1%;
    border-radius: 15px;
  }

  //以下为季节选择框的样式
  #season {
    width: 95%;
    margin: 15px auto;
    text-align: center;
    background-color: #ffd8a1;
    border-radius: 15px;
    padding: 10px;
  }

  #season ion-card {
    display: inline-block;
    width: 25%;
    margin: 0;
  }

  //以下为风格输入框的样式
  #styleDesc {
    width: 95%;
    margin: 15px auto;
  }

  ion-textarea {
    --border-radius: 15px;
    --background: #70e7ab;
    width: 100%;

    @font-face {
      font-family: 'handWritten';
      src: url(/assets/fonts/handWritten.woff);
    }

    font-family: 'handWritten';
    font-size: 22px;
  }

  #helper-text {
    font-family: 'handWritten';
    font-size: 14px;
    color: #999;
  }

  //以下为其他可选选项的样式
  #option-prompt {
    display: none;
  }

  .scroll-container {
    width: 95%;
    margin: 15px auto;
    padding: 10px;
    border-radius: 15px;
  }

  .scroll-x {
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .scroll-x ion-card {
    height: 150px;
    width: 150px;
    border-radius: 20px;
    display: inline-block;

    ion-img {
      width: 100%;
      height: 100%;
    }
  }

  //以下为区域风格选择框的样式
  #areaStyle {
    background-color: #affffc;
  }

  //以下为场景功能选择框的样式
  #function {
    background-color: #ffb8fd;
  }

  //以下为设计理念选择框的样式
  #designIdea {
    background-color: #f3ffb8;
  }

  //以下为艺术风格选择框的样式
  #artStyle {
    background-color: #ffdab8;
  }
}

#container {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

#popover-container {
  position: absolute;
  width: 70%;
  height: 30%;
  top: 35%;
  left: 15%;
  background-color: white;
  display: grid;
  place-items: center;
  color: black;
  border-radius: 15px;
}

.checked {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 20;
  top: 0;
}

.title {
  @font-face {
    font-family: 'title-font';
    src: url(/assets/fonts/title-font.TTF);
  }

  font-family: 'title-font';
  font-size: larger;
  margin:0;
  text-align: center;
}

.keyword {
  font-family: 'handWritten';
  font-size: larger;
  text-align: center;
  margin: 5px;
}