.patrol-evaluation-detail {
  --van-tab-font-size: 16px;

  :global {
    .van-tab {
      z-index: 1;
    }

    .van-tabs__line {
      bottom: 26px;
      width: 45px;
      height: 6px;
      background: linear-gradient(250deg, rgba(45, 199, 170, 0.22) 0%, #2DC7AA 100%);
      z-index: 0;
      border-radius: 0;
    }
  }
}

.searchContainer {
  max-height: 400px;
  overflow-y: auto;
  box-sizing: border-box;
  padding-bottom: 16px;
  background: var(--van-popup-background);
  transition: var(--van-popup-transition);
}


.searchTitle {
  padding: 15px 13px 2px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  line-height: 21px;
  text-align: left;
}

.searchTypeGroup {
  display: flex;
  align-items: center;
  padding: 0 13px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.searchTypeFlex {
  justify-content: flex-start;

  .searchTypeItem {
    width: 31%;

    &:nth-child(3n + 1) {
      margin-right: 2.333%;
    }

    &:nth-child(3n + 3) {
      margin-left: 2.333%;
    }
  }
}

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

.error {
  color: #FF5A56 !important;
}


.searchTypeItem {
  box-sizing: border-box;
  margin-top: 10px;
  height: 32px;
  line-height: 32px;
  background: #f6f6f6;
  border: 1px solid #f6f6f6;
  border-radius: 16px;
  font-size: 13px;
  color: #333333;
  padding: 0 4px;
  text-align: center;

  &.is-active {
    background: #F2FFFC;
    border: 1px solid #9FE2DE;
    color: var(--k-font-primary);
  }
}

.cellGroup {
  margin-top: 12px;
}

.tips {
  display: flex;
  align-items: center;
  margin: 0 12px 9px;
  background: #F2F2F2;
  border-radius: 6px;
  line-height: 25px;
  font-size: 12px;
  color: var(--k-gray-2);
  padding: 0 8px;

  .iconTips {
    width: 12px;
    height: 12px;
    margin-right: 4px;
  }
}

.timerCell {
  padding-bottom: 8px;

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

  .iconTimer {
    width: 17px;
    height: 17px;
    margin-right: 4px;
  }

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

  .eStatus {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 14px;
    font-weight: bold;
    color: var(--k-gray-3);

    .over {
      color: var(--k-gray-4);
    }
  }

  .evaluateResult {
    display: flex;
    align-items: center;
    width: 72px;
  }

  .iconFace {
    display: flex;
    align-items: center;
    width: 18px;
    height: 18px;
    font-size: 18px;
    margin-right: 4px;
  }

  .iconEdit {
    display: flex;
    align-items: center;
    margin-left: 10px;
    font-size: 16px;
    width: 16px;
    height: 16px;
  }
}

.usernameCell {
  padding: 8px 12px 16px;
  color: var(--k-gray-3);
  font-size: 14px;
  line-height: 20px;

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

  .classname {
    font-size: 16px;
    font-weight: 600;
    color: var(--k-gray-1);

    line-height: 22px;
  }

  :global {
    .van-cell__value {
      flex: 0 auto;
      margin-left: 4px;
    }
  }
}

.photoList {
  display: flex;
}

.photo {
  position: relative;
  width: 44px !important;
  height: 44px !important;
  margin-top: 0 !important;

  &+.photo {
    margin-left: 4px;
  }

  video {
    width: inherit;
    height: inherit;
    background: #f8f9fc;
  }

  :global {
    .van-image {
      width: inherit;
      height: inherit;
      border-radius: 2px;
      overflow: hidden;
    }
  }

  .photoMore {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    color: #fff;
    // font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    overflow: hidden;
  }
}

.resultCell {
  padding-bottom: 15px;

  :global {
    .van-cell__value {
      text-align: left;
    }
  }

  .result {
    font-size: 12px;
    color: var(--k-gray-3);
  }
}

.typeGroup {
  :global {
    .van-tag {
      margin-bottom: 8px;
      padding: 3px 0;
      width: 78px;
      font-size: 12px;
      border-radius: 4px;
      justify-content: center;

      &+.van-tag {
        margin-left: 4px;
      }

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

    .van-tag--default {
      color: var(--k-gray-1);
      background: #F6F6F6;

      &::before {
        color: #F6F6F6;
      }
    }

    .van-tag--primary {
      background: #F2FFFC;
    }

    .van-radio,
    .van-checkbox {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 100%;
      opacity: 0;
    }
  }
}

.operationCell {
  :global {
    .van-cell__value {
      text-align: left;
    }
  }

  .operationTitle {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--k-gray-1);
    line-height: 20px;
    padding-top: 12px;
    padding-bottom: 10px;

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

  .questionContent {
    padding: 0;
    font-size: 12px;

    textarea {
      color: var(--k-gray-2) !important;
      font-size: 14px;

      &::placeholder {
        color: var(--k-gray-4);
      }
    }
  }

  .uploadGroup {
    display: flex;
    align-items: center;
    --upload-file-size: 74px !important;

    // 处理显示问题
    :global {
      .van-uploader:nth-child(4n + 4) {
        .van-uploader__upload {
          margin-right: 0;
        }
      }
    }
  }

  .btnGroup {
    margin: 12px 20px 4px;
    display: flex;
    align-items: center;

    &.singleBtn {
      margin-left: 38px;
      margin-right: 38px;
    }

    :global {
      .van-button {
        font-size: 16px;
        height: 38px;

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