.sticky {
  :global(.van-sticky--fixed) {
    // box-shadow: 10px 10px 10px var(--box-shadow-color);
  }

  :global {
    .van-sticky {
      background: url('./icons/bgImg.png') no-repeat top center;
      background-size: 100% 214px;
    }
    input {
      caret-color: #2dc7aa;
    }
    .van-search .van-icon-clear {
      color: #fff !important;
    }
  }
}

.musicList {
  background: #fff;
  min-height: 100vh;
  .alumnList {
    height: calc(100vh - var(--header-height));
    overflow: hidden;
    overflow-y: auto;
    &::-webkit-scrollbar {
      display: none;
    }
  }
}

.listContainer {
  padding-top: 2px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  color: #999999;
  line-height: 22px;

  .line {
    margin: 0 15px;
    width: 1px;
    height: 10px;
    background: #e8e8e8;
  }

  .active {
    color: #333333;
  }
}

.searchGroup {
  background-color: #f8f9fc;
  :global {
    .van-search {
      padding-top: 0;
      // padding-bottom: 0;
      padding-bottom: 12px;
    }
  }
}

.label {
  margin-right: 8px;
  font-size: 14px;
  color: #fff;

  &.searchs {
    color: #131415;
  }

  &.labelActive {
    :global {
      .iconfont-down {
        transform: rotate(180deg) translateY(1px);
      }
    }
  }

  :global {
    .van-list__loading,
    .van-list__finished-text,
    .van-list__error-text {
      width: 100%;
    }

    .iconfont-down {
      margin-left: 4px;
    }
  }
}

.woringHeader {
  display: flex;
  align-items: center;
  height: var(--van-nav-bar-height);

  .leftArrow {
    padding: 0 var(--k-padding-md);
    margin-right: 0;
    color: #fff;
  }

  .tabSection {
    // padding: 0 32px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    --van-tab-font-size: 16px;
    --van-tabs-line-height: 28px;
    --van-tab-text-color: rgba(51, 51, 51, 0.5);
    --van-tab-active-text-color: #333333;
    --van-tabs-nav-background: transparent;
    --van-padding-xs: 0;

    .moreIcon {
      display: flex;
      align-items: center;
      position: relative;
      span {
        // padding-right: 4px;
      }
    }

    :global {
      .van-tabs__nav {
        background-color: transparent;
      }
      .van-tabs__line {
        display: inline-block;
        width: 30px;
        height: 7px;
        background: #2dc7aa;
        border-radius: 4px;
        bottom: 18px;
      }
      .van-tab {
        font-size: 16px;
        color: #ffffff;
      }
      .van-tab--active {
        font-weight: bold;
      }
      .van-tab__text {
        line-height: normal;
      }

      .van-tab--shrink {
        padding: 0 22px;
        z-index: 9;
      }
    }
  }
}

.alumnList {
  padding: 0 12px;
  border-radius: 10px 10px 8px 8px;
  background-color: #fff;
  margin: 0 0 14px;
  min-height: 200px;
  position: relative;

  &.alumnListOnly {
    margin-top: 0;
  }
}

.bgImg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 214px;
  // object-fit: cover;
  z-index: 0;
}

.tagTabs {
  :global {
    .van-tabs__nav {
      background-color: transparent;
      padding: 0;
    }

    .van-tab {
      font-size: 16px;
      font-weight: bold;
      color: #fff;
    }

    .van-tab--shrink {
      padding: 0;
      margin: 15px;
    }

    .van-tab--active {
      color: #fff;

      &::after {
        content: ' ';
        display: inline-block;
        width: 96%;
        position: absolute;
        height: 7px;
        background: #2dc7aa;
        border-radius: 4px;
        bottom: -2px;
        left: 2%;
        transition: all ease 0.3s;
      }

      .van-tab__text {
        z-index: 1;
      }
    }

    .van-tabs__line {
      height: 0;
      // bottom: 30px;
      // height: 7px;
      // background: rgba(45, 199, 170, 0.5);
      // border-radius: 4px;
    }
  }
}

.fleg {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;

  span {
    padding-top: 3px;
  }

  :global {
    .van-switch {
      margin-right: 5px;
      border-color: rgba(255, 255, 255, 0.3);
      // background: rgba(255, 255, 255, 0.2);
      background: rgba(158, 198, 250, 1);
    }

    .van-switch__node {
      background: rgba(255, 255, 255, 0.51);
      // background: rgba(158, 198, 250, 1);
    }

    .van-switch--on {
      // background: rgba(255, 255, 255, 0.8);
      background: rgba(98, 196, 171, 1);

      .van-switch__node {
        background: rgba(255, 255, 255, 1);
      }
    }
  }
}

.popupContainer {
  // max-height: 504px;
  // overflow-x: hidden;
  // overflow-y: auto;
  .popupTitle {
    position: sticky;
    z-index: 1;
    top: 0;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #333333;
    line-height: 24px;
    padding: 18px 0 12px;
  }

  .popupSearchList {
    min-height: 30vh;
    max-height: 50vh;
    overflow: hidden auto;
  }

  .popupSection {
    padding: 0 16px 18px;
    .title {
      display: flex;
      justify-content: space-between;
      padding-bottom: 10px;
      span {
        display: flex;
        align-items: center;
        font-weight: 600;
        font-size: 15px;
        color: #333333;
        line-height: 18px;
        &::before {
          content: '';
          display: inline-block;
          width: 3px;
          height: 12px;
          background: linear-gradient(180deg, #59e5d4 0%, #2dc7aa 100%);
          border-radius: 2px;
          margin-right: 4px;
        }
      }
    }

    .timeCount {
      display: flex;
      align-items: center;

      p {
        margin-left: 10px;
        flex: 1;
        background: #f8f8f8;
        border: 1px solid #f8f8f8;
        border-radius: 4px;
        font-size: 13px;
        color: #999999;
        line-height: 18px;
        text-align: center;
        padding: 6px 0;
        &:first-child {
          margin-left: 0;
        }

        &.active {
          background: #e9fff8;
          border-radius: 4px;
          border: 1px solid #2dc7aa;
          color: #2dc7aa;
        }
      }
    }

    .timeSubject {
      flex-wrap: wrap;
      margin-left: -5px;
      margin-right: -5px;
      p {
        width: calc(25% - 10px);
        padding: 6px 3px;
        margin: 0 5px;
        flex: none;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-bottom: 9px;
        box-sizing: border-box;
        &:first-child {
          margin-left: 5px;
        }
      }
    }
  }

  .popupBottom {
    position: sticky;
    z-index: 1;
    bottom: 0;
    border-top: 1px solid #f2f2f2;
    padding: 20px 13px 30px;
    display: flex;
    align-items: center;
    :global {
      .van-button {
        font-size: 16px;
      }
      .van-button + .van-button {
        margin-left: 15px;
      }
    }
  }
}

.searchPopup {
  :global {
    .van-popup__close-icon {
      top: 19px;
    }
  }
}