@import "../../style/var.less";
@import "../../style/mixins.less";

.policy {
  background-color: @background-color;
  &-tab {
    width: 100% !important;
    @{deep} & > div {
      width: 100% !important;
      z-index: 100;
    }
    @{deep} .cr-tabbar {
      background-color: #f5f5f5;
      font-size: @font-size-16;
      padding: @padding-lg+1 0;
      &-item {
        position: relative;
        &::after {
          position: absolute;
          left: 0;
          top: 26px;
          // transition: width .2s linear;
          content: " ";
          display: block;
          width: 0;
          height: 4px;
          background: @orange-light;
          border-radius: @border-radius-lx;
        }
        &--active {
          font-weight: 600;
          &::after {
            width: 32px;
          }
        }
      }
    }
  }
  &-item {
    position: relative;
    margin: 10px 16px;
    padding: 20px 0 20px 20px;
    background: #FFFFFF;
    border-radius: 14px;
    &-pro {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
      &-name{
        padding: 4px 0 2px 0;
        margin-right: 6px;
        font-size: 16px;
        font-weight: 600;
        color: #242629;
      }
      &-type{
        padding: 3px 0 2px 0;
        width: 52px;
        border-radius: 8px 2px 8px 2px;
        text-align: center;
        font-size: 11px;
        font-weight: 400;
        &_illness {
          background: #FFD8BF;
          color: #FF6702;
        }
        &_life {
          background: #F3F2F1;
          color: #DDB984;
        }
        &_casualty {
          background: #F6E8FF;
          color: #858AFF;
        }
        &_medical {
          background: #FFEAB7;
          color: #EAAD1A;
        }
      }
      &-status {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 12px;
        font-weight: 400;
        color: #999999;
        line-height: 16px;
      }
    }
    &-recognizee, &-time {
      margin-bottom: 8px;
      font-size: 12px;
      font-weight: 400;
      color: #999999;
      line-height: 16px;
    }
    &-operation {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      width: 100%;
      &-button {
        margin: 9px 8px 0 0;
        padding: 0 !important;
        width: 102px;
        height: 28px;
        border-radius: 8px !important;
        border: 1px solid #787EFF !important;
        background-color: #fff !important;
        font-size: 14px;
        font-weight: 400;
        color: #787EFF !important;
        line-height: 16px;
        &:last-child {
          margin-right: 12px;
        }
        &_paid {
          border: 0 !important;
          background: #F4F5FF !important;
          color: #787EFF !important;
        }
      }
      &-image {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 63px;
        height: 63px;
      }
      &-desc {
        margin-top: 9px;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        &_wait {
          color: #999999;
        }
        &_result {
          color: #F94C4C;
        }
      }
    }
  }
  &-divider {
    margin: 10px 130px 16px;
    font-size: 11px;
    font-weight: 400;
    color: #CCCCCC;
    line-height: 11px;
    &:after {
      margin-left: 0;
      border: 1px solid #CCCCCC;
    }
    &:before {
      margin-right: 0;
      border: 1px solid #CCCCCC;
    }
  }
  &-recommend {
    position: relative;
    margin: 0 16px 11px;
    padding: 29px 23px 32px;
    background: #FFFFFF;
    box-shadow: 0px 5px 25px 0px rgba(0,0,0,0.07);
    border-radius: 14px;
    &-content {
      display: flex;
      margin-bottom: 18px;
      width: 100%;
      .Prc-left {
        margin-right: 20px;
        width: 72px;
        height: 72px;
      }
      .Prc-right {
        &-title {
          margin: 1px 0 9px 0;
          span:first-child {
            font-size: 28px;
            font-weight: 600;
            color: #FF6702;
            line-height: 40px;
          }
          span:last-child {
            font-size: 28px;
            font-weight: 600;
            color: #242629;
            line-height: 40px;
          }
        }
        &-desc {
          font-size: 14px;
          font-weight: 400;
          color: #999999;
          line-height: 16px;
        }
      }
    }
    &-button {
      width: 296px;
      height: 50px;
      background: #FFC842 !important;
      border-radius: 14px;
      z-index: 0;
      &:after {
        width: 296px;
        height: 52px;
        z-index: -1;
        background: rgba(255,200,66,1);
        border-radius: 14px;
        opacity: 0.4;
        filter: blur(10px);
        position: absolute;
        content: '';
        left: 0;
        top: 12px;
      }
      @{deep} .cr-button__text {
        font-size: 16px;
        font-weight: 600;
        color: #333333;
        line-height: 22px;
      }
    }
    &-angle {
      position: absolute;
      top: -5px;
      left: -5px;
      width: 65px;
      height: 65px;
    }
  }
  &-none {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 16px;
    height: 374px;
    background: #FFFFFF;
    border-radius:14px;
    &-image {
      width: 143px;
      height: 143px;
    }
    &-title {
      margin: 14px 0 9px 0;
      font-size: 16px;
      font-weight: 600;
      color: #999999;
    }
    &-desc {
      font-size: 11px;
      font-weight: 400;
      color: #CCCCCC;
    }
  }
}

