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

.answerPanel {
  width: 750px;
  height: 1624px;
  left: 0px;
  top: 0px;
  position: absolute;

  .bg {
    left: 82px;
    top: 406px;
    width: 585px;
    height: 711px;
    position: absolute;
    .sparkBg("answerPanel/answerPanelBg.png");
  }

  .question-title {
    top: 598px;
    left: 105px;
    position: absolute;
    width: 545px;
    height: 120px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 30px;
    color: rgb(40, 25, 25);
    font-weight: bold;
    line-height: 1.2;
  }

  .answer-con {
    width: 550px;
    height: 360px;
    position: absolute;
    top: 740px;
    left: 98px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;

    .answer-item {
      width: 520px;
      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: #dbdbdb;
      border: 1px solid #fff;
      border-radius: 10px;
      padding: 10px 15px;
      // .sparkBg("answerPanel/normalBg.png");
      position: relative;
    }

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

    .error {
      color: #fff;
      background-color: #e57174;
      // .sparkBg("answerPanel/errorBg.png");
    }

    .correct {
      color: #fff;
      background-color: #5eb272;
      // .sparkBg("answerPanel/correctBg.png");
    }

    .correct-icon {
      display: inline-block;
      position: absolute;
      width: 61px;
      height: 60px;
      right: 0px;
      top: -10px;
      .sparkBg("answerPanel/correctIcon.png");
    }

    .error-icon {
      position: absolute;
      width: 58px;
      height: 54px;
      right: 0px;
      top: -10px;
      display: inline-block;
      .sparkBg("answerPanel/errorIcon.png");
    }
  }

  .close {
    left: 346px;
    top: 1186px;
    width: 58px;
    height: 58px;
    position: absolute;
    .sparkBg("common/close.png");
  }
}