.tenantAllData {
  padding: 0 12px;
  min-height: 100vh;
  box-sizing: border-box;

  .topWrap {
    padding-top: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    .topHead {
      display: flex;
      flex-direction: row;
      align-items: center;
      font-size: 17px;
      font-weight: 600;
      color: #333333;
      line-height: 24px;

      .topDot {
        width: 4px;
        height: 14px;
        margin-right: 6px;
      }

      .sanIcon {
        margin-left: 6px;
      }
    }

    // .timerWrap {
    //   display: flex;
    //   flex-direction: row;
    //   align-items: center;
    //   font-size: 14px;
    //   font-weight: 400;
    //   color: #333333;

    //   .sanIcon {
    //     width: 12px;
    //     height: 12px;
    //     margin-left: 5px;
    //   }
    // }

    :global {
      .van-dropdown-menu__bar {
        padding-bottom: 7Px;
        height: auto;
        background-color: transparent;
      }

      .van-dropdown-menu__title {
        padding: 0;

        &::after {
          display: none;
        }
      }

      .van-dropdown-menu__title--active {
        .areaWrapActive {
          span {
            color: #028FF6;
          }

          .iconArrowActive {
            background: url('./images/icon-arrow-active.png') no-repeat center;
            background-size: contain;
          }
        }
      }
    }
  }

  .cardWrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 18px;

    .cardItem {
      // flex: 1;
      flex-basis: 48.6%;
      padding: 8px 16px;
      // width: 110px;
      height: 70px;
      background: #ffffff;
      border-radius: 10px;
      overflow: hidden;
      position: relative;
      margin-bottom: 8px;
      // &+.cardItem {
      //   margin-left: 8px;
      // }

      // &:nth-child(2n + 2) {
      //   margin-left: 8px;
      // }

      .cardLine {
        width: 6px;
        height: 70px;
        background: #fe6f25;
        opacity: 0.24;
        position: absolute;
        left: 0;
        top: 0;
      }
    }

    .cardNum {
      font-size: 24px;
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;
      color: #fe6f25;
      line-height: 28px;
      padding-left: 2px;
    }

    .studentCard {
      .cardLine {
        background: #259cfe;
        color: #fe6f25;
      }

      .cardNum {
        color: #259cfe;
      }
    }

    .memberCard {
      .cardLine {
        background: rgba(254, 37, 37, 1);
        color: rgba(254, 37, 37, 1);
      }

      .cardNum {
        color: rgba(254, 37, 37, 1);
      }
    }

    .memberRateCard {
      .cardLine {
        background: #5FC5A7;
        color: #5FC5A7;
      }

      .cardNum {
        color: #33B48E;
      }
    }

    .classCard {
      .cardLine {
        background: #5FC5A7;
        color: #5FC5A7;
      }

      .cardNum {
        color: #5FC5A7;
      }
    }

    .cardInfo {
      margin-top: 5px;
      display: flex;
      flex-direction: row;
      align-items: center;
      font-size: 14px;
      font-weight: 400;
      color: #777777;
      line-height: 21px;

      img {
        width: 18px;
        height: 18px;
        margin-right: 3px;
      }
    }
  }

  .searchWrap {
    display: flex;
    flex-direction: row;
    align-items: center;

    .allDataWrap {
      padding-left: 0px !important;
    }

    .searechInfo {
      width: 273px;
    }

    .timerWrap img {
      margin-left: 4px;
      flex-shrink: 0;
    }
  }

  .areaWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 30px;
    background-color: #fff;

    .iconAddress {
      display: inline-block;
      width: 16px;
      height: 18px;
      background: url('./images/icon-address.png') no-repeat center;
      background-size: contain;

      flex-shrink: 0;
    }

    span {
      padding: 0 4px;
      font-weight: 600;
      font-size: 15px;
      color: #333333;
      max-width: 190px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .iconArrow {
      width: 9px;
      height: 5px;
      display: inline-block;
      background: url('./images/icon-arrow.png') no-repeat center;
      background-size: contain;
      flex-shrink: 0;
    }
  }

  .topHeadIndex {
    padding-bottom: 7Px;
  }

  .cardWrapIndex {
    margin-top: 10px;
  }

  .sanIcon {
    width: 9px;
    height: 5px;
  }

  .routeSan {
    transform: rotate(180deg);
    transition: 0.2;
  }

  .schoolItem {
    // display: flex;
    // flex-direction: row;
    // align-items: center;
    // justify-content: space-between;
    background-color: #fff;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 10px;
    min-height: 73px;

    &.schoolItemOther {
      padding: 12px 0;

      .schoolNameWrap {
        padding: 0 12px;
      }
    }

    .title {
      font-weight: 400;
      color: #777777;
      line-height: 17px;
      font-size: 12px;
      margin-bottom: 6px;
    }

    .schoolName {
      max-width: 305px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 14px;
      font-weight: 500;
      color: #333333;
      line-height: 20px;
    }

    .personNum {
      font-size: 20px;
      font-family: DINAlternate-Bold, DINAlternate;
      font-weight: bold;
      color: #ff5a56;
      line-height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .schoolCountWrap {
      display: flex;
      flex-direction: row;
      align-items: center;

      &>div {
        flex: 1;
        padding-top: 14px;
      }

      .title {
        padding-top: 6px;
        text-align: center;

      }

      .personNum {
        font-weight: bold;
        font-size: 24px;
        color: #FF5A56;
        line-height: 30px;
        font-family: DINAlternate-Bold,
          DINAlternate;

        img {
          width: 30px;
          height: 30px;
          vertical-align: middle;
        }
      }

      // .arrow {
      //   width: 6px;
      //   height: 12px;
      //   margin-left: 17px;
      // }
    }
  }
}


