/* pages/certification/certification.wxss */
.edu {
  background: #3A61B1;
  padding-left: 34rpx;
  margin-bottom: 54rpx;

  .eduName {
    font-size: 38rpx;
    font-family: PingFang SC;
    font-weight: bold;
    color: #FFFFFF;
  }

  .eduCertiTag {
    font-size: 24rpx;
    font-family: PingFang SC;
    font-weight: 400;
    color: #FFFFFF;
    margin-top: 22rpx;
  }

  .alreadyCerti {
    border: 1px solid #FFFFFF;
    border-radius: 12px;
    font-size: 18rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #FFFFFF;
    width: 119rpx;
    height: 28rpx;
    line-height: 28rpx;
    text-align: right;
    position: relative;
    padding-right: 8rpx;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    // justify-content: space-between;

    image {
      width: 24rpx;
      height: 28rpx;
      position: absolute;
      left: -2px;
    }
  }

  .eduSource {
    font-size: 24rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 50px;
    opacity: 0.61;
  }

  .deleteLayout {
    display: flex;
    align-items: center;
    color: #fff;
    padding-bottom: 38rpx;

    text {
      margin-left: 7rpx;
      font-size: 22rpx;
    }
  }
}

.icon_warning {
  width: 20rpx;
  height: 20rpx;
  margin-left: 14rpx;
  margin-right: 7rpx;
}

.icon_img {
  width: 26rpx;
  height: 26rpx;
  margin-right: 18rpx;
}

.icon_add {
  width: 29rpx;
  height: 29rpx;
  margin-right: 14rpx;
}

.eduItems {
  .eduItem {
    border-bottom: 1px solid #F3F5F8;
    padding-bottom: 40rpx;
    margin-bottom: 25rpx;

    .eduItem_top {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .key {
        font-size: 28rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #838383;

        .dataSource {
          margin-left: 23rpx;
          font-size: 24rpx;
          font-family: PingFang SC;
          font-weight: 400;
          color: #2F88DB;
        }
      }

      .value {
        font-size: 28rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #494949;
        line-height: 30px;
        display: flex;
        align-items: center;
      }
    }

    .eduItem_textarea {
      font-size: 28rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #494949;
      line-height: 42rpx;
      margin-top: 26rpx;
      margin-bottom: 26rpx;
    }

    // .fileList {
    //   margin-top: 30rpx;
    //   .fileItem {
    //     background: #F3F5F8;
    //     border-radius: 10px;
    //     height: 159rpx;
    //     display: flex;
    //     flex-direction: column;
    //     justify-content: center;
    //     padding: 0 29rpx 0 24rpx;
    //     margin-bottom: 20rpx;
    //     &:last-child{
    //       margin-bottom: 0;
    //     }

    //     .fileItem_top {
    //       display: flex;
    //       align-items: center;
    //       font-size: 24rpx;
    //       font-family: PingFang SC;
    //       font-weight: 500;
    //       color: #3A61B1;
    //     }

    //     .fileItem_bottom {
    //       display: flex;
    //       align-items: center;
    //       justify-content: space-between;

    //       .updateDate {
    //         font-size: 22rpx;
    //         font-family: PingFang SC;
    //         font-weight: 400;
    //         color: #C3C3C3;
    //         line-height: 30px;
    //       }
    //     }
    //   }
    // }

    .eduItem_bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .updateDate {
        font-size: 22rpx;
        color: #C3C3C3;
      }
    }
  }
}

.fileList {
  margin-top: 30rpx;

  .fileItem {
    background: #F3F5F8;
    border-radius: 10px;
    height: 159rpx;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 29rpx 0 24rpx;
    margin-bottom: 20rpx;

    &:last-child {
      margin-bottom: 0;
    }

    .fileItem_top {
      display: flex;
      align-items: center;
      font-size: 24rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #3A61B1;
      display: -webkit-box;
      width: 100%;
      white-space: nowrap;
      -webkit-line-clamp: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-box-orient: vertical;
    }

    .fileItem_bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .updateDate {
        font-size: 22rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #C3C3C3;
        line-height: 30px;
      }
    }
  }
}

.btn_add {
  font-size: 24rpx;
  font-family: PingFang SC;
  font-weight: 500;
  color: #3A61B1;
  display: flex;
  align-items: center;
  float: right;
}

