@import "../../../utils/theme/colorVariable.scss";
.search-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;

  input {
    background: $searchBg;
    border: 1px solid $searchBorder;
    padding: 10px 40px 10px 20px;
    // border-radius: 30px;
    margin-right: 20px;
    color: $searchText !important;

    &::placeholder {
      color: $searchText ;
      // opacity: 0.4;
    }

    &:-ms-input-placeholder {
      color: $searchText;
    }

    &::-ms-input-placeholder {
      color: $searchText;
    }
  }

  button {
    // background: linear-gradient(
    //   47deg,
    //   rgba(238, 76, 126, 1) 0%,
    //   rgba(238, 130, 80, 1) 100%
    // );
    // border: none;
    // padding: 13px 20px;
    // border-radius: 30px;
    // color: #fff;
    // letter-spacing: 0.5px;
    // cursor: pointer;
    // min-width: 125px;
    margin: 5px;
    // &:hover {
    //   opacity: 0.9;
    // }
  }

  .bulk-upload {
    background: linear-gradient(
      47deg,
      rgba(238, 76, 126, 1) 0%,
      rgba(238, 130, 80, 1) 100%
    );
    border: none;
    padding: 11px 20px;
    border-radius: 30px;
    color: #fff;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: auto;
    margin-left: 5px;

    &:hover {
      opacity: 0.9;
    }

    label {
      cursor: pointer;
      padding: 10px 0;
    }
  }
}
::ng-deep ngx-dropzone-label {
  display: flex;
  align-items: center;
  img {
    margin: 10px;
    width: 40px;
    opacity: 0.7;
  }
}

.mat-button.mat-primary {
  background-color: #DF166A !important;
  color: #fff;
  margin-left: 15px;
}

.inputsearch {
  min-width: 200px;
}

mat-icon {
  cursor: pointer;
}

mat-checkbox {
  &:disabled {
    cursor: not-allowed !important;
  }
}

.check-app {
  label {
    margin: 0;
  }
}

.hr {
  border-top: solid 1px #242958;
  margin: 15px 0px;
}

.students-list {
  .enroll-student-edit {
    display: block;
    overflow: auto;
  }
  table {
    overflow: auto;
    border-spacing: 0 10px;
  }
  .exp-date {
    color: #8e88c6;
  }

  .radio {
    display: flex;
    flex-wrap: wrap;

    .radio-course {
      margin: 10px;
      min-width: 180px;
      cursor: pointer;

      label {
        color: $PopupLabel;
        margin-left: 10px;
      }
    }

    .no-course {
      padding: 7px 0px 7px 10px;
      color: $Black;
      display: flex;
      background: $White;
      border: 1px solid #000000;
      border-radius: 5px;
      width: 100%;
      margin: 10px 0px;

      span {
        margin-right: 5px;
      }

      p {
        margin: 0px;
      }
    }
  }

  .no-data {
    text-align: center;
    color: $White;
  }

  .title {
    margin-left: 7px;
    color: $PopupLabel;
    font-weight: 600;
  }

  tr.mat-header-row {
    background: #000000;
    height: 45px;
    border: 1px solid #000000;
  }

  .mat-table tbody {
    background: #21275f87;
  }

  tr td.mat-cell {
    background: #1a1f47;
    color: #7e7ab3;
    font-size: 15px;
    font-weight: 400;
    border-top: 1px solid #303563;
    border-bottom: 1px solid #303563;
  }

  tr td.mat-cell:first-child {
    padding-left: 13px !important;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left: 1px solid #303563;
  }

  tr td.mat-cell:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-right: 1px solid #303563;  
  }

  .mat-paginator {
    background: none;
  }
}

.student-checkbox {
  div {
    margin: 0;
  }

  .container {
    margin: 0 0 20px 0;
  }
}

.date-input {
  .mat-form-field-appearance-fill .mat-form-field-underline::before {
    display: none !important;
  }
}

