.pagemain {
  margin: 33px 45px;
}
.pagehead {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  justify-content: space-between;
  .pageback {
    color: #786eab;
    margin-right: 10px;
  }
  .pagelable {
    margin: 0;
    color: #d8789e;
    font-size: 22px;
    span {
      color: #958cdd;
    }
  }
  .timeleft {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    .lable {
      font-style: normal;
      font-weight: 600;
      font-size: 16px;
      line-height: 16px;
      margin: 0 15px 0 0;
      color: #7f78ba;
      span {
        color: #ce7396;
      }
    }
    .timer {
      display: flex;
      background: #1b1f48;
      border: 1px solid #21275f;
      box-sizing: border-box;
      box-shadow: 20px 40px 60px rgba(0, 2, 19, 0.15);
      border-radius: 5px;
      align-items: center;
      padding: 5px 10px;
      span {
        color: #d8789e;
        margin-right: 10px;
        font-size: 15px;
      }
      p {
        font-size: 14px;
        line-height: 18px;
        color: #968bdb;
        margin: 0;
      }
    }
  }
}

.material-icons pageback {
  cursor: pointer;
}

.acronyms {
  position: absolute;
  top: 50px;
  right: -85px;
  background: #242e59;
  border-radius: 5px;
  padding: 5px;
  width: 230px;
  z-index: 99;
}

