@import "~bootstrap/scss/bootstrap";
@import "../../../utils/theme/colorVariable.scss";
html {
  scroll-behavior: smooth;
}

.clouds-con {
  position: relative;
}

.cloud {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  margin-top: 40px;
  -webkit-animation-name: cloud-movement;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 8s;
  -moz-animation-name: cloud-movement;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;
  -moz-animation-duration: 8s;
  animation-name: cloud-movement;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 8s;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.slow {
  margin-top: 150px;
  margin-right: 40%;
  -webkit-animation-duration: 30s;
  -moz-animation-duration: 30s;
  animation-duration: 30s;
}

.slower {
  margin-top: 200px;
  margin-right: 10%;
  -webkit-animation-duration: 40s;
  -moz-animation-duration: 40s;
  animation-duration: 40s;
}

.slowest {
  margin-top: 150px;
  margin-right: 20%;
  -webkit-animation-duration: 50.5s;
  -moz-animation-duration: 50.5s;
  animation-duration: 50.5s;
}

.super-slow {
  margin-top: 100px;
  margin-left: 20%;
  -webkit-animation-duration: 70.5s;
  -moz-animation-duration: 70.5s;
  animation-duration: 70.5s;
}

.cloud1.slow {
  margin-top: 10px;
  margin-left: 90%;
  -webkit-animation-duration: 120.5s;
  -moz-animation-duration: 120.5s;
  animation-duration: 120.5s;
}

.cloud1.slower {
  margin-top: 50px;
  margin-left: 70%;
  -webkit-animation-duration: 70.5s;
  -moz-animation-duration: 70.5s;
  animation-duration: 70.5s;
}

.cloud1.slowest {
  margin-top: 150px;
  margin-left: 86%;
  -webkit-animation-duration: 200.5s;
  -moz-animation-duration: 200.5s;
  animation-duration: 200.5s;
}

.cloud1.super-slow {
  margin-top: 250px;
  margin-left: 30%;
}

@-webkit-keyframes cloud-movement {
  0% {
    opacity: 0.4;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateX(-95vw);
    -moz-transform: translateX(-95vw);
    transform: translateX(-95vw);
  }
}

@keyframes cloud-movement {
  0% {
    opacity: 0.4;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateX(-95vw);
    -moz-transform: translateX(-95vw);
    transform: translateX(-95vw);
  }
}

.modal-backdrop.fade.show {
  display: none;
}

#detailsModal {
  width: 255px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  animation-name: modal-scale;
  animation-timing-function: linear;
  animation-duration: 0.7s;
  z-index: 111111;

  @media screen and (max-width: 768px) {
    position: absolute !important;
  }

  @media screen and (max-width: 600px) {
    width: 90% !important;
    left: 20px !important;
    top: auto !important;
  }

  &::before {
    content: "";
    display: flex;
    width: 14px;
    height: 14px;
    margin-left: -8px;
    margin-top: 17px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: none;
    border-right: none;
    transform: rotate(45deg);
    background: linear-gradient(90deg, #ffffff94 0%, #f7def394 100%);
    box-shadow: 20px 40px 60px 0 rgba(0, 2, 19, 0.15);
  }

  .detailsModal-content {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    margin-top: -31px;
    background: linear-gradient(90deg, #ffffff94 0%, #f7def394 100%);
    box-shadow: 20px 40px 60px 0 rgba(0, 2, 19, 0.15);
    color: $Black;
    backdrop-filter: blur(5px);
  }
}

.left-mode::before {
  margin-left: auto !important;
  margin-right: -8px !important;
  transform: rotate(-135deg) !important;
}

@keyframes modal-scale {
  0% {
    width: 0;
    height: 3px;
    overflow: hidden;
  }

  50% {
    width: 255px;
    height: 10px;
  }

  99% {
    height: 169px;
    overflow: hidden;
  }

  100% {
    overflow: auto;
  }
}

#total-pro,
.sub-pro {
  width: 45px;
  height: 45px;

  circle,
  .passed {
    r: 15.9;
    cx: 20;
    cy: 20;
    fill: transparent;
    stroke: #7a9aff33;
    stroke-width: 3;
    stroke-dashoffset: 25;
    stroke-linecap: round;
  }

  .passed {
    stroke: url(#detailsTotalPro);
  }

  .sub-passed {
    stroke: url(#detailsSubPro);
  }
}

@for $i from 10 through 40 {
  .f#{$i} {
    font-size: $i * 1px;
  }
}

#svg-route {
  background-size: 100%;
  width: calc(100vw - 28.4% - 100px);
  background-repeat: no-repeat;
  color: #14182f;
  margin: 14px 0 0 5px;

  .rectangle {
    height: 128.05px;
    width: 51.64px;
    opacity: 0.4;
    background: linear-gradient(
      180deg,
      #eeecff 0%,
      rgba(238, 236, 255, 0) 100%
    );
  }
}

@media screen and (max-width: 768px) {
  #svg-route {
    width: calc(100% - 30% - 0px);
    height: fit-content;
    margin: 6px 0 6px 2px;
  }
  .dashboard {
    .overall {
      left: 10px;
      margin: 50px 0;
      padding: 0;
    }
  }
  .short-leaderboard {
    .score-rank {
      .ranks {
        .all-rank {
          padding: 0 8px 0 0 !important;
          margin-right: 5px !important;
        }
      }
    }
  }
}

.dashboard {
  position: relative;
  background: url(../../../assets/dashboard-bg-3x.jpg) no-repeat 0 0;
  background-size: calc(100% - -17%);
  padding-bottom: 100px;

  @media screen and (max-width: 768px) {
    overflow: auto;
  }

  .overall {
    position: absolute;
    left: 5px;
    bottom: 40px;

    .all-progress {
      height: 80px;
      width: 80px;
      margin: 0 auto;

      svg {
        width: 100%;
        height: 100%;
      }

      .centerper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }

  .activities {
    position: absolute;
    top: 10px;
    z-index: 11111;
    right: 5px;
    min-height: 83vh;

    .cards {
      background: linear-gradient(90deg, #ffffff94 0%, #f7def394 100%);
      border-radius: 7px;
      border: 1px solid #57499a;
      width: 330px;
      margin-bottom: 10px;
      backdrop-filter: blur(5px);

      

      .box-header {
        .title {
          display: flex;
          padding: 10px;
          justify-content: space-between;
          align-items: center;

          .view {
            color: #ac92f3;
            font-size: 13px;
            text-decoration: underline;
            cursor: pointer;
          }

          .schedule-font {
            font-weight: bolder;
            color: $Black;
          }
        }

        .activitie-types {
          background: #d251ad;
          padding: 5px 10px;
          display: flex;
          align-items: center;

          span {
            color: #8d81c3;

            &:first-child {
              width: 40%;
            }

            &:nth-child(2) {
              width: 35%;
            }

            &:last-child {
              width: 25%;
            }
          }
        }
      }

      .box-body {
        max-height: 260px;
        overflow: auto;
        scrollbar-width: thin;
        // scrollbar-color: #645c95db #00041a;

        &::-webkit-scrollbar {
          width: 3px;
        }

        &::-webkit-scrollbar-track {
          background-color: transparent;
          -webkit-border-radius: 0;
          border-radius: 0;
        }

        &::-webkit-scrollbar-thumb {
          -webkit-border-radius: 0;
          border-radius: 0;
          background: grey;
        }

        .main-div {
          display: flex;
          padding: 10px;
          align-items: center;
          border-bottom: 1px solid #7e6fc27a;

          &:last-child {
            border-bottom: 0;
          }

          div {
            p,
            span {
              font-size: 13px;

              svg {
                width: 18px !important;
                height: 18px !important;
                margin-right: 5px;
              }
            }

            &:first-child {
              width: 40%;
              display: flex;
              margin-right: 5px;

              span {
                color: $Black;

                &:nth-child(2) {
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  overflow: hidden;
                  scrollbar-width: thin;
                  // scrollbar-color: #645c95db #00041a;

                  &::-webkit-scrollbar {
                    display: none;
                  }
                }

                svg {
                  width: 14px;
                  height: 14px;
                  margin-right: 5px;
                }
              }

              p {
                color: #262626;
                margin: 0;
              }
            }

            &:nth-child(2) {
              width: 35%;

              span {
                color: #262626;
              }
            }

            &:last-child {
              width: 25%;

              .upcoming {
                color: $upcomingBtnText;
              }

              .overdue {
                color: $overdueText;
              }

              .completed {
                color: $completedBtnTextColor;
              }

              button {
                background: linear-gradient(80deg, #c42eaa 0%, #861372 100%);
                color: $White;
                border: none;
                padding: 3px 15px;
                border-radius: 30px;
                min-width: 77px;
              }
            }
          }

          .activityrow {
            width: 100% !important;
            .activity-icon {
              img {
                width: 20px;
                display: block;
                margin-right: 5px;
              }
              svg {
                width: 20px;
                display: block;
              }
            }
          }
          .rowcursor {
            cursor: pointer;
          }
          .name {
            display: flex;
            align-items: center;

            span {
              color: $White;

              img {
                width: 30px;
                margin-right: 5px;
              }
            }
          }
        }
      }
    }

    .leaderboard {
      .box-header {
        .activitie-types {
          span {
            &:first-child {
              width: 45%;

              img {
                width: 40px;
                margin-right: 5px;
              }
            }

            &:nth-child(2) {
              width: 30%;
              text-align: center;
            }

            &:last-child {
              width: 25%;
              text-align: center;
            }
          }
        }
      }

      .box-body {
        .main-div {
          div {
            &:first-child {
              width: 45%;

              img {
                width: 40px;
                margin-right: 5px;
              }
            }

            &:nth-child(2) {
              width: 30%;
              display: flex;
              align-items: center;
              justify-content: center;

              span {
                &:first-child {
                  margin-right: 5px;
                  color: #ffab19;
                }
              }
            }

            &:last-child {
              width: 25%;
              display: flex;
              align-items: center;
              justify-content: center;

              span {
                &:first-child {
                  margin-right: 5px;
                  color: #ffab19;
                }
              }
            }
          }
          .activityrow {
            width: 100% !important;
          }
          .rowcursor {
            cursor: pointer;
          }
          .name {
            display: flex;
            align-items: center;

            span {
              color: $White;

              img {
                width: 30px;
                margin-right: 5px;
              }
            }
          }
        }
      }
    }
  }

  @media screen and (min-width: 768px) and (max-width: 768px) {  }

  @media screen and (min-width: 0) and (max-width: 768px) {
    .activities {
      .cards {
        width: 275px !important;
      }
    }
  }

  // -----------------------------------  edits activities box opacity start -----------------------------------
  .activities {
    position: absolute;
    top: 10px;
    z-index: 11111;
    right: 5px;
    min-height: 83vh;
    z-index: 0;

    .cards {
      background: linear-gradient(90deg, #ffffff94 0%, #f7def394 100%);
      border-radius: 7px;
      border: 1px solid #57499a;
      width: 330px;
      margin-bottom: 10px;
      backdrop-filter: blur(5px);

      .box-header {
        .title {
          display: flex;
          padding: 10px;
          justify-content: space-between;
          align-items: center;

          .view {
            color: $Black;
            font-size: 13px;
            text-decoration: underline;
            cursor: pointer;
          }
        }

        .activitie-types {
          background: #ff00bf63;
          padding: 5px 10px;
          display: flex;
          align-items: center;

          span {
            color: $White;

            &:first-child {
              width: 40%;
            }

            &:nth-child(2) {
              width: 35%;
            }

            &:last-child {
              width: 25%;
            }
          }
        }
      }

      .box-body {
        max-height: 260px;
        overflow: auto;
        scrollbar-width: thin;
        // scrollbar-color: #645c95db #00041a;

        &::-webkit-scrollbar {
          width: 3px;
        }

        &::-webkit-scrollbar-track {
          background-color: transparent;
          -webkit-border-radius: 0;
          border-radius: 0;
        }

        &::-webkit-scrollbar-thumb {
          -webkit-border-radius: 0;
          border-radius: 5px;
          background: hsl(253.85deg 28.63% 44.51%);
        }

        .main-div {
          display: flex;
          padding: 10px;
          align-items: center;
          border-bottom: 1px solid #7e6fc27a;

          &:last-child {
            border-bottom: 0;
          }

          .activityrow {
            width: 100% !important;
          }

          .rowcursor {
            cursor: pointer;
          }
          div {
            p,
            span {
              font-size: 13px;

              svg {
                width: 18px !important;
                height: 18px !important;
                margin-right: 5px;
              }
            }

            &:first-child {
              width: 40%;
              display: flex;
              margin-right: 0px;
              padding-right: 10px;

              span {
                color: $Black;

                &:nth-child(2) {
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  overflow: hidden;
                  scrollbar-width: thin;
                  // scrollbar-color: #645c95db #00041a;

                  &::-webkit-scrollbar {
                    display: none;
                  }
                }

                svg {
                  width: 14px;
                  height: 14px;
                  margin-right: 5px;
                }
              }

              p {
                color: #262626;
                margin: 0;
              }
            }

            &:nth-child(2) {
              width: 35%;

              span {
                color: #262626;
              }
            }

            &:last-child {
              width: 25%;

              .upcoming {
                color: $upcomingBtnColor;
              }

              .overdue {
                color: $overdueBtnColor;
              }

              .completed {
                color: $completedBtnTextColor;
                padding: 0px 6px;
              }

              button {
                background: linear-gradient(80deg, #c42eaa 0%, #861372 100%);
                color: $White;
                border: none;
                padding: 1px 10px;
                font-size: 12px;
                border-radius: 30px;
              }
            }
          }

          .name {
            display: flex;
            align-items: center;

            span {
              color: $White;

              img {
                width: 30px;
                margin-right: 5px;
              }
            }
          }
        }
      }
    }

    .leaderboard {
      .box-header {
        .activitie-types {
          span {
            &:first-child {
              width: 45%;

              img {
                width: 40px;
                margin-right: 5px;
              }
            }

            &:nth-child(2) {
              width: 30%;
              text-align: center;
            }

            &:last-child {
              width: 25%;
              text-align: center;
            }
          }
        }
      }

      .box-body {
        .main-div {
          div {
            &:first-child {
              width: 45%;

              img {
                width: 25px;
                margin-right: 10px;
              }
            }

            &:nth-child(2) {
              width: 30%;
              display: flex;
              align-items: center;
              justify-content: center;

              span {
                &:first-child {
                  margin-right: 5px;
                  color: #ffab19;
                }
              }
            }

            &:last-child {
              width: 25%;
              display: flex;
              align-items: center;
              justify-content: center;

              span {
                &:first-child {
                  margin-right: 5px;
                  color: #ffab19;
                }
              }
            }
          }

          .activityrow {
            width: 100% !important;
          }
          .rowcursor {
            cursor: pointer;
          }
          .name {
            display: flex;
            align-items: center;

            span {
              color: $White;

              img {
                width: 30px;
                margin-right: 5px;
              }
            }
          }
        }
      }
    }
  }

  .activitie_bg {
    background-image: linear-gradient(
      to top right,
      #c1488c 20%,
      #373192,
      #c57060
    );
    height: 100%;
    width: 345px;
    padding: 10px 0 0 10px;
    top: 0 !important;
    right: 0 !important;
  }

  .activities_op {
    opacity: 0.1;
  }

  // activities inner section opcity start
  .activities_border {
    position: absolute;
    top: 10px;
    z-index: 11111;
    right: 5px;
    min-height: 83vh;

    .acti_card {
      border-radius: 7px;
      border: 1px solid #cec3ee;
      width: 330px;
      z-index: 1111;
      padding: 10px;
      margin-bottom: 10px;

      &:last-child {
        top: 365px;
      }

      .box-header {
        .title {
          display: flex;
          justify-content: space-between;
          align-items: center;

          span {
            color: #cec3ee;
          }
        }
      }

      h3 {
        color: #be3ba6;
        font-size: 15px;
        text-align: center;
        margin: 0;
        padding: 92px 0;
      }
    }

    .acti_leaderboard {
      .h4 {
        margin: 0 auto;
        padding: 62px 0;

        h4 {
          color: #be3ba6;
          font-size: 15px;
          text-align: center;
          margin: 0;
        }

        .dash_div {
          color: #b7a3f0;
          margin: -10px 0 15px 0;
          text-align: center;
          cursor: default;
        }

        h5 {
          color: #b7a3f0;
          font-size: 15px;
          text-align: center;
          margin: 0;
        }
      }
    }

    button {
      background-image: linear-gradient(80deg, #c42eaa 0%, #861372 100%);
      border: none;
      outline: none;
      color: $White;
      padding: 10px;
      border-radius: 30px;
      font-size: 17px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 25px auto !important;
      font-family: "mulish-light";
      cursor: pointer;
      width: 75%;

      mat-icon {
        font-size: 20px;
        padding-right: 5px;
        padding-top: 2px;
      }
    }
  }

  @media screen and (min-width: 768px) and (max-width: 768px) {
    .activities_border {
      right: 48px !important;

      .acti_card {
        width: 248px !important;
      }
    }

    .activitie_bg {
      width: 307px;
    }
  }

  @media screen and (min-width: 0) and (max-width: 768px) {
    .activities_border {
      .acti_card {
        width: 248px !important;
      }

      button {
        width: 90%;
      }
    }
  }

  //  activities inner section opcity end
  // -----------------------------------  edits activities box opacity end -----------------------------------
}

.domain-text {
  width: 38px !important;
  text-align: center !important;
  color: red !important;
}

.divider {
  margin: 0 5px;
  border: 1px dashed #fff1;
}

.chart-wrapper {
  width: 45px;
  min-width: 45px;
}

@media screen and (max-width: 768px) {
  .leaderboard-modal {
    .leaderboard-contain {
      left: 4% !important;
      width: 92% !important;
      .leaderboard-header {
        .score-rank {
          padding: 40px 0px 20px !important;
          margin-right: 30px;
        }
        .ranks {
          .all-rank {
            padding: 0 10px !important;
            .rank-number {
              span:first-child {
                font-size: 17px !important;
              }
              .rank-logo {
                span {
                  font-size: 26px !important;
                }
              }
            }
          }
        }
        .user-profile {
          span {
            font-size: 20px !important;
            img {
              width: 40px !important;
            }
          }
        }
      }
    }
  }
  .dashboard {
    overflow: inherit;
  }
}

.leaderboard-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0000008a;
  z-index: 11111;
  top: 0;

  .leaderboard-contain {
  position: absolute;
    top: 65px;
    left: 6.5%;
    width: 80%;
    background: linear-gradient(90deg, #ffffff94 0%, #f7def394 100%);
    border-radius: 12px;
    backdrop-filter: blur(5px);

    .leaderboard-header {
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      // background: linear-gradient(
      //   81deg,
      //   rgba(121, 63, 203, 1) 0%,
      //   rgba(92, 69, 223, 1) 100%
      // );
      position: relative;

      .close-btn {
        position: absolute;
        right: 10px;
        top: 10px;
        color: $White;
        cursor: pointer;
      }

      .score-rank {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #dd58bd;
        border-bottom-style: dashed;
        padding: 20px 35px;
      }

      .user-profile {
        display: flex;
        align-items: center;

        span {
          font-size: 24px;
          margin-left: 10px;

          img {
            width: 50px;
          }
        }
      }

      .ranks {
        display: flex;
        align-items: center;

        .all-rank {
          display: flex;
          align-items: center;
          padding: 0 30px;

          &:first-child {
            border-right: 1px solid #8870e4;
            border-right-style: dashed;
          }

          .rank-number {
            span {
              display: block;
              line-height: 1;

              &:first-child {
                font-weight: bold;
                letter-spacing: 1px;
                font-size: 36px;
              }

              &:last-child {
                color: #d1c7f3;
              }
            }
          }

          .rank-logo {
            margin-right: 6px;

            span {
              font-size: 34px;
              background: -webkit-linear-gradient(
                180deg,
                rgba(255, 187, 29, 1) 0%,
                rgba(255, 116, 55, 1) 100%
              );
              -webkit-background-clip: text;
              -webkit-text-fill-color: transparent;
            }
          }
        }
      }

      .domain-name {
        display: flex;
        align-items: center;
        padding: 0 35px 20px 35px;

        .colums-1 {
          width: 20%;
          display: flex;
          align-items: center;

          span {
            display: block;
            line-height: 1;
            color: #000000;
            margin-right: 15px;
          }
        }

        .colums-2 {
          margin-left: 30px;
          width: 15%;
          display: flex;
          align-items: center;

          span {
            display: block;
            line-height: 1;
            color: #000000;
          }

          div {
            svg {
              width: 30px;
              height: 30px;
              margin-right: 5px;
            }
          }
        }

        .colums-3 {
          width: 10%;
          text-align: center;

          span {
            display: block;
            line-height: 1;
            color: #000000;
          }
        }
      }
    }

    .leaderboard-body {
      // background: #252a65;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;

      .pre-class {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 13px 10px;
        border-radius: 5px;
        margin: 0 35px 15px;
        background: linear-gradient(
          47deg,
          rgba(229, 111, 111, 1) 0%,
          rgba(251, 83, 148, 1) 100%
        );

        span {
          font-size: 16px;

          &:last-child {
            font-size: 24px;
            letter-spacing: 1px;
          }
        }
      }

      .practice-class {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 13px 10px;
        border-radius: 5px;
        margin: 0 35px 15px;
        background: linear-gradient(
          -47deg,
          rgba(229, 111, 111, 1) 0%,
          rgba(251, 83, 148, 1) 100%
        );

        span {
          font-size: 16px;

          &:last-child {
            font-size: 24px;
            letter-spacing: 1px;
          }
        }
      }
    }
  }
}

.tables {
     overflow: auto;
    max-height: calc(100vh - 210px);
    scrollbar-width: thin;
    // scrollbar-color: #645c95db #00041a;
    padding-bottom: 15px;

  &::-webkit-scrollbar {
    width: 3px;
  }

  &::-webkit-scrollbar-track {
    background-color: transparent;
    -webkit-border-radius: 0;
    border-radius: 0;
  }

  &::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0;
    border-radius: 0;
    background: grey;
  }

  table {
    border-collapse: collapse;
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  td,
  th {
    padding: 10px 25px;
    z-index: 1111;
    padding-top: 20px;
    border-bottom: 1px solid #dd58bd;
    border-bottom-style: dashed;
  }

  .head {
    position: sticky;
    top: 0;
    // background: linear-gradient(81deg, #793fcb 0%, #5c45df 100%);
  }

  .colum-1 {
    min-width: 200px;
  }

  .colum-2,
  .colum-3 {
    min-width: 80px;
    width: 90px;
    text-align: center;
  }

  .colum-2 {
    span {
      font-size: 34px;
    }
  }

  .colum-3 {
    border-left: 1px solid #060f34;

    span {
      display: block;
      font-size: 10px;
      line-height: 1;
      font-weight: 100;
    }
  }

  .colum-4 {
    width: 211px;

    .task-number {
      align-items: center;
      text-align: center;

      .numbar-row {
        font-size: 24px;
        font-weight: bold;
        color: #0a0a0a;
        margin-right: 15px;
      }

      div {
        span {
          line-height: 1;
          color: #0a0a0a;
          font-size: 15px;
          display: block;
        }
      }
    }
  }

  .colum-5 {
    text-align: center;
    min-width: 130px;
    padding: 8px 25px;
  }

  .colum-6 {
    text-align: center;

    span {
      font-size: 34px;
      color: #ffb55f;
    }
  }

  .headersvg {
    display: flex;
    align-items: center;
    justify-content: center;

    svg {
      margin-right: 10px;
      width: 50px;
      height: 35px;
    }

    p {
      font-weight: normal;
      text-align: left;
      color: #000000;
      margin: 0;
    }
  }
}

.prog {
  p {
    margin: 0;

    &.lable {
      color: #000000;
      font-size: 20px;
      margin-bottom: 10px;
      font-weight: bold;
    }
  }

  .fillermain {
    background: #e1e1e1;
    height: 10px;
    width: 100%;
    border-radius: 15px;
    margin: 0 auto;

    .fill {
      background: #ff438d;
      height: 100%;
      border-radius: 15px;
    }
  }
}

.short-leaderboard {
  .score-rank {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5px;

    .user-profile {
      display: flex;
      align-items: center;

      span {
        font-size: 24px;
        margin-left: 10px;

        img {
          width: 50px;
        }
      }
    }

    .ranks {
      display: flex;
      align-items: center;

      .all-rank {
        display: flex;
        align-items: center;
        padding: 0 20px 0 0;
        margin-right: 20px;

        &:first-child {
          border-right: 1px solid #8870e4;
          border-right-style: dashed;
        }

        .rank-number {
          span {
            display: block;
            line-height: 1;

            &:first-child {
              font-weight: bold;
              letter-spacing: 1px;
              font-size: 30px;
            }

            &:last-child {
              color: #d1c7f3;
            }
          }
        }

        .rank-logo {
          margin-right: 6px;

          span {
            font-size: 34px;
            background: -webkit-linear-gradient(
              180deg,
              rgba(255, 187, 29, 1) 0%,
              rgba(255, 116, 55, 1) 100%
            );
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
          }
        }
      }

      .improve-score {
        text-align: center;

        span {
          color: #ac92f3;
          text-decoration: underline;
          cursor: pointer;
        }
      }
    }
  }
}

#total-pros-dashboard {
  width: 100%;
  height: 100%;
}
.md-off-overall {
  display: none;
}
@media screen and (max-width: 768px) {
  .dashboard {
    background-size: calc(100% - -60%);
    padding-bottom: 0;
    .activities {
      position: relative;
      right: 0px;
      left: 0px;
      min-height: auto;
      margin-left: 5px;
      .cards {
        width: 90% !important;
        margin: 0 auto;
        margin-bottom: 10px;
        .box-body {
          .main-div {
            div:first-child {
              span:nth-child(2) {
                width: 90%;
              }
            }
          }
        }
      }
    }
    .overall {
      position: relative;
      left: 40px;
      top: 0;
      margin: 0px auto 15px;
      display: inline-block;
      .all-progress {
        height: 50px;
        width: 50px;
        margin: 0 auto;
      }
      span {
        text-align: center;
        display: block;
      }
    }
  }
  #svg-route {
    width: calc(100% - 2% - 0px);
  }
  .md-off-overall {
    display: block;
  }
  .sm-off-overall {
    display: none !important;
  }
  #detailsModal {
    width: 90% !important;
    left: 26px !important;
    top: auto !important;
  }
  .user-profile {
    span:nth-child(2) {
      text-overflow: ellipsis;
      width: 80px;
      white-space: nowrap;
      overflow: hidden;
    }
  }
}
.out-dashboard {
  min-height: 90vh;
  background: #04051a;
}
.round-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  .chart-wrapper {
    span {
      color: $Black;
      font-weight: 600;
    }
  }
}
.domain-headtitle {
  span {
    &:first-child {
      color: $Black;
      font-weight: 600;
    }
    &:last-child {
      color: $Black;
      font-weight: 600;
    }
  }
}
.domain-color {
  color: $Black;
}
.domain-type {
  justify-content: space-between;
}
.doamin-title {
  margin-left: 15px;
  color: $Black;
  font-weight: 600;
  span {
    width: 70px;
  }
}
.popup-button {
  display: flex;
  align-items: center;
  button {
    background: linear-gradient(80deg, #c42eaa 0%, #861372 100%);
    color: $White;
    border: none;
    padding: 2px 10px;
    font-size: 12px;
    border-radius: 50px;
    min-width: 50px;
  }
}

.popup-result {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #04082196;
  z-index: 111111111;
  .result-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 20px);
    padding: 0px;
    border: 1px solid #353c7d;
    background: #0b0f2e;
    border-radius: 10px;
    box-shadow: 0px 9px 46px -20px #a64cd7;
    box-sizing: border-box;
    .videos {
      overflow-y: hidden;
      height: calc(100vh - 0px);
      border-radius: 10px;
    }
  }
}
@media screen and(max-width:767px) {
  .popup-result {
    .result-body {
      width: 100%;
      top: 80px;
      left: 0;
      transform: translate(0%, 0%);
      z-index: 9;
    }
  }
}
