/* pages/projectIndex/projectIndex.wxss */

.container {
  max-height: 100vh;
  padding-top: 56px;
  box-sizing: border-box;
  background: #EFF1F4;
  overflow: hidden;
  position: relative;
  >.bg {
    width: 100%;
    height: 128px;
    background: linear-gradient(360deg, #538AFC 0%, #3679FC 100%);
    position: absolute;
    top: 0;
  }
  .user-container {
    width: calc(100% - 26px);
    margin: 0 auto;
    padding: 40px 12px 12px;
    box-sizing: border-box;
    box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 8px;
    position: relative;
    // top: 56px;
    // left: 13px;
    // overflow: hidden;
    .top {
      width: calc(100% - 24px);
      // margin-top: -32px;
      margin-bottom: 14px;
      display: flex;
      position: absolute;
      top: -32px;
      .user-pic {
        width: 64px;
        height: 64px;
        margin: 0 8px;
        border-radius: 50%;
        // border: 2px solid #FFFFFF;
        box-shadow: 0 0 0 2px  rgba(0,0,0,0.1);
        image {
          width: 100%;
          height: 100%;
          display: block;
        }
      }
      .user-inf {
        .name {
          margin-top: 8px;
          color: #fff;
          font-size: 15px;
        }
        .profession {
          margin-top: 12px;
          color: #333;
          font-size: 13px;
          display: flex;
          align-items: center;
          .icon {
            width: 16px;
            height: 16px;
            image {
              width: 100%;
              height: 100%;
              display: block;
            }

          }
        }
      }
      .btn-exit {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 6px;
        right: 0px;
        image {
          width: 100%;
          height: 100%;
          display: block;
        }
      }
    }
    .btn-container {
      width: 100%;
      margin: 10px 0 0px;
      .btn {
        width: 100%;
        height: 76px;
        margin-bottom: 10px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        .bg {
          width: 100%;
          height: 100%;
          border-radius: 8px;
          overflow: hidden;
          position: absolute;
          image {
            width: 100%;
            height: 100%;
            display: block;
          }
        }
        .item {
          width: 54%;
          position: relative;
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-right: 10%;
          .label {
            font-size: 16px;
            font-weight: bold;
            color: #2E3A4F;
            white-space: nowrap;
          }
          .val {
            font-size: 32px;
            font-weight: bold;
            color: #4381FC;
            text-align: center;
          }
        }
      }
      .btn-report {
        width: 100%;
        height: 36px;
        margin-top: 8px;
        background: #EDF4FE;
        border-radius: 8px;
        border: 1px solid #C4DAFA;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        image {
          width: 28px;
          height: 28px;
          display: block;
        }
        .val {
          margin-left: 12px;
          color: #2E3A4F;
          font-size: 14px;
          font-weight: bold;
        }
      }
    }
  }
  .list-content {
    height: calc(100vh - 240px - 56px);
    // padding: 0 12px;
    .total {
      padding: 6px 20px;
      font-size: 14px;
      font-weight: bold;
      color: #2E3A4F;
    }
    .list {
      height: calc(100% - 32px);
      padding: 2px 12px;
      box-sizing: border-box;
      overflow-y: auto;
      .item {
        padding: 12px 10px;
        margin-bottom: 8px;
        background: #fff;
        border-radius: 8px;
        .row:first-child {
          margin-bottom: 8px;
        }
        .row {
          color: #2E3A4F;
          display: flex;
          justify-content: space-between;
          align-items: center;
          .number-plate {
            display: flex;
            .status {
              padding: 0 6px;
              margin-right: 4px;
              border-radius: 2px;
              color: #FFFFFF;
              font-size: 14px;
            }
            .status1 {
              background: linear-gradient(90deg, #0D92FF 0%, #38B1FE 100%);
            }
            .status2 {
              background: linear-gradient(270deg, #4CDBAD 0%, #2FCBAB 100%);
            }
            .status3 {
              background: linear-gradient(270deg, #A1A8BB 0%, #838EAA 100%);
            }
            .val {
              font-size: 16px;
              font-weight: bold;
            }
          }
          .project-name, .code {
            font-size: 14px;
          }
          .time {
            font-size: 14px;
            color: #858CA0;
          }
          .type-list {
            display: flex;
            .type {
              height: 22px;
              line-height: 22px;
              padding: 0 8px;
              margin-left: 5px;
              background: #FFF1F0;
              border-radius: 4px;
              border: 1px solid #FFA39E;
              color: #FF4D4F;
              font-size: 12px;
            }
          }
        }
        // .item {
        //   padding: 12px 10px;
        //   margin-bottom: 8px;
        //   background: #fff;
        //   border-radius: 8px;
        //   .row:first-child {
        //     margin-bottom: 8px;
        //   }
        //   .row {
        //     color: #2E3A4F;
        //     display: flex;
        //     justify-content: space-between;
        //     align-items: center;
            
        //     .project-name {
        //       font-size: 14px;
        //     }
        //     .time {
        //       font-size: 14px;
        //       color: #858CA0;
        //     }
        //     .type-list {
        //       display: flex;
        //       .type {
        //         height: 22px;
        //         line-height: 22px;
        //         padding: 0 8px;
        //         margin-left: 5px;
        //         background: #FFF1F0;
        //         border-radius: 4px;
        //         border: 1px solid #FFA39E;
        //         color: #FF4D4F;
        //         font-size: 12px;
        //       }
        //     }
        //   }
        // }
      }
    }
  }
  .maintain-container {
    width: calc(100% - 26px);
    margin: 0 auto 8px;
    padding: 6px 12px;
    box-sizing: border-box;
    box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 8px;
  }
  .maintain-container {
    .top {
      margin-bottom: 8px;
      color: #2E3A4F;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .left {
        display: flex;
        align-items: center;
        .icon {
          width: 18px;
          height: 18px;
          margin-right: 4px;
          border-radius: 50%;
          background: #E2EAFB;
          overflow: hidden;
          image {
            width: 100%;
            height: 100%;
            display: block;
          }
        }
        .val {
          font-size: 14px;
          font-weight: bold;
        }
      }
      .right {
        display: flex;
        align-items: center;
        .icon {
          width: 16px;
          height: 16px;
          margin-right: 4px;
          border-radius: 4px;
          overflow: hidden;
          image {
            width: 100%;
            height: 100%;
            display: block;
          }
        }
        .val {
          font-size: 14px;
          font-weight: bold;
          color: #4381FC;
        }
      }
    }
    .content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      >.btn {
        width: calc((100% - 10px) / 2);
        height: 64px;
        line-height: 64px;
        // background: linear-gradient(180deg, #3772F6 0%, #5AAEF7 100%);
        border-radius: 8px;
        color: #fff;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        position: relative;
        .bg {
          width: 100%;
          height: 100%;
          position: absolute;
          image {
            width: 100%;
            height: 100%;
          }
        }
        .val {
          position: relative;
        }
      }
      .record {
        background: linear-gradient(180deg, #3BBA95 0%, #67D7B0 100%);
      }
      .UpkeepBill {
        width: calc((100% - 12px) / 3);
        .val {
          margin-right: 4px;
          text-align: right;
        }
      }
    }
    .workbench-list {
      display: flex;
      // justify-content: space-between;
      flex-wrap: wrap;
      >.btn {
        width: calc(100% / 4);
        // width: 56px;
        // height: 62px;
        margin-bottom: 18px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        .pic {
          width: 36px;
          height: 36px;
          margin-bottom: 8px;
          // background: #000;
          image {
            width: 100%;
            height: 100%;
          }
        }
        .title {
          font-size: 14px;
          font-weight: 400;
          color: #2E3A4F;
          white-space: nowrap;
        }
      }
    }
  }
}