/* pages/handoverVehicle/rentalDelivery/rentalDelivery.wxss */
page {
  height: 100vh;
  background: #EFF1F4;
  overflow: hidden;
  position: relative;
  .container {
    padding-top: 2px;
    padding-bottom: 18px;
    box-sizing: border-box;
    height: calc(100% - 88px);
    overflow-y: auto;
    .bg {
      width: 100%;
      height: 250px;
      position: absolute;
      top: 0;
      image {
        width: 100%;
        height: 100%;
        display: block;
      }
    }
    >.top {
      margin: 8px 8px 10px;
      padding: 12px 10px;
      margin-bottom: 8px;
      background: #fff;
      border-radius: 8px;
      position: relative;
      .row:first-child {
        margin-bottom: 8px;
      }
      .row {
        color: #2E3A4F;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .title {
          font-size: 30rpx;
          font-weight: bold;
        }
        .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 {
          font-size: 14px;
          display: flex;
          
          .type {
            width: 104rpx;
            height: 32rpx;
            padding: 4rpx;
            margin-left: 16rpx;
            line-height: 32rpx;
            background: linear-gradient(270deg, #4CDBAD 0%, #2FCBAB 100%);
            border-radius: 2px;
            color: #fff;
            text-align: center;
          }
          .type-g {
            background: linear-gradient(270deg, #A1A8BB 0%, #838EAA 100%);
          }
          .type-b {
            background: #4381FC;
          }
          .type-bb {
            background: #FFFFFF;
            border-radius: 2px;
            border: 1px solid #4F88FC;
            color: #4381FC;
          }
        }
      }
    }
    .content-box {
      padding: 0 8px;
      position: relative;
      .tabs {
        display: flex;
        border-radius: 8px 8px 0 0;
        overflow: hidden;

        .tabBg {
          background-color: #E2F3FE;
        }

        .tab {
          width: 50%;
          height: 40px;
          line-height: 40px;
          color: #959595;
          font-size: 16px;
          font-weight: 500;
          text-align: center;
          position: relative;

          .bg {
            width: 100%;
            height: 100%;
            position: absolute;

            image {
              width: 100%;
              height: 100%;
              display: block;
            }
          }

          .value {
            position: relative;
          }
        }

        .active {
          color: #4381FC;
          // background-color: #FFFFFF;
        }

        .active::after {
          content: '';
          width: 26px;
          height: 4px;
          background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
          border-radius: 2px;
          position: absolute;
          bottom: 2px;
          left: 50%;
          transform: translateX(-50%);
        }
      }
    }
    .content {
      background-color: #ffffff;
      font-size: 28rpx;
      padding: 0rpx 20rpx;
      // margin-bottom: 16rpx;
      .top {
        padding: 8px 0;
        // border-top: 1px solid #efefef;
        color: #333F53;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .left {
          display: flex;
          align-items: center;
          .line {
            width: 8rpx;
            height: 44rpx;
            background: linear-gradient(180deg, #4E87FC 0%, #38B1FE 100%);
            border-radius: 4rpx;
            margin-right: 16rpx;
          }
          .title {
            color: #2E3A4F;
            font-weight: bold;
          }
        }
        .right {
          .btn {
            display: flex;
            align-items: center;
            image {
              width: 18px;
              height: 18px;
              margin-right: 6px;
              display: block;
            }
            .val {
  
            }
          }
        }
      }
      .box {
        padding: 2px 0 12px;
        border-bottom: 1px solid #efefef;
        .row {
          margin-bottom: 8px;
          color: #333F53;
          font-size: 14px;
          .flex-between {
            justify-content: space-between;
          }
          .noalign-center {
            align-items: flex-start !important;
          }
          >view {
            display: flex;
            align-items: center;
            .left {
              color: #858CA0;
            }
            .right {
              width: 76%;
              text-align: right;
              image {
                // width: 84px;
                // height: 84px;
                width: calc(((100vw - 40rpx) * 0.7 - 12px) / 3) !important;
                height: calc(((100vw - 40rpx) * 0.7 - 12px) / 3) !important;
                display: inline-block;
                // margin-left: 6px;
              }
            }
          }
        }
        .row:last-child {
          margin-bottom: 0;
        }
        .box-g {
          padding: 12px;
          margin-bottom: 8px;
          background: #ECEFF5;
          border-radius: 4px;
        }
        .box-g:last-child {
          margin-bottom: 0;
        }
      }
    }
    
  }
  .container2 {
    height: calc(100% - 88px);
  }
  .bottom {
    width: 100%;
    padding: 16px 12px 30px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 8px 8px 0 0;
    // box-shadow: 0px -2px 12px 0px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 0;
    left: 0;
    .btn-box {
      width: 100%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      .btn {
        width: 100%;
        height: 40px;
        line-height: 40px;
        border-radius: 8px;
        background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
        color: #fff;
        font-size: 30rpx;
        font-weight: bold;
        text-align: center;
      }
      .btn-w50 {
        width: calc((100% - 12px) / 2);
      }
      .btn1 {
        background: #fff;
        border: 1px solid #d6d6d6;
        box-sizing: border-box;
        color: #2E3A4F;
      }
      .btn3 {
        background: #E4EDFF;
        color: #4381FC;
      }
    }
  }
}