.cellGroup {
  overflow: hidden;
  padding: 0 13px;
}

.cell {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;

  :global {
    .van-cell__title {
      flex: 0 auto;
    }
  }

  .iconTeacher {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 8px;
  }

  .username {
    .name {
      font-size: 16px;
      font-weight: bold;
    }

    .class {
      font-size: 13px;
      color: var(--k-gray-3);
      line-height: 22px;
      max-width: 90px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  .attendance {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    color: var(--k-gray-3);
  }

  // 处理没有箭头时样式
  .noLink .attendanceItem {
    margin-left: 12px;
    margin-right: 0;
  }

  .attendanceItem {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60px;
    height: 60px;
    background: #F6F6F6;
    border-radius: 6px;
    margin-right: 12px;
  }

  .weekAttendance {
    .value {
      font-size: 14px;
      font-weight: 600;
      color: #999999;
    }
  }

  .classAttendance {
    .value {
      font-size: 16px;

      span {
        font-size: 12px;
        color: var(--k-gray-1);
      }
    }
  }
}

.error {
  color: #FF5A56 !important;
}

.success {
  color: var(--k-font-primary) !important;
}

.teacherAttendanceDetail {
  --van-dropdown-menu-background: transparent;

  :global {
    .van-cell {
      padding-left: 12px;
      padding-right: 12px;
    }

    .van-dropdown-item {
      margin-top: 0;
    }
  }

  .className {
    padding-top: 15px;
    padding-bottom: 0;

    :global {
      .van-cell__title {
        flex: 0 auto;
      }
    }

    .class {
      display: flex;
      align-items: center;
      font-size: 16px;
      font-weight: 600;

      &::before {
        content: ' ';
        margin-right: 6px;
        width: 3px;
        height: 12px;
        background: #01C1B5;
        border-radius: 4px;
      }
    }

    .timer {
      color: var(--k-gray-1);
      font-size: 14px;
    }
  }

  .skeletionTitle {
    :global {
      .van-cell__title {
        flex: 1;
      }
    }
  }

  .detailCellGroup {
    margin-bottom: 12px;
  }

  .detailGroup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }

  .detailItem {
    width: 158px;
    padding: 12px;
    background: #F6F6F6;
    border-radius: 6px;
    margin-bottom: 9px;
  }

  .detailStatus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;

    .statusName {
      color: var(--k-gray-1);
    }

    .img {
      width: 16px;
      height: 16px;
    }
  }

  .sign {
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--k-gray-1);

    .locate {
      font-size: 12px;
      color: #999999;
    }
  }
}