/* 全局css */
#content {
  padding: 20px 5vw;
  .button-group {
    display: flex;
    place-content: center;
  }
}

/* navbar */
#navbar {
  height: 50px;
  .guding {
    background-color: #fff;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    .back-icon,
    .home-icon,
    .add-icon {
      height: 30px;
      font-size: 30px;
      color: #1e9fff;
      margin-left: 5vw;
    }
    .home-icon {
      margin: 0;
    }
    .add-icon {
      margin: 0 5vw 0 0;
    }
  }
}

/* tabbar */
#tabbar {
  text-align: center;
  display: flex;
  position: fixed;
  bottom: 0;
  place-content: center;
  width: 100%;
  .layui-nav-item {
    flex-grow: 1;
  }
}

/* 底部 */
.footer {
  text-align: center;
}

/* 列表页面 */
.content-list {
  background-color: #f8f8f8;
  .user-row {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    .title,
    .value {
      padding: 5px 10px;
      overflow: hidden; /* 隐藏溢出内容 */
      white-space: nowrap; /* 禁止换行 */
      text-overflow: ellipsis; /* 显示省略号 */
    }
    .status-10 {
      color: green;
    }
    .status-20 {
      color: red;
    }
  }
  .empty {
    height: 20vh;
    line-height: 20vh;
    text-align: center;
  }
}

/* 登录页面 */
.home-login {
  max-width: 375px;
  text-align: center;
  margin: 0 auto;
  .login-title {
    margin-top: 5vw;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2vh;
  }
}

/* 设置页面 */
.home-setting {
  .button-list {
    .button-item {
      margin-top: 20px;
    }
  }
}

.error-index {
  text-align: center;
  .error-icon {
    height: 150px;
    font-size: 100px;
    color: #f20f0f;
  }
  .desc {
    font-size: 1.2rem;
  }
  .go-login{
    margin-top: 50px;
  }
}
