@import "../../../utils/theme/colorVariable.scss";
.profile-body {
  display: flex;
  background-color: #fff;

  .show-menu {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 111;
    display: none;

    span {
      cursor: pointer;
      color: #766eaa;
    }
  }

  .profile-menu {
    width: 250px;
    background: $White;
    border-right: 1px solid $Black;
    height: calc(102vh - 95px);
    overflow: auto;
    position: fixed;
    scrollbar-width: thin;
    // scrollbar-color: #645c95db #00041a;

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

    &::-webkit-scrollbar-track {
      background: #00041a;
      -webkit-border-radius: 0;
      border-radius: 0;
    }

    &::-webkit-scrollbar-thumb {
      -webkit-border-radius: 0;
      border-radius: 0;
      background-color: #645c95db;
    }

    .user-dp {
      text-align: center;
      padding: 10px;

      img {
        display: block;
      }

      .editprofile {
        width: 30px;
        text-align: center;
        height: 30px;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #000000;
        cursor: pointer;
        margin-left: auto;
        transition: all 0.3s;

        &:hover {
          border-color: $Pink;

          svg {
            fill: $Pink !important;
          }
        }

        svg {
          width: 16px;
          transition: all 0.3s;
          padding-top: 0px;
        }
      }

      .avtar {
        width: 130px;
        margin: 20px auto;
      }

      span {
        font-size: 20px;
        letter-spacing: 0.5px;
        font-weight: 500;
        display: block;
        margin: 20px 0;
        color: $Black;
        font-family: "mulish";
      }
    }

    .menu-link {
      border-top: 1px solid $Black;
      border-bottom: 1px solid $Black;

      .links {
        display: flex;
        align-items: center;
        padding-left: 25px;
        position: relative;
        cursor: pointer;
        border-bottom: 1px solid $Black;
        // border-top: 1px solid #1e2352;

        &:last-child {
          border: none;
        }

        svg {
          width: 20px;
          padding-right: 15px;
        }

        p {
          display: flex;
          padding: 15px 0;
          font-size: 15px;
          letter-spacing: 1px;
          color: $Black;
          margin: 0 !important;
        }

        a {
          display: flex;
          padding: 15px 0;
          font-size: 15px;
          letter-spacing: 0.5px;
          color: $Black;
          font-family: "mulish";
        }

        &:hover {
          a {
            color: $Pink;
          }
          .mysvg {
            fill: $Pink !important;
          }
          svg {
            path {
              stroke: $Pink;
            }
          }

          &::after {
            width: 3px;
            position: absolute;
            top: 0;
            left: 0px;
            bottom: 0;
            content: "";
            border-left: 4px solid $Pink;
            border-radius: 0px 50px 50px 0px;
          }
        }
      }

      .active {
        a {
          color: $Pink;
        }
        .mysvg {
          fill: $Pink !important;
        }
        svg {
          path {
            stroke: $Pink;
          }
        }

        &::after {
          width: 3px;
          position: absolute;
          top: 0;
          left: 0px;
          bottom: 0;
          content: "";
          border-left: 4px solid $Pink;
          border-radius: 0px 50px 50px 0px;
        }
      }
    }

    .menu-footer {
      padding: 3em 0 5em;
      h6 {
        display: block;
        margin: 14px 12px;
        text-align: center;
        font-size: 15px;
        color: $Pink;
      }

      .countdown-time {
        display: flex;
        align-items: center;
        background: linear-gradient(0deg, #E91E63 0%, #f8768f  100%);
        padding: 8px;
        border-radius: 5px;
        justify-content: center;
        width: 61%;
        margin: auto;

        img {
          width: 16px;
          margin-right: 15px;
        }

        span {
          letter-spacing: 1px;
          color: #fff;
        }
      }
    }
  }

  .menu-body {
    width: calc(100% - 250px);
    margin-left: auto;

    .Profile-Setting {
      height: auto;
      overflow: auto;
      padding: 30px;
      position: relative;
      box-sizing: border-box;
      scrollbar-width: thin;
      // scrollbar-color: #645c95db #00041a;

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

      .main-title {
        color: $Black;
        font-size: 21px;
        letter-spacing: 0.5px;
        display: inline;
        margin-bottom: 30px;
        font-family: "mulish-light" !important;
        font-weight: 600;
        margin-bottom: 20px;
        display: block;
      }

      .form-div {
        display: flex;
        margin-bottom: 30px;
        flex-wrap: wrap;
        border-bottom: 1px solid $Black;
        padding-bottom: 40px;

        .inputs {
          width: 40%;

          label {
            display: block;
            color: $Black;
            letter-spacing: 0.5px;
            margin: 6px 0;
            font-weight: 600;
            font-family: "mulish";
          }

          .name-input {
            position: relative;

            input {
              // background: #0b0f30;
              border: 1px solid $Black;
              border-radius: 5px;
              padding: 15px 35px 15px 10px;
              color: $Black;
              width: calc(100% - 25px);
              box-sizing: border-box;
              font-size: 14px;
              letter-spacing: 0.5px;
              font-family: "mulish";

              &::placeholder {
                color: $Black;
              }

              &:focus {
                border-color: $Pink;
                // background: #292359;
              }
            }

            input[type="date"] {
              &::-webkit-calendar-picker-indicator {
                background: transparent;
                bottom: 0;
                color: transparent;
                cursor: pointer;
                height: auto;
                left: 0;
                position: absolute;
                right: 0;
                top: 0;
                width: auto;
              }
            }

            img {
              position: absolute;
              width: 20px;
              right: 35px;
              top: 14px;
            }

            svg {
              position: absolute;
              width: 20px;
              height: 20px;
              right: 35px;
              top: 14px;
            }
          }

          .error {
            display: block;
            font-size: 13px;
            color: #ed844f;
            padding: 10px 0;
          }

          .success {
            color: #968bdb;
            display: block;
            font-size: 13px;
            padding: 10px 0;
          }
        }

        .user-names {
          width: 80%;
          display: flex;

          .inputs {
            width: 100%;

            &:first-child {
              margin-bottom: 30px;
            }
          }
        }
      }
    }
  }
}

.profile-footer {
  position: fixed;
  bottom: 0;
  width: calc(100% - 337px);
  background: $White;
  right: 0;
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid $Black;
  box-sizing: border-box;
  z-index: 9;

  button {
    margin-left: 10px;
    color: $White;
    background: $Pink;
    border: 1px solid $Pink;
    padding: 10px 30px;
    border-radius: 0px;
    cursor: pointer;

    &:disabled {
      opacity: 0.7;
      cursor: not-allowed;
    }

    &:last-child {
      color: #fff;
      border-color: transparent;
      background: $Pink;
    }

    &:hover {
      opacity: 0.7;
    }
  }
}

@media only screen and (max-width: 992px) {
  .calendar-image {
    .calendar-icon {
      right: 10px !important;
    }
  }
  .profile-body {
    .menu-body {
      width: calc(100% - 250px);
      .Profile-Setting {
        .form-div {
          margin-bottom: 30px;
          padding-bottom: 20px;
          .inputs {
            width: 100% !important;
            margin-bottom: 20px;

            .name-input {
              input {
                width: 100%;
              }
              img {
                right: 10px;
              }
              svg {
                right: 10px;
              }
            }
          }
        }
      }
    }
    .last-input-con {
      width: 100% !important;
    }
    .date-input {
      ::ng-deep .mat-form-field {
        width: 100% !important;
      }
    }
    .profile-menu {
      width: 250px;

      .menu-link {
        .links {
          padding-left: 10px;

          a {
            font-size: 12px;
            font-weight: 600;
            font-family: "mulish-light" !important;
          }

          svg {
            width: 18px;
            padding-left: 8px;
          }
        }
      }

      .menu-footer {
        .countdown-time {
          width: 70%;
        }
      }
    }
  }

  .thankyou-notice {
    max-width: 100%;
  }
  .user-names {
    width: 100% !important;
    flex-direction: column;
  }
}
.student-prfile-sm {
  display: none;
}
@media only screen and (max-width: 480px) {
  .profile-body {
    .show-menu {
      display: none;
    }
    .menu-body {
      width: 100%;
      .Profile-Setting {
        .form-div {
          .inputs {
            .name-input {
              img {
                right: 10px;
              }
              input {
                background: #0b0f30;
                border: 1px solid #4e4c7e;
                border-radius: 8px;
                padding: 15px 35px 15px 10px;
                width: 100%;
              }
            }
          }
        }
      }
    }
  }
  .name-input {
    svg {
      right: 10px !important;
    }
  }
  .profile-footer {
    width: 100%;
  }
}
.qrcodeas {
  img {
    border-radius: 10px !important;
    width: 150px !important;
  }
}
// darked calendar start
::ng-deep .mat-datepicker-content .mat-calendar {
  padding-bottom: 8px !important;
  // box-shadow: 0px 10px 41px -14px #411f63;
}

::ng-deep .mat-datepicker-content {
  background: #fff !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: #635d9b !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 !important;
}

::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: 5px !important;
  right: 3px !important;
}
::ng-deep .date-input .mat-form-field {
  width: calc(100% - 25px) !important;
}
::ng-deep .date-input .mat-form-field-appearance-fill .mat-form-field-flex {
  color: $Black;
}
::ng-deep.mat-form-field-appearance-fill .mat-form-field-underline::before {
  display: none !important;
}
::ng-deep .mat-form-field-infix:hover {
  // border-radius: 10px;
  // border: 1px solid #592f96;
  // background: #292359;
  // padding: 15px 10px;
  // margin: -1px -1px -1px -1px !important;
}
::ng-deep .date-input .mat-form-field-appearance-fill .mat-form-field-flex {
  padding: 0;
  color: $Black;
  background: $White;
  border: 1px solid $Black;
  border-radius: 5px;
}
.timezone-icon {
  position: absolute;
  top: 40px;
  z-index: 8;
  right: 8px;
  color: #595690;
}
@media only screen and (max-width: 768px) {
  .student-prfile-sm {
    display: block !important;
    text-align: left;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 700;
    color: #8c81ce;
  }
  ::ng-deep .cdk-overlay-pane {
    margin-bottom: 10px;
  }
  .last-input-con {
    margin-bottom: 50px;
    width: 100% !important;
  }
  .editprofile {
    position: relative;
    top: 45px;
    right: -60px;
    display: inline-block !important;
  }
  .profile-body {
    flex-direction: column;
    .menu-body {
      background: #0a0e2d;
      z-index: 1;
      position: relative;
      top: 0px;
      width: 100% !important;
      bottom: 0;
      .Profile-Setting {
        padding: 30px 15px;
        .main-title {
          display: none;
        }
        .form-div {
          margin-bottom: 0px;
          border: none;
          padding-bottom: 5px;
          .inputs {
            .name-input {
              svg {
                position: absolute;
                width: 20px;
                height: 20px;
                right: 15px;
                top: 14px;
              }
              img {
                right: 10px;
              }
            }
          }
        }
        .form-div:last-child {
          padding-bottom: 30px;
        }
      }
    }
    .profile-menu {
      width: 100% !important;
      height: auto !important;
      position: relative !important;
      .menu-footer {
        position: absolute;
        top: 35px;
        right: 0;
        width: 50%;
        margin: 0;
        padding: 0 !important;
        h6 {
          text-align: right;
          font-size: 13px;
        }
        .countdown-time {
          width: 155px;
          position: absolute;
          right: 10px;
          top: -30px;
          span {
            letter-spacing: 0.5px;
            font-size: 15px;
            color: #ffffff;
          }
        }
      }
      .menu-link {
        display: flex;
        justify-content: space-between;
        overflow-x: scroll;
        padding: 0px 5px;
        border-top: none !important;
        &::-webkit-scrollbar {
          height: 0px;
          width: 0px;
        }
        .links {
          border: none;
          display: block;
          text-align: center;
          svg {
            height: 18px;
          }
          a {
            text-align: center;
            padding: 5px 0 !important;
          }
          &::after {
            border-left: none !important;
          }
        }
        .active::after {
          width: 100% !important;
          top: 37px !important;
          left: 0px !important;
          border-bottom: 2px solid $Pink;
          border-radius: 0 !important;
          border-left: none !important;
        }
      }
    }
  }
  .profile-footer {
    width: 100%;
  }
  .date-input {
    ::ng-deep .mat-form-field {
      width: 100% !important;
    }
    ::ng-deep .mat-form-field-infix:focus {
      border-radius: 10px;
      border: 1px solid #592f96;
      background: #292359;
      padding: 15px 10px;
      margin: -1px -1px -1px -1px !important;
    }
  }
  ::ng-deep .mat-icon-button:hover {
    background: #292359;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .profile-body {
    .menu-body {
      .Profile-Setting {
        .form-div {
          .user-names {
            width: 100%;
          }
          .inputs {
            width: 50%;
          }
        }
      }
    }
  }
  .last-input-con {
    margin-bottom: 50px;
    width: 46.2% !important;
    position: relative;
  }
}
.last-input-con {
  margin-bottom: 50px;
  width: calc(40% - 25px);
  position: relative;
}
.time-zone-lable {
  display: block;
  color: $Black;
  letter-spacing: 0.5px;
  margin: 6px 0;
  font-weight: 600;
}
::ng-deep .scrollable-content {
  color: $Black;
}
::ng-deep .ng-select .ng-select-container .ng-value-container .ng-input > input {
  box-sizing: content-box;
  background: $White;
  box-shadow: none;
  cursor: default;
  width: 100%;
  border-radius: 5px;
  padding: 15px 35px 15px 15px;
  background-color: $White;
  color: $Black;
  border: 1px solid $Black;
  font-size: 14px;
}
::ng-deep .ng-select {
  color: $Black;
  background-color: $White;
  padding: 10px 15px !important;
  box-sizing: border-box;
  border: 1px solid $Black;
  border-radius: 5px;
}
::ng-deep .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
  padding: 10px 10px;
  border-bottom: 1px solid $Black;
}
::ng-deep .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {
  padding: 0px 10px;
}
::ng-deep .ng-select .ng-select-container .ng-value-container .ng-input > input {
  box-sizing: content-box;
  background: none transparent;
  border: 0;
  box-shadow: none;
  outline: none;
  cursor: default;
  width: 100%;
  border-radius: 0;
}
::ng-deep .ng-dropdown-panel {
  border: 1px solid $Black;
  background-color: $White;
  padding: 10px 0 8px 0px;
  position: absolute;
  left: 0;
  top: 45px;
  border-radius: 10px;
}
::ng-deep .ng-select,
.ng-select div,
.ng-select input,
.ng-select span {
  padding-bottom: 5px;
}

::ng-deep .ng-select .ng-has-value .ng-placeholder {
  display: none;
}
// darked calendar end
::ng-deep button.mat-focus-indicator.mat-icon-button.mat-button-base {
  z-index: 9;
}
.calendar-image {
  position: relative;
  .calendar-icon {
    width: 19px;
    position: absolute;
    top: 13px;
    right: 35px;
    z-index: 0;
  }
}
::ng-deep span.mat-button-wrapper:first-child {
  svg {
    display: none !important;
  }
}
::ng-deep .mat-form-field-flex {
  max-width: 100% !important;
}
