@import "../../res.less";

.answerPanel {
  width: 750px;
  height: 1624px;
  left: 0px;
  top: 0px;
  position: absolute;
  padding-top: 590px;
  box-sizing: border-box;

  .bg {
    left: 41px;
    top: 440px;
    width: 669px;
    height: 812px;
    position: absolute;
    .sparkBg("answerPanel/answerPanelBg.png");
  }

  .question-title {
    // top: 590px;
    left: 103px;
    position: relative;
    width: 540px;
    max-height: 190px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 26px;
    color: rgb(70, 26, 18);
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .answer-con {
    width: 586px;
    height: 360px;
    position: relative;
    // top: 800px;
    left: 80px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;

    .answer-item {
      width: 100%;
      height: auto;
      text-align: left;
      color: rgb(88, 88, 88);
      font-size: 24px;
      font-weight: bold;
      line-height: 1.5;
      vertical-align: middle;
      word-break: break-all;
      background-color: rgb(253, 239, 236);
      border-radius: 14px;
      padding: 16px 40px;
      // .sparkBg("answerPanel/normalBg.png");
      position: relative;
      margin: 0 auto;
      box-sizing: border-box;
    }

    // .toolong {
    //   line-height: 1.5;
    // }

    .error {
      color: #fff;
      background-color: rgb(220, 65, 69);
      // .sparkBg("answerPanel/errorBg.png");
    }

    .correct {
      color: #fff;
      background-color: rgb(107, 200, 129);
      // .sparkBg("answerPanel/correctBg.png");
    }

    .correct-icon {
      display: inline-block;
      position: absolute;
      width: 40px;
      height: 29px;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      .sparkBg("answerPanel/correctIcon.png");
    }

    .error-icon {
      position: absolute;
      width: 29px;
      height: 29px;
      right: 24px;
      top: 50%;
      transform: translateY(-50%);
      display: inline-block;
      .sparkBg("answerPanel/errorIcon.png");
    }
  }

  .tips {
    width: 669px;
    font-size: 24px;
    color: rgb(115, 49, 31);
    text-align: center;
    position: absolute;
    left: 41px;
    top: 1190px;
  }
  
  .close {
    left: 346px;
    top: 1300px;
    width: 58px;
    height: 58px;
    position: absolute;
    .sparkBg("common/close.png");
  }
}