/* pages/violationReporting/violationReporting.wxss */
page {
  background-color: #EFF1F4;
}

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

.flex-align {
  display: flex;
  align-items: center;
}

.flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.box {
  background-color: #ffffff;
  font-size: 28rpx;
  padding: 28rpx 20rpx 0 20rpx;

  &:not(:first-child) {
    margin-top: 16rpx;
  }

  .row {
    .left {
      color: #333F53;
      font-weight: bold;

      .bg {
        width: 8rpx;
        height: 44rpx;
        background: linear-gradient(180deg, #4E87FC 0%, #38B1FE 100%);
        border-radius: 4rpx;
        margin-right: 16rpx;
      }
    }

    .right {
      color: #2E3A4F;

      .btn {
        display: flex;
        align-items: center;

        image {
          margin-right: 4px;
          width: 20px;
          height: 20px;
        }
      }
    }
  }

  .info-item {
    padding: 8px 20rpx;
    background-color: #fff;

    .left {
      color: #2F3B50;
      width: 50%;

      .label {
        color: #858CA0;
      }
    }

    .right {
      width: 50%;
      text-align: right;
    }
  }

  .total-item {
    background-color: transparent;
    padding: 8px 0px 0px;
  }
}

.pdb_20 {
  padding-bottom: 20rpx;
}

.container {
  height: calc(100vh - 100px);
  overflow-y: auto;
}

.operateBtn {
  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;

  .submitBtn {
    height: 80rpx;
    background: linear-gradient(90deg, #3B7CFC 0%, #548BFC 100%);
    border-radius: 16rpx;
    color: #FFFFFF;
    line-height: 80rpx;
    text-align: center;
  }

  .cancelBtn {
    height: 80rpx;
    border-radius: 16rpx;
    border: 1px solid #D6D6D6;
    line-height: 80rpx;
    text-align: center;
  }

  .button-list {
    display: flex;
    justify-content: space-between;
  }

}

.vehicleCostList {
  width: calc (100% - 40rpx);
  background: #ECEFF5;
  border-radius: 4px;
  padding: 20rpx;
  margin-top: 8px;
}

.title {
  background-color: #F8F9FB;
  padding: 8px 20rpx;
  border-radius: 4px 4px 0px 0px;
  border: 1px solid #E6EAF2;
  font-weight: bold;
  text-align: center;
}

.title2 {
  padding: 8px 0px 10px;
}

.border-bottom {
  border-bottom: 2rpx solid #E6EAF2;
}

.total {
  font-size: 20px;
  font-weight: bold;
  color: #4381FC;
  margin-right: 8px;
}

.top {
  height: 240px;

  .top-bg {
    width: 100%;
    position: relative;

    image {
      position: absolute;
      width: 100%;
    }

    .second {
      top: 10px;
    }
  }

  .content {
    position: relative;
    top: 6px;
    z-index: 10;
    padding: 20px 20px;

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

      .val {
        font-size: 26px;
        font-weight: bold;
        color: #4381FC;
      }
    }

    .content-middle {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;

      .item {
        width: calc((100% - 20px) / 3);
        height: 72px;
        background: #ECEFF5;
        border-radius: 8px;
        margin-top: 6px;
        text-align: center;

        .val-container {
          position: relative;
          width: 100%;
          height: 34px;
        }

        .val {
          width: 100%;
          max-height: 100%;
          font-size: 20px;
          font-weight: bold;
          color: #4381FC;
          overflow-wrap: break-word;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }

        .label {
          display: flex;
          align-items: center;
          justify-content: center;
          line-height: 1.1;
        }

        .over9 {
          font-size: 16px;
        }

        .over12 {
          font-size: 14px;
        }

        .over14 {
          font-size: 13px;
        }
      }
    }
  }
}