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

.family {
  box-sizing: border-box;
  padding: 28px 16px 0;
  height: 100%;
  background: #F6F6F6;

  &-title {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #242629;
    line-height: 24px;
  }

  &-form {
    padding: 20px 20px 28px;
    background: #FFFFFF;
    border-radius: 14px;

    &-item {
      display: flex;
      align-items: center;
      margin-bottom: 12px;
      padding-left: 16px;
      // height: 44px;
      background: #F6F7FA;
      border-radius: 14px;

      @{deep} .cr-cell__title {
        margin-right: 3px;
        width: 94px;

        .cr-field--title {
          font-size: 14px;
          font-weight: 400;
          color: #333333;
          line-height: 24px;
        }

        .cr-cell__label {
          display: none;
        }
      }

      @{deep} .cr-cell__value {
        font-size: 14px;
        font-weight: 600;
        color: #333333;
        line-height: 24px;
      }
    }

    &-radio {
      display: flex;
      justify-content: space-between;
      margin-bottom: 28px;
      padding-left: 10px;

      .Ff-radio-title {
        display: flex;
        align-items: center;

        .Ffr-title-text {
          margin-right: 3px;
          font-size: 14px;
          font-weight: 400;
          color: #333333;
          line-height: 24px;
        }

        .Ffr-title-svg {
          width: 12px;
          height: 12px;
        }
      }

      .Ff-radio-options {
        overflow: visible;
        padding: 0;
        width: auto;
        @{deep} .cr-cell__value {
          overflow: visible;
          .cr-radio-group {
            margin: 0;
            .cr-radio {
              // display: inline-block;
              // box-sizing: border-box;
              // padding: 12px 0;
              width: 73px;
              // height: 36px;
              // background: #FFFFFF;
              // box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.07);
              // border-radius: 8px;
              // text-align: center;
              
              .cr-radio__label--right {
                font-size: 0;
                div {
                  font-size: 12px;
                  font-weight: 400;
                  color: #333333;
                }
              }

              // &:first-child {
              //   margin-right: 9px;
              // }
            }
          }
        }
        .Ffr-options-text {
          display: inline-block;
          padding: 12px 0;
          box-sizing: border-box;
          width: 73px;
          height: 36px;
          background: #FFFFFF;
          box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.07);
          border-radius: 8px;
          text-align: center;
          font-size: 12px;
          font-weight: 400;
          color: #333333;

          &:first-child {
            margin-right: 9px;
          }
        }
      }
    }

    &-button {
      width: 100%;
      height: 52px;
      background: #FFC842 !important;
      border-radius: 14px;
      font-size: 16px;
      font-weight: 600;
      color: #333333;
      line-height: 22px;
    }
  }
  &-modal {
    @{deep} .panel-body {
      font-size: 16px;
      font-weight: 400;
      color: #666666;
      line-height: 28px;
    }
  }
  &-confirm-modal {
    padding: 20px 17px;
    background: #F6F7FA;
    border-radius: 8px;
    .Fc-modal-item {
      display: flex;
      justify-content: space-between;
      font-size:12px;
      color: #333333;
      line-height: 30px;
      span:nth-child(1) {
        font-weight:400;
      }
      span:nth-child(2) {
        font-weight:600;
      }
    }
  }
}