@import "../../../utils/theme/colorVariable.scss";
.pagemain {
  margin: 33px 45px;
}

.pagehead {
  display: none;
  align-items: center;
  margin-bottom: 15px;
  .pageback {
    color: #786eab;
    margin-right: 10px;
    top: 15px;
  }
  .pagelable {
    margin: 0;
    color: #d8789e;
    font-size: 22px;
    span {
      color: #958cdd;
      font-weight: 600;
    }
  }
}

.material-icons .pageback {
  cursor: pointer;
}

.pagesection {
  display: flex;
  height: calc(100vh - 147px);
  .dashboard-left {
    border: 1px solid #000000;
    border-radius: 10px;
    width: 30%;
    overflow: hidden;
    min-height: 67vh;
    margin-right: 15px;
    background: #fafafa;
    position: relative;
    .back-arrow {
      position: absolute;
      top: -10px;
      right: 10px;
      button {
        height: 50px;
        width: 50px;
        border-radius: 100%;
        border: none;
        background: linear-gradient(
          180deg,
          rgba(253, 109, 168, 1) 0%,
          rgba(252, 96, 92, 1) 100%
        );
        color: #fff;
        font-size: 14px;
      }
    }
    p.title {
      color: #000000;
      font-size: 20px;
      margin: 0;
      padding: 20px 25px;
      border-bottom: 1px solid #000000;
    }
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      overflow: auto;
      max-height: calc(100vh - 210px);
      scrollbar-width: thin;
      // scrollbar-color: #645c95db #00041a;
      &::-webkit-scrollbar {
        width: 3px;
        border-radius: 50px;
      }
      /* Track */
      &:-webkit-scrollbar-track {
        background: transparent;
      }
      /* Handle */
      &::-webkit-scrollbar-thumb {
        background: #fff;
      }
      li {
        padding: 15px 55px 15px 50px;
        border-bottom: 1px solid #000000;
        position: relative;
        color: #000000;
        background: #fff;
        &.active,
        &:hover {
          background: #fafafa;
          cursor: pointer;
          color: #000;
          &:before {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            border-radius: 0 5px 5px 0;
            content: "";
            background: #DF166A;
          }
        }
        &:last-child {
          border-bottom: 0;
          padding-bottom: 30px;
        }
        span {
          &.index {
            position: absolute;
            left: 15px;
            top: 15px;
          }
          &.check {
            position: absolute;
            right: 25px;
            top: 0;
            bottom: 0;
            margin: auto;
            height: 17px;
            width: 17px;
            border-radius: 50%;
            background: #a09898;
            color: #fff;
            font-size: 14px;
            align-items: center;
            line-height: 128%;
            text-align: center;
            &.red {
              background: #DF166A;
              color: #fff;
            }
          }
        }
      }
      .active {
        .check {
          background: #a09898;
          color: #fff;
        }
      }
    }
  }
  .dashboard-right {
    border: 1px solid #000000;
    border-radius: 10px;
    width: 65%;
    background: #fff;
    overflow: hidden;
    position: relative;
    .question-sec {
      padding: 20px;
      height: calc(100vh - 261px);
      overflow: auto;
      p {
        margin: 0;
        color: #000000;
        font-size: 26px;
        line-height: 150%;
      }
      .submit-div {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        height: calc(100vh - 282px);
        img {
          border-radius: 10px;
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        span {
          display: block;
          font-size: 20px;
          letter-spacing: 0.5px;
          margin: 10px 25px;
          color: #000000;
        }
      }
    }
    .questionaction {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      border-top: 1px solid #000000;
      padding: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #fafafa;
      .actionslider {
        width: 30%;
        p {
          margin: 0 0 10px 0;
          &.num-que {
            color: #b4b5b9;
            font-size: 20px;
            font-weight: 600;
            span {
              color: #DF166A;
            }
          }
        }
        .progress {
          background: #b4b5b9;
          height: 10px;
          border-radius: 30px;
          width: 200px;
          display: flex;
          .filler {
            height: 10px;
            border-radius: 30px;
            background: linear-gradient(10deg, #DF166A 0%, #ed4b80 100%);
          }
          .incorrect {
            height: 10px;
            border-radius: 30px;
            background: linear-gradient(10deg, #DF166A 0%, #ed4b80 100%);
          }
        }
      }
      .actionbutton {
        display: flex;
        width: 65%;
        justify-content: flex-end;
        .btn {
          padding: 10px;
          min-width: 100px;
          // border-radius: 30px;
          border: 1px solid #000000;
          // background: #fff;
          // color: #7c76b7;
          text-decoration: none;
          text-align: center;
          font-size: 14px;
          margin-left: 10px;
          transition: 0.4s;
          cursor: pointer;
          font-weight: 600;
          &:hover {
            background: linear-gradient(to right, #DF166A, #DF166A);
            border-color: transparent;
            color: #fff;
          }
          &:disabled {
            cursor: not-allowed;
            opacity: 0.8;
          }
        }
        .donot {
          padding: 10px;
          min-width: 80%;
          border-radius: 30px;
          border: 1px solid transparent;
          background: linear-gradient(
            90deg,
            rgba(238, 76, 127, 1) 0%,
            rgba(238, 76, 127, 1) 100%
          );
          color: #fff;
          text-decoration: none;
          text-align: center;
          font-size: 15px;
          cursor: pointer;
          margin: auto;
          &:disabled {
            cursor: not-allowed;
          }
        }
        .selected {
          background: #DF166A;
          border-color: #DF166A;
          color: #fff;
        }
      }
    }
  }
}
.que-icon {
  display: none;
}
@media (max-width: 767px) {
  .pagesection {
    display: block;
    .dashboard-left {
      margin-bottom: 20px;
      ul {
        li {
          font-size: 13px;
        }
      }
    }
    .dashboard-right {
      .questionaction {
        align-items: flex-start;
        .actionslider {
          margin-left: 15px;
        }
      }

      .question-sec {
        .submit-div {
          img {
            width: 260px;
          }
        }
      }
    }

    .da-bord-right {
      position: fixed !important;
      top: 99px;
      bottom: 0;
      right: 0;
      left: 0;
      z-index: 9;
      padding-top: 50px;
      height: calc(100vh - 210px);
      display: none;
    }
    .da-bord-left {
      position: fixed !important;
      top: 99px;
      bottom: 0;
      right: 0;
      left: 0;
      z-index: 9;
      padding-top: 50px;
      height: calc(100vh - 210px);
      display: none;
    }
    .que-icon {
      display: flex !important;
      flex-direction: row-reverse;
      position: relative;
      span {
        position: absolute;
        top: -10px;
        right: 10px;
        z-index: 9;
        width: 60px;
        height: 60px;
      }
    }
    .dashboard-right {
      margin-top: 20px;
      .questionaction {
        .actionbutton {
          width: 100%;
          .btn {
            width: 100%;
            margin-left: 10px !important;
          }
        }
      }
      .question-sec {
        padding: 35px 15px 45px;
        max-height: 360px;
        overflow: auto;
        p {
          font-size: 19px;
          font-weight: 600;
          margin-top: 20px;
          height: calc(100vh - 500px);
        }
      }
    }
  }
  .submit-div {
    width: 100% !important;
    span {
      color: #b6b6be;
      font-weight: 600;
      font-size: 16px !important;
    }
  }
  .disabled-btn {
    opacity: 0.6 !important;
  }
  .merge-button {
    display: flex;
    width: 100%;
  }
  .btn-down {
    position: relative;
    top: 60px;
  }
  .btn-up {
    position: relative;
    top: -60px;
  }
  .pagemain {
    margin: 5px 10px !important;
  }
  .pagehead {
    display: flex;
    align-items: center;
    margin: 0px !important;
    .pageback {
      color: #786eab !important;
      margin-right: 10px;
      top: 0;
      background: none;
      left: 0;
      position: relative;
      z-index: 0;
    }
    .pagelable {
      margin: 0;
      color: #d8789e;
      font-size: 22px;
      span {
        color: #958cdd;
        font-weight: 600;
      }
    }
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .pagesection {
    .dashboard-right {
      .questionaction {
        align-items: flex-start;
        .actionbutton {
          width: 100%;
        }
        .actionslider {
          flex-direction: column;
          align-items: flex-start;
          width: 100%;
        }
      }
      .question-sec {
        padding: 10px;
        overflow-y: auto;
        p {
          font-size: 18px;
        }
        .submit-div {
          width: 280px;
          span {
            font-size: 15px;
          }
        }
      }
    }
    .dashboard-left {
      ul {
        li {
          padding: 15px 50px 15px 35px;
        }
      }
    }
  }
}
