/* pages/maintenanceIndex/maintenanceIndex.wxss */

.container {
  padding-top: 56px;
  padding-bottom: 120px;
  background: #EFF1F4;
  overflow-y: auto;
  position: relative;
  >.bg {
    width: 100%;
    height: 128px;
    background: linear-gradient(360deg, #538AFC 0%, #3679FC 100%);
    position: absolute;
    top: 0;
  }
  .user-container, .maintain-container, .workbench-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;
  }
  .user-container {
    // width: calc(100% - 26px);
    // margin: 0 auto 8px;
    padding: 40px 12px 18px;
    // 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: 64%;
          position: relative;
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-right: 4%;
          .label {
            font-size: 16px;
            font-weight: bold;
            color: #2E3A4F;
            white-space: nowrap;
          }
          .val {
            font-size: 32px;
            font-weight: bold;
            color: #4381FC;
            text-align: center;
          }
        }
      }
    }
  }
  .maintain-container, .workbench-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;
        }
      }
    }
  }
  .subscription{
    width: calc(100% - 26px);
    height: 56px;
    margin: 0 auto 8px;
    image{
      width: 100%;
      height: 100%;
    }
  }
}