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

.measure {
  box-sizing: border-box;
  min-height: 100%;
  background: #EDEDED;
  padding: 20px 15px;
  width: 100%;

  .measure-dialogue {
    margin-bottom: 20px;

    &-robot {
      display: flex;

      .Md-robot-avatar {
        margin-right: 12px;
        width: 40px;
        height: 40px;
      }

      .Md-robot-container {
        padding: 14px;
        width: 244px;
        background: #FFFFFF;
        border-radius: 0px 14px 14px 14px;

        .Mdr-container-question {
          margin-bottom: 4px;
          font-size: 16px;
          font-weight: 400;
          color: #000000;
          line-height: 21px;
        }

        .Mdr-container-progress {
          font-size: 12px;
          font-weight: 400;
          color: #999999;
          line-height: 21px;
        }

        .Mdr-container-component {
          display: flex;
          justify-content: space-between;
          margin-top: 10px;

          .Mdrc-component-box {
            position: relative;

            .Mdrcc-box-bg {
              margin-top: 31px;
              width: 102px;
              height: 71px;
              background: #F6F7F9;
              border-radius: 12px;
            }

            .Mdrcc-box-image {
              position: absolute;
              bottom: 0;
              width: 102px;
              height: 102px;
            }
          }

          .Mdrc-component-button {
            // width: 100%;
            // height: 52px;
            background: #FFC842 !important;
            // border-radius: 14px;
            // font-size: 16px;
            // font-weight: 600;
            // color: #333333;
            // line-height: 22px;
          }
        }

        .Mdrc-component-marriage {
          margin-top: 12px;

          p {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            padding-left: 13px;
            height: 32px;
            background: #F6F7FA;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 400;
            color: #666666;
            line-height: 14px;
          }

          .Mdrcc-marriage_selected {
            background: #FFC842;
            color: #333333;
          }
        }

        .Mdrc-component-income {
          margin-top: 12px;

          .Mdrcc-income-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;

            .Mdrcci-item_selected {
              background: #FFC842;
              color: #333333;
            }

            p {
              display: flex;
              align-items: center;
              padding-left: 12px;
              width: 105px;
              height: 32px;
              background: #F6F7FA;
              border-radius: 8px;
              font-size: 12px;
              font-weight: 400;
              color: #666666;
              line-height: 14px;
            }
          }

          .Mdrcc-income-jump {
            display: flex;
            align-items: center;
            padding-left: 12px;
            height: 32px;
            background: #F6F7FA;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 400;
            color: #666666;
            line-height: 14px;
          }

          .Mdrcci-jump_selected {
            background: #FFC842;
            color: #333333;
          }
        }

      }
    }

    &-operation {
      display: flex;

      .Md-operation-back {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 12px 0 0 52px;
        width: 95px;
        height: 28px;
        background: #FFFFFF;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 400;
        color: #666666;
        line-height: 16px;
      }

      .Md-operation-submit {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 12px 0 0 20px;
        width: 95px;
        height: 28px;
        background: #FFC842;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 400;
        color: #333333;
        line-height: 16px;
      }
    }

    &-user {
      display: flex;
      justify-content: flex-end;
      margin-top: 20px;

      .Md-user-answer {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 12px;
        box-sizing: border-box;
        padding: 10px;
        max-width: 244px;
        // height: 40px;
        background: #FFC842;
        border-radius: 14px 0px 14px 14px;
        font-size: 16px;
        font-weight: 400;
        color: #333333;
        line-height: 20px;
      }

      .Md-user-avatar {
        width: 40px;
        height: 40px;
      }
    }
  }

  .measure-loading {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
  }
}