.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section {
  display: flex;
  justify-content: space-around;
  align-content: center;
  background: @white;
  border-radius: @border-radius-md;
}

.face-recognition {
  display: flex;
  justify-content: space-between;
  .text-size(11);
  color: #ed6a0c;
  background: #fffbe8;
  margin: 5px 5px 0;
  height: 30px;
  line-height: 30px;
  margin-bottom: 13px;
  padding-left: 5px;
  border-radius: 5px;

  button {
    margin-top: 5px;
    margin-right: 5px;
    width: 60px;
    height: 20px;
    display: inline-block;
    line-height: 17px;
    .text-size(10);
    padding: 0;
    color: #ed6a0c;
    background: #fffbe8;
    border: 1px solid #ed6a0c;
    border-radius: 5px;

    span {
      .text-size(11);
    }
  }
}
.card {
  &-box {
    background: @white;
    border-radius: @border-radius-sm;
    margin-bottom: @padding-sm;
  }

  &-title {
    display: flex;
    justify-content: space-between;
    padding: @padding-sd @padding-xs;
    border-bottom: 1px solid @gray-1;

    span {
      .text-size(14);
      align-self: center;
      color: @black;
      font-weight: @font-weight-bold;
    }
  }

  &-info {
    .text-size(12);
    color: @gray-4;

    .iconfont {
      .text-size(11);
      color: @gray-3;
    }
  }

  &-xhk-btn {
    width: 100px;
    height: 30px;
    line-height: 29px;
    border-radius: 20px;
    border: 1px solid #ec1500;
    font-size: 14px;
    color: #ec1500;
    text-align: center;
    background: #fff;
    margin-top: 16px;
    margin-right: 0;
  }

  &-xhk-btn.disabled {
    opacity: 0.7;
    background: #fff;
    color: rgba(236, 21, 0, 0.7);
    border: 1px solid rgba(236, 21, 0, 0.7);
  }

  &-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    height: 42px;
    line-height: 42px;
    border-top: 1px solid rgba(216, 216, 216, 0.3);

    .card-xhk-btn {
      margin-top: 0;
    }

    span {
      .text-size(12);
      color: #666;
    }
  }
}

.xhk {
  &-state {
    position: relative;
    display: flex;
    padding: 0 10px 10px;
  }

  &-icon {
    width: 26px;
    height: 18px;
    margin-top: 22.5px;
  }

  &-title {
    margin-top: 13px;
    margin-left: 8px;
    .text-size(12);
    color: #666;
    width: 250px;

    text {
      line-height: 1.7;
    }
  }

  &-txt {
    .text-size(12);
    color: #666666;
  }

  &-bold {
    font-weight: 400;
    color: #333;
    .text-size(16);
  }
}

.tj-sction {
  &:extend(.section);

  .tj-item {
    &:extend(.flex-center);
    flex-direction: column;
    height: 70px;
    .text-size(12);
    color: #75787d;
  }

  .num {
    .text-size(12);
    color: @font-color-dark;
    margin-bottom: 4px;
    font-weight: 700;
  }
}
