.trainSection {
  background: url('../images/week/section-title-bg.png') no-repeat top center;
  background-size: contain;
  position: relative;
  z-index: 1;
  margin: 0 13px 10px;

  &.studentSection {
    background: url('../images/week/section-title-bg1.png') no-repeat top center;
    background-size: contain;
  }

  &.teacherSection {
    background: url('../images/week/section-title-bg2.png') no-repeat top center;
    background-size: contain;
  }

  &.teacherTrainSection {
    background: url('../images/month/teacher-section-title-bg.png') no-repeat top center;
    background-size: contain;

    &.studentSection {
      background: url('../images/month/teacher-section-title-bg1.png') no-repeat top center;
      background-size: contain;
    }

    &.teacherSection {
      background: url('../images/month/teacher-section-title-bg2.png') no-repeat top center;
      background-size: contain;
    }
  }

  &.teacherOverSection {
    background: url('../images/month/teacher-section-title-bg3.png') no-repeat top center;
    background-size: contain;
  }

  .trainTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
    height: 36px;

    .allowLine {
      width: 13px;
      height: 13px;
      margin-right: 6px;
    }

    .arrowPoint {
      height: 5px;
      width: 22px;
      margin-right: 15px;
    }

    .name {
      display: flex;
      align-items: center;
      padding-left: 12px;
      font-size: 16px;
      font-weight: 600;
      color: #000977;
      line-height: 22px;
    }
  }

  .countNums {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 20px;
    font-family: DINA;

    span {
      color: #42ffe2;
      padding: 0 6px;
    }
  }

  .trainSectionContent {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 16%, rgba(255, 255, 255, 0.6) 100%);
    box-shadow: 0px -1px 9px 0px rgba(129, 187, 193, 0.49);
    // border: 1px solid;
    // border-image: linear-gradient(156deg, rgba(255, 255, 255, 0.11), rgba(96, 155, 198, 0.98)) 1 1;
    padding: 12px;
    border-radius: 20px;
  }

  .tContent {
    background: #ffffff;
    box-shadow: 0px 2px 22px 0px rgba(83, 109, 233, 0.79);
    border-radius: 10px;
    padding: 10px 10px 0;
    display: flex;
    flex-wrap: wrap;

    .tItem {
      margin: 0 10px 10px 0;
      width: 53px;
      height: 55px;
      background: linear-gradient(132deg,
          rgba(199, 239, 243, 0.39) 0%,
          rgba(229, 206, 251, 0.39) 40%,
          rgba(147, 194, 254, 0.39) 100%);
      box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.62);
      border-radius: 4px;
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;

      &:nth-child(5n + 5) {
        margin-right: 0;
      }

      .pople {
        font-size: 20px;
        font-family: DINA;
        font-weight: bold;
        color: #1c4aff;
        line-height: 24px;

        span {
          font-size: 12px;
          color: #777777;
          line-height: 17px;
        }
      }

      .subjectName {
        font-size: 12px;
        color: #333333;
        line-height: 17px;
      }
    }
  }

  .calssEchartTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 10px;

    .unit {
      font-size: 12px;
      color: #777777;
    }

    .unitType {
      background: linear-gradient(132deg,
          rgba(199, 239, 243, 0.25) 0%,
          rgba(223, 213, 250, 0.25) 32%,
          rgba(147, 194, 254, 0.25) 100%);
      box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.62);
      border-radius: 12px;
      padding: 4px 8px;
      font-size: 12px;
      color: #000977;
    }

    .overWorkType {
      display: inline-block;
      box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.62);
      border-radius: 12px;
      padding: 4px 8px;
      font-size: 12px;
      color: #000977 !important;
      border: 1px solid #8279F6 !important;

      &.overWorkActive {
        background-color: #7A70FB !important;
        box-shadow: none;
        color: #fff !important;

      }

      &+.overWorkType {
        margin-left: 8px;
      }
    }

    .attendType {
      display: inline-flex;
      align-items: center;

      &::before {
        content: ' ';
        display: inline-block;
        width: 10px;
        height: 10px;
        background-color: #ccc;
        margin-right: 4px;
        border-radius: 1px;
      }

      &+.attendType {
        margin-left: 8px;
      }

      &.attendActive::before {
        background-color: #5DA4FF;
      }

      &.attendActive2::before {
        background-color: #69EAF6;
      }
    }
  }

  .echartsContainer {
    height: 210px;
    width: 100%;
    position: relative;

    .oEmtpy {
      position: absolute;
      inset: 0;
      overflow: hidden;

      :global {
        .van-empty {
          // padding-bottom: 0 !important;
        }

        .van-empty__description {
          margin-top: 2px;
        }
      }
    }
  }

  .classEcharts {
    height: 210px;
    width: 100%;
  }

  .tProgress {
    display: block;
  }

  .progressItem {
    padding-bottom: 16px;

    .className {
      padding-bottom: 6px;
      font-size: 14px;
      font-weight: 600;
      color: #333333;
      line-height: 20px;

      .line {
        display: inline-block;
        width: 4px;
        height: 12px;
        background: #d1d1d1;
        border-radius: 3px;
        margin-right: 6px;
      }
    }

    .classNum {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      padding-bottom: 6px;
      color: #333333;

      span {
        font-size: 16px;
        padding: 0 4px;
        font-weight: bold;
        font-family: DINA;
      }

      .konowCount {
        color: #777;

        span {
          color: #f44541;
        }
      }
    }
  }
}