.pagesection {
  display: flex;
  .optionsec {
    display: flex;
    justify-content: flex-end;
    .calculator {
      color: #b0a4f5;
      font-size: 14px;
      line-height: 18px;
      position: relative;
      display: flex;
      align-items: center;
      margin-left: 20px;
      cursor: pointer;
      z-index: 99;
      .material-icons {
        color: #d7779b;
      }
      .lable {
        margin-left: 5px;
        font-weight: 300;
      }
      .achron {
        position: absolute;
      }
      .calc {
        position: absolute;
        top: 50px;
        right: -10px;
        background: #242e59;
        border-radius: 5px;
        padding: 5px;
        width: 230px;
        z-index: 99;
      }
    }
  }
  .dashboard-left {
    border: 1px solid #15193f;
    border-radius: 10px;
    width: 30%;
    overflow: hidden;
    margin-right: 15px;
    p.title {
      color: #968bda;
      font-size: 17px;
      margin: 0;
      padding: 15px 25px;
      border-bottom: 1px solid #15193f;
      background: rgba(0, 0, 0, 0.5);
    }
    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: #282644;
      }
      li {
        padding: 15px 55px 15px 40px;
        border-bottom: 1px solid #15193f;
        position: relative;
        color: #514b77;
        background: rgba(0, 0, 0, 0.5);
        &.active,
        &:hover {
          background: transparent;
          cursor: pointer;
          color: #817bc0;
          &:before {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            border-radius: 0 5px 5px 0;
            content: "";
            background: #e76672;
          }
        }
        &:last-child {
          border-bottom: 0;
        }
        span {
          &.index {
            position: absolute;
            left: 25px;
            top: 15px;
          }
          &.check {
            position: absolute;
            right: 25px;
            top: 0;
            bottom: 0;
            margin: auto;
            height: 17px;
            width: 17px;
            border-radius: 50%;
            background: #171c3c;
            font-size: 14px;
            align-items: center;
            line-height: 128%;
            text-align: center;
            &.red {
              background: #aa54e6;
              color: #fff;
            }
          }
        }
      }
    }
  }
  .dashboard-right {
    border: 1px solid #1a1f4e;
    border-radius: 10px;
    width: 100%;
    background: #0b102e9e;
    overflow: hidden;
    position: relative;
    .main-name {
      display: flex;
      justify-content: space-between;
      border-bottom: 1px solid #1e2352;
      align-items: center;
      padding: 25px 40px;
      .box-que {
        p {
          margin: 0;
          font-size: 18px;
          color: #968bdb;
          span {
            color: #d7779b;
          }
        }
      }
    }
    .question-sec {
      padding: 40px 40px 80px 40px;
      .pracque {
        font-weight: 300;
        font-size: 16px;
        line-height: 26px;
        color: #b7b8c2;
        margin-bottom: 20px;
        word-break: break-word;
      }
      .option {
        .ans {
          font-weight: 300;
          font-size: 16px;
          color: #ffffff;
          margin-bottom: 10px;
          position: relative;
          display: flex;
          align-items: flex-start;
          word-break: break-word;
          input {
            margin-right: 10px;
            position: absolute;
            left: 0;
            opacity: 0;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            bottom: 0;
            &:checked + .radioicon {
              color: #fff;
              background: linear-gradient(270deg, #b25cff 0%, #a300ff 100%);
            }
          }
          .radioicon {
            height: 17px;
            width: 17px;
            border-radius: 50%;
            background: #171c3c;
            color: #171c3c;
            font-size: 14px;
            align-items: center;
            line-height: 128%;
            text-align: center;
            margin-right: 10px;
          }
        }
      }
    }
    .questionaction {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      border-top: 1px solid #15193f;
      padding: 15px;
      display: flex;
      align-items: center;
      flex-direction: unset;
      justify-content: flex-end;
      background: #0b102e9e;
      .pageresult {
        display: flex;
        align-items: center;
        width: 50%;
        .actionslider {
          padding-right: 15px;
          border-right: 1px solid rgba(255, 255, 255, 0.1);
          margin-right: 15px;
          p {
            margin: 0 0 10px 0;
            &.num-que {
              color: #6f68ab;
              span {
                color: #c95def;
              }
            }
          }
          .progress {
            background: #0e142c;
            height: 10px;
            border-radius: 30px;
            width: 150px;
            display: flex;
            .filler {
              height: 10px;
              border-radius: 30px;
              background: linear-gradient(10deg, #e660fc 0%, #aa54e6 100%);
            }
            .incorrect {
              height: 10px;
              border-radius: 30px;
              background: linear-gradient(10deg, #e44a44 0%, #ff8d68 100%);
            }
          }
        }
        .reviewbtn {
          color: #b0a4f5;
          font-weight: 300;
          font-size: 15px;
          display: flex;
          align-items: center;
          cursor: pointer;
          span {
            color: #ea635f;
            margin-right: 5px;
          }
        }
      }
      .actionbutton {
        display: flex;
        .btn {
          padding: 7px;
          min-width: 90px;
          border-radius: 30px;
          border: 1px solid #4b4873;
          background: #070b28;
          color: #7c76b7;
          text-decoration: none;
          text-align: center;
          font-size: 14px;
          margin-left: 10px;
          transition: 0.3s;
          cursor: pointer;
          &:hover {
            background: #010518;
          }
          &.red {
            background: #f06a4f;
            border-color: #f06a4f;
            color: #fff;
            &:hover {
              background: #f74b28;
            }
            &:disabled {
              cursor: not-allowed;
            }
          }
          &.outline {
            border: 1px solid #f06a4f;
            color: #f06a4f;
          }
        }
      }
    }
  }
}

.cutome-modal {
  z-index: 1000;
  padding-top: 125px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  .cutome-modal-content {
    margin: auto;
    position: relative;
    padding: 20px;
    outline: 0;
    width: 470px;
    height: 540px;
    overflow: auto;
    border-radius: 7px 0;
    .modal-header {
      background-color: #1b1f48;
      padding: 15px;
      display: flex;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      justify-content: space-between;
      span {
        background: #ffffff;
        padding: 0px 7px;
        border-radius: 20px;
        color: #1b1f48;
        z-index: 1111;
        cursor: pointer;
        line-height: 1.3;
        font-weight: bold;
      }
      p {
        margin: 0;
        font-weight: 600;
        letter-spacing: 1px;
        color: #fff;
      }
    }
    .modal-body {
      padding: 15px;
      height: 250px;
      overflow-y: scroll;
      background-color: #1b1f48;
      scrollbar-width: thin;
      scrollbar-color: #645c95db #00041a;
      &::-webkit-scrollbar {
        width: 3px;
        border-radius: 10px;
        cursor: pointer;
      }
      &::-webkit-scrollbar-track {
        background: #ddd;
      }
      &::-webkit-scrollbar-thumb {
        background: #eee;
        border-radius: 10px;
      }
      &::-webkit-scrollbar-thumb:hover {
        background: #ddd;
        border-radius: 10px;
        cursor: pointer;
      }
      .titles {
        display: flex;
        span {
          width: 15%;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          color: #fff;
          font-weight: 700;
        }
        p {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          width: 85%;
          color: #fff;
        }
      }
    }
  }
}

@media only screen and (max-width: 1024px) {
  .pagesection .dashboard-right .questionaction .actionbutton {
    justify-content: start;
    width: 25%;
  }
}

@media only screen and (max-width: 676px) {
  .cutome-modal {
    .cutome-modal-content {
      width: 90%;
      margin: 0 auto;
      padding: 10px;
    }
  }
  .pagehead {
    display: block;
    .pagelable {
      margin-bottom: 10px;
    }
  }
  .pagesection {
    .optionsec {
      justify-content: center;
    }
    .dashboard-right {
      .question-sec {
        padding: 20px;
        overflow-y: scroll;
        scrollbar-width: thin;
        scrollbar-color: #645c95db #00041a;
        max-height: 178px;
      }
      .questionaction {
        display: block;
        width: auto;
        .pageresult {
          width: 100%;
          display: block;
        }
        .actionbutton {
          width: 100%;
        }
      }
    }
  }
}
.empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #9489d7;
}
@media screen and (max-width: 768px) {
  .pagemain {
    margin: 33px 15px;
  }
  .pagesection {
    .dashboard-right {
      .questionaction {
        .actionbutton {
          .btn {
            min-width: 100%;
            margin-left: 0;
          }
        }
      }
      .main-name {
        padding: 25px 10px;
      }
    }
    .optionsec {
      .calculator {
        .lable {
          display: none;
        }
      }
    }
  }
}