.eventLayout {
  .eventTitle {
    font-size: 32rpx;
    font-family: PingFang SC;
    font-weight: bold;
    color: #282828;
    line-height: 50rpx;
    // display: flex;
    // justify-content: space-between;


  }

  .eventList {
    margin-top: 49rpx;

    .eventItem {
      margin-bottom: 48rpx;

      .eventDate {
        font-size: 26rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #838383;

        .icon_time {
          width: 24rpx;
          height: 24rpx;
          margin-right: 17rpx;
        }
      }

      .eventFileLayout {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .eventFile {
          font-size: 28rpx;
          font-family: PingFang SC;
          font-weight: 500;
          color: #838383;

          .dataSource {
            margin-left: 23rpx;
            font-size: 24rpx;
            font-family: PingFang SC;
            font-weight: 400;
            color: #2F88DB;
          }
        }

        .eventFileAdd {
          font-size: 24rpx;
          font-family: PingFang SC;
          font-weight: 500;
          color: #3A61B1;
          display: flex;
          align-items: center;

          image {
            margin-right: 15rpx;
          }
        }
      }



      .eventContent {
        font-size: 26rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #494949;
        margin-top: 19rpx;
        margin-bottom: 17rpx;
      }

      .eventDataSource {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .updateDate {
        font-size: 22rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #C3C3C3;
        line-height: 30px;


      }
    }
  }
}







.operations {
  display: flex;

  .operation {
    color: #2F88DB;
    font-size: 24rpx;

    // margin-left: 68rpx;
    &:not(:first-child) {
      border-left: 1px solid rgba(115, 115, 115, .42);
      padding-left: 38rpx;

    }

    &:not(:last-child) {
      padding-right: 38rpx;
    }

    .operationIcon {
      width: 21rpx;
      height: 21rpx;
      margin-right: 9rpx;
    }
  }
}


.white-box {
  background: #fff;
  border-radius: 32rpx;
  margin-top: -32rpx;
  box-sizing: border-box;
  padding: 47rpx;

  .title-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 30rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #000000;

    .edit-box {
      display: flex;
      align-items: center;
      font-size: 26rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #2F88DB;

      image {
        width: 29rpx;
        height: 28rpx;
        margin-right: 10rpx;
      }
    }
  }

  .description {
    display: flex;
    align-items: center;
    font-size: 26rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #B3B3B3;
    margin-top: 18rpx;

    image {
      width: 20rpx;
      height: 20rpx;
      margin-right: 10rpx;
    }
  }

  .form-box {
    font-size: 28rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #494949;
    margin-top: 15rpx;

    .form-item {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      padding: 40rpx 30rpx;
      border-bottom: 1rpx solid #D7D7D7;

      &:last-child {
        border: none;
      }

      text {
        margin-right: 43rpx;
      }
    }
  }

  .btn-box {
    display: flex;
    justify-content: center;
    margin-top: 10rpx;
  }

  .table-box {
    .table-title {
      display: flex;
      justify-content: space-around;
      margin-top: 80rpx;

      font-size: 30rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #494949;
    }

    .table-content {
      border: 1rpx solid #E6E6E6;
      display: flex;
      margin-top: 40rpx;

      font-size: 24rpx;
      font-family: PingFang SC;
      font-weight: 400;
      color: #6E6E6E;

      .table-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        width: 50%;
        padding: 40rpx;

        &:last-child {
          border-left: 1rpx solid #E6E6E6;
        }

        .item {
          display: flex;
          align-items: center;
          margin-bottom: 58rpx;

          &:last-child {
            margin-bottom: 0;
          }

          image {
            width: 63rpx;
            height: 63rpx;
            margin-right: 32rpx;
            flex-shrink: 0;
          }
        }
      }
    }
  }

  .field-box {
    font-size: 28rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #494949;
    margin-top: 50rpx;

    .field-item {
      display: flex;
      margin-bottom: 46rpx;

      text {
        margin-right: 43rpx;
      }
    }
  }

  .information {
    box-sizing: border-box;
    padding: 30rpx;
    border-radius: 10rpx;
    background: #FFF7F1;
    font-size: 22rpx;
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 36rpx;
    color: #FE633A;
  }

  .price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 30rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #000000;
    margin-top: 48rpx;

    .price {
      font-size: 24rpx;
      font-weight: 500;
      font-family: PingFang SC;
      color: #FF5129;
      margin-top: 24rpx;

      text {
        font-size: 48rpx;
        font-weight: 800;

      }
    }
  }

  .bottom-box {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    box-shadow: 0 0 18rpx #CCCCCC;
    box-sizing: border-box;
    padding: 24rpx 50rpx;
    padding-bottom: calc(constant(safe-area-inset-top) + 24rpx);
    padding-bottom: calc(env(safe-area-inset-top) + 24rpx);
  }
}

/* components/message/message.wxss */
.message-box {
  width: 558rpx;
  background: #ffffff;
  border-radius: 24rpx;
  box-sizing: border-box;
  padding: 68rpx 76rpx;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  position: relative;

  .cancel-icon {
    position: absolute;
    right: 10rpx;
    top: 0;
    padding: 21rpx;
    width: 31rpx;
    height: 31rpx;
  }

  .type-icon {
    width: 121rpx;
    height: 156rpx;
    margin-bottom: 15rpx;
  }

  .title {
    font-size: 34rpx;
    font-family: PingFang SC;
    font-weight: bold;
    color: #000000;
  }

  .message {
    font-size: 24rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #838383;
    margin-top: 20rpx;
  }

  .btns {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 48rpx;

    .confim-btn {
      // width: 100%;
      width: 193rpx;
      height: 70rpx;
      line-height: 70rpx;
      border-radius: 38rpx;
      border: 1px solid #3A61B1;
      text-align: center;
      font-size: 26rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #3A61B1;
      margin-right: 15px;
      // padding: 15rpx;
      box-sizing: border-box;
    }

    .cancel-btn {
      // width: 100%;
      width: 193rpx;
      height: 70rpx;
      line-height: 70rpx;
      border-radius: 38rpx;
      text-align: center;
      background: #3A61B1;
      font-size: 26rpx;
      font-family: PingFang SC;
      font-weight: 500;
      color: #FFFFFF;
      // margin-top: 32rpx;
    }
  }

}

.deleteLine {
  text-decoration: line-through;
}