.popSearchList {
  width: 138px;
  background: #FFFFFF;
  box-shadow: 0 2px 12px 0px rgba(50, 50, 51, 0.12);
  padding: 0 8px;
  border-radius: 8px;
  overflow: hidden;

  .popSearchItem {
    overflow: hidden;

    .popSearchItemChild {
      text-align: center;
      margin: 5px 0;
      padding: 6px 14px;
      font-size: 14px;
      color: #323233;
      line-height: 20px;
      text-shadow: 0 2px 12px rgba(50, 50, 51, 0.12);
      border-radius: 4px;

      &.popSearchItemActive {
        background: #EEF8FF;
        font-weight: 500;
        color: #028FF6;
      }
    }
  }
}



.topHeadSchool {
  font-size: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;

  .sanIcon {
    margin-left: 5px;
  }
}

.detailCard {
  width: 100% !important;
}

.studentItem {
  display: flex;
  flex-direction: row;
  // align-items: center;
  justify-content: space-between;
  background-color: #fff;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 10px;

  .studentNameWrap {
    .title {
      font-size: 16px;
      font-weight: 500;
      color: #333333;
      line-height: 22px;
      margin-bottom: 4px;
      max-width: 175px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }

    .studentPhone {
      font-size: 14px;
      font-weight: 400;
      color: #777777;
      line-height: 20px;
    }
  }

  .studentCountWrap {
    font-size: 14px;
    font-weight: 400;
    color: #777777;
    line-height: 20px;
  }
}

.emptyC {
  padding-bottom: 0;
  min-height: calc(100vh - var(--header-height));
}

.refreshC {
  min-height: calc(100vh - var(--header-height));
}

.refreshD {
  min-height: calc(100vh - 185px);
}

.emptyD {
  padding-bottom: 0;
  min-height: calc(100vh - 175px);
}

.top {
  background-color: #f6f8f9;
  padding: 0 12px;
}

.timerWrap {
  font-size: 14px;
  width: 105px;
  display: flex;
  align-items: center;
  justify-content: center;

  &.timerWrapActive {
    color: #028FF6;
  }
}

.schoolList {
  display: block;
}




.popupQrcode {
  background: transparent;
  overflow: visible;
  // position: relative;

  .iconClose {
    position: absolute;
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('./images/icon-close.png') no-repeat center;
    background-size: contain;
    top: -32px;
    right: -9px;
  }

  .image {
    width: 100%;
  }

  .btnText {
    text-align: center;
    padding-top: 30px;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
  }

}

.qrcodeBg {
  // position: absolute;
  // left: 0;
  // right: 0;
  // top: -40px;
  width: 310px;
  // margin-top: -40px;
}

.qrcodeBgDom {
  width: 310px;
  height: 158px;
  background: url('./images/qrcode-bg.png') no-repeat center;
  background-size: contain;
}

.templateSection {
  position: absolute;
  z-index: -10;
  top: -1000px;
  left: 0;
  // transform: translateX(9999px);
}

.shareContaienr {
  width: 310px;
  position: relative;
  text-align: center;
  border-radius: 16px;
  text-align: center;
  line-height: 0;
  font-size: 0;
  // margin-top: 40px;
  overflow: hidden;


  .qrcodeSection {
    width: 155px;
    height: 155px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;

    .qrbg {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
    }

    .mqrcode {
      width: 136px !important;
      height: 136px !important;
      margin: 12px;
    }
  }

  .sectionGroup {
    padding: 0 28px 40px;
    background: linear-gradient(90deg, #C5ECF8 0%, #D9F9DC 100%);
    margin-top: -45px;
    position: relative;
    z-index: 9;
  }

  .section {
    border-radius: 12px;
    background-color: #fff;
    padding-bottom: 30px;

  }
}

.memo {
  padding: 20px 15px;
  font-size: 14px;
  margin: 0 auto;
  font-weight: 500;
  font-size: 15px;
  color: #000000;
  line-height: 21px;
  word-break: break-all;
}

.downloadBtn {
  margin-top: 29px;
  background: linear-gradient(73deg, #5BECFF 0%, #259CFE 100%);
  border: none;
  border-radius: 10px;
  height: 47px;
  max-width: 264px;
  margin: 29px auto 0;
}

.areaList {
  display: flex;
  flex: 1;

  overflow-x: hidden;
  overflow-y: auto;
  min-height: 240px;
  max-height: 300px;

  .areaItem {
    flex: 1;
    max-width: 33.33%;
    padding: 8px 5px;
  }

  .areaItemChild {
    padding: 0 8px;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    line-height: 36px;
    height: 36px;
    color: #333333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .areaItemChildActive {
    font-weight: 500;
    color: #028FF6;
    background: #EEF8FF;
  }
}

.btnGroup {
  padding: 9px 13px;
  display: flex;
  align-items: center;

  :global {
    .van-button {
      height: 44px;
      font-weight: 400;
      font-size: 16px;
    }

    .van-button+.van-button {
      margin-left: 15px;
    }
  }
}