@import "../../../utils/theme/colorVariable.scss";
.pagemain {
  padding: 42px 38px 55px;

  .self-title {
    font-size: 21px;
    font-weight: 500;
    color: #DF166A;
    margin: 0 0 0px 0;
  }

  .main-table {
    .fixed_headers {
      width: 100%;
      table-layout: fixed;
      border-spacing: 0;
      border-radius: 10px;

      th,
      td {
        padding: 5px;
      }

      thead {
        * {
          box-sizing: border-box;
        }

        tr {
          position: relative;

          th {
            background: #fff;
            font-weight: 600;
            border: 1px solid #000000;
            text-align: center;
          }
        }
      }

      .btl-radius {
        border-top-left-radius: 10px;
      }

      .btr-radius {
        border-top-right-radius: 10px;
      }

      .colum-1 {
        width: 170px;
        padding: 10px 20px;
        box-sizing: border-box;

        span {
          color: #000000;
          font-size: 15px;
        }
      }

      .name {
        width: 250px;
      }

      .colum-2 {
        width: 261px;
        text-align: center;
        padding: 15px;

        span {
          color: #d7779b;
          font-size: 16px;
        }

        .name-number {
          display: flex;
          align-items: center;
          justify-content: space-around;

          span {
            display: block;
            color: #807bb7;
            font-size: 15px;
          }

          .icons {
            mat-icon {
              width: 20px;
              height: 20px;
              font-size: 15px;
              color: #fff;
              border-radius: 100%;
              display: flex;
              align-items: center;
              justify-content: center;
            }

            .right-icon {
              mat-icon {
                background: linear-gradient(90deg, #a302fe 0%, #b055ff 100%);
              }
            }

            .close-icon {
              mat-icon {
                background: linear-gradient(
                  90deg,
                  rgba(253, 137, 102, 1) 0%,
                  rgba(231, 83, 73, 1) 100%
                );
              }
            }
          }

          .active {
            .right-icon {
              display: none;
            }

            .close-icon {
              display: block;
            }
          }
        }
      }

      .colum-3 {
        width: 100px;
        text-align: center;

        span {
          color: #807bb7;
          font-size: 15px;
        }

        .disbalebutton {
          opacity: 0.5;
          cursor: not-allowed;
        }
      }

      .colum-4 {
        width: 131px;
        text-align: center;

        span {
          color: #807bb7;
          font-size: 15px;
        }
      }

      tbody {
        overflow: auto;
        width: 100%;
        max-height: calc(100vh - 320px);
        background: #0f1336;

        tr {
          td {
            border: 1px solid #141a43;
          }

          &:last-child {
            td {
              &:first-child {
                border-bottom-left-radius: 10px;
              }

              &:last-child {
                border-bottom-right-radius: 10px;
              }
            }
          }
        }

        .colum-1 {
          width: 170px;
        }

        .colum-2 {
          width: 261px;
        }

        .colum-3 {
          width: 100px;
        }

        .colum-4 {
          width: 131px;
        }
      }
    }

    .old_ie_wrapper {
      height: 500px;
      width: 100%;
      overflow-x: hidden;
      overflow-y: auto;

      tbody {
        height: auto;
      }
    }
  }
}

.text-left {
  text-align: start;
}

.cutome-modal {
  .cutome-modal-content {
    height: 90%;

    .modal-body {
      max-height: calc(100% - 150px);

      .main_title {
        border-bottom: 1px solid #000000;
        padding-bottom: 20px;

        span {
          color: $PopupLabel;
          font-size: 34px;
          font-weight: 600;
        }
      }

      .free-course {
        background: #DF166A;
        border: 1px solid #DF166A;
        border-radius: 5px;
        padding: 15px;
        margin-bottom: 20px;
        margin-top: 20px;

        span {
          color: #fff;
          display: block;
          font-size: 15px;
          letter-spacing: 0.5px;
        }
      }

      .free-course-title {
        margin-bottom: 20px;

        input {
          background: none;
          width: 100%;
          color: $popupText;
          font-size: 15px;
          padding: 10px 15px;
          border: 1px solid $popupBorder;
          border-radius: 5px;
          box-sizing: border-box;
        }
      }

      .course-textarea {
        margin-bottom: 20px;

        textarea {
          background: none;
          width: 100%;
          color: $popupText;
          font-size: 15px;
          padding: 10px 15px;
          border: 1px solid $popupBorder;
          border-radius: 5px;
          box-sizing: border-box;
          max-width: 100%;
        }
      }

      .visible-trial {
        border-top: 1px solid $popupBorder;
        border-bottom: 1px solid $popupBorder;
        padding: 20px 0;
        margin: 30px 0;

        .visible-title {
          margin: 0;
          font-weight: 500;
          font-size: 17px;
          letter-spacing: 0.5px;
          color: $PopupLabel;
          margin-bottom: 10px;
        }
      }

      .course-select {
        border-bottom: 1px solid $popupBorder;
        padding-bottom: 20px 0;
        margin-bottom: 30px 0;

        .course-input {
          margin-bottom: 30px;

          label {
            display: block;
            margin-bottom: 9px;
            color: $PopupLabel;
            font-size: 15px;
          }

          input,
          select {
            display: block;
            border-radius: 8px;
            padding: 10px;
            font-size: 15px;
            outline: none;
            border: 1px solid $popupBorder;
            background: none;
            width: 100%;
            box-sizing: border-box;
            color: $popupText;
            appearance: none;
            option {
              color: #000;
            }
          }

          .container {
            margin-bottom: 20px !important;
          }
        }
      }

      .course-select-border {
        border-bottom: none;
      }

      .domain-checkbox {
        margin: 25px 0;
      }

      .chkboxs {
        display: flex;
        justify-content: space-between;
        width: 90%;
        flex-wrap: wrap;

        .check-app {
          margin-top: 5px;

          label {
            display: block;
            margin-bottom: 15px;
            color: $PopupLabel;
            font-size: 15px;
          }
        }
      }

      .pricing {
        border-bottom: 1px solid $popupBorder;
        padding-bottom: 20px;
        margin: 30px 0;

        .pricing-title {
          font-size: 20px;
          font-weight: 500;
          letter-spacing: 0.5px;
          color: $PopupLabel;
          margin-bottom: 15px;
        }

        .select-pricing {
          display: flex;
          align-items: center;
          justify-content: space-between;
          flex-wrap: wrap;

          select {
            display: block;
            border-radius: 8px;
            padding: 10px;
            font-size: 15px;
            outline: none;
            border: 1px solid $popupBorder;
            background: none;
            width: 80%;
            box-sizing: border-box;
            color: $popupText;

            option {
              color: #000;
            }
          }

          button {
            background: none;
            border: 1px solid #DF166A;
            padding: 10px 25px;
            color: #DF166A;
            font-size: 14px;
            cursor: pointer;
          }
        }
      }

      .subscription {
        border-bottom: 1px solid #000000;
        padding-bottom: 20px;
        margin: 30px 0;

        .sub-label {
          background: $Pink;
          border-radius: 5px;
          padding: 15px;
          margin-bottom: 25px;
          border: 1px solid $Pink;
          display: flex;
          align-items: center;
          justify-content: space-between;

          span {
            color: #fff;
            font-size: 15px;
            letter-spacing: 0.5px;
          }

          .sub-icon {
            span {
              color: #fff;
              margin-left: 15px;
              cursor: pointer;
            }
          }
        }

        .price-label {
          margin-bottom: 15px;

          label {
            display: block;
            margin-bottom: 10px;
            color: $PopupLabel;
            font-size: 15px;
          }
        }
      }

      .live-events {
        .course-input {
          margin-bottom: 30px;

          .domain-title {
            display: block;
            margin-bottom: 9px;
            color: $popupText;
            font-size: 16px;
            font-weight: 500;
          }

          label {
            display: block;
            margin-bottom: 9px;
            color: $PopupLabel;
            font-size: 15px;
          }

          input,
          select {
            display: block;
            border-radius: 8px;
            padding: 10px;
            font-size: 15px;
            outline: none;
            border: 1px solid $popupBorder;
            background: none;
            width: 100%;
            box-sizing: border-box;
            color: $popupText;

            option {
              color: #000;
            }
          }

          .container {
            margin-bottom: 20px !important;
          }

          .all-domain {
            border: 1px solid $popupBorder;
            padding: 5px 10px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
            cursor: move;

            .select-domain {
              width: 90%;
              display: flex;
              align-items: center;

              .down-image {
                margin-right: 20px;
                line-height: 0;

                img {
                  width: 13px;
                  line-height: 0;
                }
              }

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

                img {
                  width: 20px;
                  margin: 0 10px 0 10px;
                }

                span {
                  color: $popupText;
                }

                .file-upload-wrapper {
                  $defaultColor: #4daf7c;
                  $height: 60px;

                  position: relative;
                  width: 100%;
                  height: $height;

                  &:after {
                    content: attr(data-text);
                    font-size: 18px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    background: #fff;
                    padding: 10px 15px;
                    display: block;
                    width: calc(100% - 40px);
                    pointer-events: none;
                    z-index: 20;
                    height: $height - 20px;
                    line-height: $height - 20px;
                    color: #999;
                    border-radius: 5px 10px 10px 5px;
                    font-weight: 300;
                  }

                  &:before {
                    content: "Upload";
                    position: absolute;
                    top: 0;
                    right: 0;
                    display: inline-block;
                    height: 60px;
                    background: $defaultColor;
                    color: #fff;
                    font-weight: 700;
                    z-index: 25;
                    font-size: 16px;
                    line-height: $height;
                    padding: 0 15px;
                    text-transform: uppercase;
                    pointer-events: none;
                    border-radius: 0 5px 5px 0;
                  }

                  &:hover {
                    &:before {
                      background: darken($defaultColor, 10%);
                    }
                  }

                  input {
                    opacity: 0;
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    z-index: 99;
                    height: $height - 20px;
                    margin: 0;
                    padding: 0;
                    display: block;
                    cursor: pointer;
                    width: 100%;
                  }
                }
              }
            }

            .change-domain {
              width: 10%;
              display: flex;
              align-items: center;
              justify-content: flex-end;

              span {
                background: #fff;
                width: 25px;
                height: 25px;
                border-radius: 4px;
                margin-left: 4px;

                mat-icon {
                  font-size: 20px;
                  color: #000000;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                }
              }
            }
          }
        }
      }

      .cat-examdiv {
        border-top: 1px solid #000000;
        border-bottom: 1px solid #000000;
        padding: 30px 50px 30px 0;
        margin: 30px 0;

        .main-cat {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 10px;

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

          label {
            display: block;
            margin-bottom: 9px;
            color: $PopupLabel;
            font-size: 14px;
            max-width: 80%;
          }

          input {
            display: block;
            border-radius: 6px;
            padding: 10px;
            font-size: 15px;
            outline: none;
            border: 1px solid $popupBorder;
            background: none;
            max-width: 20%;
            box-sizing: border-box;
            color: $popupText;
          }
        }
      }

      .desc-table {
        .fixed_headers {
          width: 100%;
          table-layout: fixed;
          border-collapse: collapse;

          th,
          td {
            padding: 5px;
          }

          thead {
            tr {
              text-align: left;

              th {
                span {
                  color: $popupText;
                  font-weight: 500;
                  font-size: 14px;
                  letter-spacing: 0.5px;
                }
              }
            }
          }

          tbody {
            width: 100%;

            tr {
              .colum-1 {
                .desc-input {
                  input {
                    display: block;
                    border-radius: 6px;
                    padding: 10px;
                    font-size: 15px;
                    outline: none;
                    border: 1px solid $popupBorder;
                    background: none;
                    box-sizing: border-box;
                    color: $popupText;
                    width: 100%;
                  }
                }
              }

              .colum-2 {
                .days-input {
                  display: flex;
                  align-items: center;
                  justify-content: space-between;
                  border: 1px solid $popupBorder;
                  border-radius: 6px;
                  padding: 0 10px;

                  input {
                    display: block;
                    font-size: 15px;
                    outline: none;
                    box-sizing: border-box;
                    color: $popupText;
                    border: none !important;
                    max-width: 80px;
                    background: none;
                    padding: 10px 0;
                  }

                  span {
                    color: $popupText;
                  }
                }

                .desc-input {
                  input {
                    display: block;
                    font-size: 15px;
                    outline: none;
                    box-sizing: border-box;
                    color: $popupText;
                    border-radius: 6px;
                    border: 1px solid $popupBorder;
                    width: 100%;
                    background: none;
                    padding: 10px 20px;
                  }

                  span {
                    color: $popupText;
                  }
                }

                span {
                  mat-icon {
                    color: #000000;
                    transform: rotate(-45deg);
                    display: block;
                    cursor: pointer;
                  }
                }
              }
            }
          }
        }

        .add-rowbtn {
          text-align: end;
          margin: 20px 0 5px;

          button {
            background: none;
            border: 1px solid #DF166A;
            padding: 10px 25px;
            color: #DF166A;
            font-size: 14px;
            cursor: pointer;
          }
        }

        .desc-checkbox {
          label {
            font-size: 14px;
          }
        }

        .my-20 {
          margin: 20px -0;

          label {
            display: block;
            color: #000000;
            font-size: 15px;
          }
        }
      }

      .container {
        display: block;
        position: relative;
        padding-left: 30px;
        margin-bottom: 15px;
        cursor: pointer;
        font-size: 22px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        color: #000000 !important;
      }

      /* Hide the browser's default checkbox */
      .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
      }

      /* Create a custom checkbox */
      .checkmark {
        position: absolute;
        top: 2px;
        left: 0;
        height: 15px;
        width: 15px;
        border: 1px solid $popupBorder;
        border-radius: 5px;
      }

      /* When the checkbox is checked, add a blue background */
      .container input:checked ~ .checkmark {
        background: $Pink;
        border: 1px solid transparent;
      }

      /* Create the checkmark/indicator (hidden when not checked) */
      .checkmark:after {
        content: "";
        position: absolute;
        display: none;
      }

      /* Show the checkmark when checked */
      .container input:checked ~ .checkmark:after {
        display: block;
      }

      /* Style the checkmark/indicator */
      .container .checkmark:after {
        left: 5px;
        top: 2px;
        width: 3px;
        height: 7px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
      }

      .students-list {
        .event-list {
          .rowevent {
            display: flex;
            background: #0e1336;
            border: 1px solid #262571;
            border-radius: 5px;
            margin-bottom: 5px;
            justify-content: space-between;

            &.header {
              padding: 5px 15px 8px;
              background: #1f204d;

              .value {
                font-weight: 600;
              }
            }

            .value {
              color: #7e7ab3;
              font-size: 15px;
              min-width: 100px;
              font-family: "mulish-light";

              &.first {
                min-width: 200px;
              }
            }

            .last {
              text-align: right;
            }

            padding: 11px 15px 8px;
          }
        }

        .no-course {
          padding: 7px 0px 7px 10px;
          color: #a39bde;
          display: flex;
          background: #2b2b5d;
          border-radius: 5px;
          width: 100%;
          margin: 38px 0px;

          span {
            margin-right: 5px;
          }

          p {
            margin: 0px;
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 676px) {
  .pagemain {
    padding: 10px;

    .main-table {
      .fixed_headers {
        min-width: 1024px;
      }
    }
  }
}

.select-box {
  position: relative;

  select {
    width: 100%;
  }

  span {
    background: url(../../../assets/images/expand_more.svg);
    position: absolute;
    top: 33px;
    right: 8px;
    content: "";
    width: 30px;
    height: 30px;
    z-index: 0;
    background-size: contain;
    border: none;
  }
}

::ng-deep .mat-paginator-container {
  padding: 0 !important;
  display: flex !important;
  justify-content: space-between !important;

  .mat-icon-button {
    background: $paginationBtnBg !important;
    border-radius: 5px !important;
    border: 1px solid $paginationBtnBorder !important;
    margin: 0 5px !important;
    cursor: pointer;
    color: $paginationBtnText !important;

    &:hover {
      border: 1px solid $PaginationBtnHover !important;
      color: $PaginationBtnHover !important;
    }
  }

  .mat-paginator-page-size-label {
    color: $paginationText !important;
    font-size: 14px !important;
  }

  .mat-paginator-range-label {
    color: $Pink;
    width: 140px;
    font-size: 14px !important;
  }
}
.formwrapper > div {
  margin: 0 0;
}
.formwrapper > div .select-box span {
  background: url(../../../assets/images/expand_more.svg);
  position: absolute;
  top: 33px;
  right: 8px;
  content: "";
  width: 30px;
  height: 30px;
  z-index: 0;
  background-size: contain;
  border: none;
}