.cutome-modal {
  .cutome-modal-content {
    .modal-body {
      .avatar {
        text-align: center;

        img {
          width: 100px;
          height: 100px;
          border-radius: 50%;
        }
      }

      .email-name {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .name {
          width: 49%;
        }
      }

      .titles {
        display: flex;

        span {
          width: 15%;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }

        p {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          width: 85%;
        }
      }
      .format {
        margin-top: 10px;
        .bbulkuploadname {
          display: flex;
          align-items: center;
          color: $Black;
          justify-content: flex-start;
          span {
            color: $Black;
            padding-right: 10px;
          }
          mat-icon {
            margin-left: 3px;
            padding-left: 3px;
          }
          .progress-bar {
            background: linear-gradient(270deg, #e9629a, #e9629a);
            mix-blend-mode: normal;
            opacity: 0.9;
            border-radius: 5px;
            height: 9px;
            display: -ms-flexbox;
            display: flex;
            overflow: hidden;
            width: 155px;
            .progress-correct {
              position: relative;
              width: 30%;
              z-index: 1;
              &::before {
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                right: 0;
                content: "";
                background: linear-gradient(270deg, #f34990, #DF166A);
                border-radius: 16px;
              }
            }
          }
        }
        .format-contant {
          background: #fafafa;
          padding: 10px;
          color: $Black;
          font-weight: 600;
          border-radius: 5px;
          span {
            color: #DF166A;
          }
        }
        .bbulkupload {
          display: flex;
          align-items: center;
          color: $Black;
          justify-content: space-between;
          span {
            color: $Black;
          }
          select {
            top: 0 !important;
            border: 1px solid $Black;
            // border-left: 3px solid #968bdb;
            background: $White;
            // border: 1px solid #595690;
            border-radius: 4px;
            padding: 10px;
            width: 49% !important;
            color: $Black !important;
            width: calc(100% - 20px);
            appearance: none;
          }
          mat-icon {
            margin-left: 3px;
          }
        }
        span {
          color: $Black;
        }
        a {
          display: flex;
          align-items: center;
          color: $Pink;
          cursor: pointer;
          width: 25px;
        }
      }
      .formwrapper{
        .flx-cls{
          display: flex;
          color: #7e7ab3;
          justify-content: space-between;
          border-bottom: solid 1px #7e7ab387;
          margin-bottom: 10px;
        }
      }
    }
  }
}

.cutome-modal-date {
  .cutome-modal-content {
    .modal-body {
      .avatar {
        text-align: center;

        img {
          width: 100px;
          height: 100px;
          border-radius: 50%;
        }
      }

      .email-name {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .name {
          width: 49%;
        }
      }

      .titles {
        display: flex;

        span {
          width: 15%;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }

        p {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          width: 85%;
        }
      }
    }
  }
}

tr.mat-header-row {
  height: 50px;
  background: $matHeaderBg;
  // border: 1px solid #2d2b7d;

  th {
    color: $matHeaderText;
    font-size: 14px;
    border: none;

    &:first-child {
      text-align: left;
      // border-top-left-radius: 10px;
      // border-bottom-left-radius: 10px;
      padding-left: 15px !important;
    }

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

tr {
  transition: all 0.3s;

  &:hover td.mat-cell {
    // border-color: #DF166A;
    // border-left-color: #DF166A !important;
    // border-right-color: #DF166A !important;
  }

  td.mat-cell {
    background: $tdBg;
    color: $tdText;
    font-size: 14px;
    font-weight: 400;
    // border-top: 1px solid #2d2b7d;
    // border-bottom: 1px solid #2d2b7d;

    &:first-child {
      text-align: left;
      // border-top-left-radius: 5px;
      // border-bottom-left-radius: 5px;
      // border-left: 1px solid #2d2b7d;
    }

    &:last-child {
      // border-top-right-radius: 5px;
      // border-bottom-right-radius: 5px;
      // border-right: 1px solid #2d2b7d;
      text-align: left;
      .actionInnerDiv {
        display: flex;
        align-items: center;
        mat-icon{
          color: #000000;
          font-size: 22px !important;
        }
        .disabled-cls{
          cursor: not-allowed;
          color: #63636485;
        }
      }
      span {
        cursor: pointer;
      }
    }
  }
}
::ng-deep .mat-row:hover {
  .mat-cell .success,
  .mat-cell .user-already-exits,
  .mat-cell .failed {
    background: #cd72ff21;
    border-radius: 5px;
  }
}
::ng-deep .mat-cell {
  .failed {
    color: #e66d59 !important;
    font-weight: 600;
    &::before {
      content: url(../../../assets/images/wrong.png);
      position: relative;
      top: 2px;
      padding-right: 5px;
    }
  }
  .user-already-exits {
    color: #e66d59 !important;
    font-weight: 600;
    &::before {
      // content: url(../../../assets/images/check.png);
      content: url(../../../assets/images/wrong.png);
      position: relative;
      top: 1px;
      padding-right: 5px;
    }
  }
  .success {
    color: #c359ff !important;
    font-weight: 600;
    &::before {
      content: url(../../../assets/images/check-round.png);
      position: relative;
      top: 2px;
      padding-right: 5px;
    }
  }
}
.t-center {
  text-align: center;
}

::ng-deep.mat-form-field-appearance-fill .mat-form-field-underline::before {
  display: none !important;
}

.formwrapper {
  .start_date {
    resize: none;
    height: 14px;
  }
  .w-100 {
    width: 100%;
  }
  .container {
    display: inline-block;
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: $Black;
    font-weight: 400;
  }

  /* 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: 16px;
    width: 16px;
    border: 1px solid #595690;
    border-radius: 4px;
  }

  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
    background-color: transparent;
  }

  /* When the checkbox is checked, add a blue background */
  .container input:checked ~ .checkmark {
    background: linear-gradient(90deg, #DF166A 0%, #DF166A 100%);
    border-color: #0000;
  }

  /* 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: 1px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
}

@media only screen and (max-width: 767px) {
  .cutome-modal {
    .cutome-modal-content {
      .modal-body {
        .email-name {
          display: flex;
          flex-wrap: wrap;

          .name {
            width: 100%;
          }
        }
      }
    }
  }
}

::ng-deep .mat-datepicker-content .mat-calendar {
  padding-bottom: 8px !important;
  // box-shadow: 0px 10px 41px -14px #411f63;
}

::ng-deep .mat-datepicker-content {
  // background: #121639 !important;
  border: 2px solid $datepickerBorder !important;
  color: $datepickerText !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

::ng-deep .mat-calendar-body-selected {
  background-color: $datepickerSelect;
  color: white !important;
}

::ng-deep .mat-calendar-body-cell {
  border: 1px solid #1c2041;
}

::ng-deep .mat-calendar-table-header th {
  padding: 8px 0 8px 0 !important;
  color: #837bc4 !important;
  font-size: 15px !important;
}

::ng-deep .mat-calendar-table-header-divider::after {
  background: $datepickerHeaderBg!important;
}

::ng-deep .mat-calendar-body-today.mat-calendar-body-selected {
  box-shadow: none !important;
  background-color: #f558b5;
  color: white !important;
}

::ng-deep .mat-calendar-body-today:not(.mat-calendar-body-selected) {
  border: solid 1px #f558b5;
}

::ng-deep .mat-calendar-body-label {
  color: #837bc4;
}

::ng-deep .mat-calendar-previous-button::after {
  color: $datepickerHeaderText !important;
}

::ng-deep .mat-calendar-next-button::after {
  color: $datepickerHeaderText !important;
}

::ng-deep .mat-calendar-arrow {
  border-top-color: $datepickerHeaderText !important;
}

::ng-deep .mat-calendar-header {
  color: $datepickerHeaderText !important;
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
  background-color: $datepickerHeaderBg;
}

::ng-deep .mat-calendar-body-cell-content {
  color: #837bc4;
}

::ng-deep .mat-calendar-controls {
  display: flex;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 0 5px 0;
}

::ng-deep .mat-calendar-spacer {
  flex: 0 !important;
}

::ng-deep .date-input .mat-form-field-suffix {
  top: 15px !important;
}
.cutome-modal {
  .cutome-modal-content {
    width: 75%;
  }
}

.students-list {
  tr {
    td.mat-cell {
      text-align: left;
    }
  }
}

.mat-checkbox {
  .tr td.mat-cell {
    .mat-checkbox-frame {
      border-radius: 25px;
    }
  }
}

.students-list {
  .flashpan a {
    border-radius: 25px;
    width: 17px;
    height: 17px;
    background-color: #2a2a5c;
  }
}

.students-list {
  .flashpan {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

.students-list {
  .flashpan {
    .flashcard {
      &.f-active {
        background-color: #ab30ff;
        width: 19px;
        height: 19px;
        position: relative;
        border-radius: 25px;
      }
    }
  }
}

.flashpan {
  .flashcard {
    &.f-active:before {
      position: absolute;
      content: "";
      width: 19px;
      height: 19px;
      top: 0px;
      left: 0px;
      border-radius: 100%;
      transition: all 0.2s ease;
      font-family: Material Icons;
      color: #fff;
      font-size: 12px;
      background: url(../../../assets/images/check-round.png) no-repeat;
      background-size: cover;
    }
  }
}

.students-list {
  .s-examdate {
    background-color: #51354c;
    color: #f7785d;
    text-align: center;
    border-radius: 4px;
  }
}

.edit_actions {
  background-color: #2a2a5c;
  border-radius: 50%;
  position: relative;
}

.edit_actions:hover {
  .edit_popup {
    display: block;
    background-color: none;
    &:hover {
      // box-shadow: 0px 0px 22px -5px #9645c4;
    }
  }
}

.edit_actions:hover {
  .edit_popup {
    display: block;
    background-color: #fff;
    position: absolute;
    top: 20px;
    left: -75px;
    z-index: 1;
    border-radius: 5px;
  }
}

.edit_popup {
  display: none;
  border: 1px solid #000000;
  border-radius: 8px;
}

.edit_action {
  .edit_popup:hover {
    background: #eee;
    display: block;
  }
}

.edit_popup {
  a {
    display: flex;
    align-items: center;
    font-size: 15px;
    padding: 10px 20px 10px 15px;
  }
}

.edit_popup {
  a:hover {
    background-color: #989898;
  }
}

.edit_popup {
  a {
    .popup-icon {
      padding-right: 5px;
    }
  }
}

.edit_popup:hover {
  border-color: #DF166A;
  // box-shadow: 0px 0px 15px -3px #9645c4;
  transition: all 0.3s;
  span {
    &:first-child {
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
    }
    &:last-child {
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
    }
  }
}

/*.cutome-modal {
    .cutome-modal-conten {
        &.std_dat_model {
            width: 60%;
        }
    }
}
.std_dat_model {
    .ng-select-container {
        input {
            font-size: 15px;
            color: #9b94d5;
        }
    }
}*/

.public_icon {
  position: relative;
  width: 100%;
  display: block;
}

.maticon_public {
  color: #DF166A;
  position: absolute;
  top: -29px;
  right: -10px;
  font-size: 19px;
}

::ng-deep .ng-arrow-wrapper {
  display: none;
}

.input-fill {
  &.firstname {
    input {
      font-size: 15px;
    }
    .change-user {
      position: absolute;
      right: 23px;
      top: 1px;
      font-size: 14px;
      color: #d7779b;
      cursor: pointer;
    }
  }
}

.select-box {
  &.firstname {
    select {
      font-size: 15px;
    }
  }
}

::ng-deep .ng-input {
  font-size: 15px;
  color: #9b94d5;
}

.std_enroll {
  font-size: 17px;
}
::ng-deep tr.mat-header-row th {
  &:first-child {
    min-width: 42px;
  }
  &:nth-child(2) {
    min-width: 120px;
  }
  &:nth-child(3) {
    min-width: 130px;
  }
  &:nth-child(4) {
    min-width: 160px;
  }
  &:nth-child(5) {
    min-width: 130px;
  }
  &:nth-child(6) {
    min-width: 120px;
  }
  &:nth-child(7) {
    min-width: 120px;
  }
  &:last-child {
    min-width: 100px;
  }
}
::ng-deep tr td.mat-cell {
  &:first-child {
    min-width: 42px;
  }
  &:nth-child(2) {
    min-width: 120px;
  }
  &:nth-child(3) {
    min-width: 130px;
  }
  &:nth-child(4) {
    min-width: 160px;
  }
  &:nth-child(5) {
    min-width: 130px;
  }
  &:nth-child(6) {
    min-width: 120px;
  }
  &:nth-child(7) {
    min-width: 120px;
  }
  &:last-child {
    min-width: 90px;
  }
}
::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;
  }
}
.client-wrapper > div {
  width: 23%;
  margin-right: 15px;
}
.client-wrapper {
  justify-content: flex-start;
}
.action-iconall {
  display: flex;
  align-items: center;
}
