@import "../../../utils/theme/colorVariable.scss";
.pagesection,
.page-footer {
  width: 100%;
}

.search-wrap button {
  min-width: 128px;
}

.cutome-modal {
  .cutome-modal-content {
    .modal-body {
      overflow-x: hidden;

      .example-form {
        .formwrapper {
          .w-100 {
            width: 100%;
            .course-name {
              display: flex;
              flex-wrap: wrap;
              align-items: center;
              justify-content: space-between;

              .course-input {
                width: 49%;

                label {
                  display: block;
                  margin-bottom: 10px;
                  color: #67658d;
                  font-size: 15px;
                }

                input {
                  &::-webkit-input-placeholder {
                    /* Edge */
                    color: #4c5298;
                    font-size: 14px;
                  }

                  &:-ms-input-placeholder {
                    /* Internet Explorer 10-11 */
                    color: #4c5298;
                    font-size: 14px;
                  }

                  &::placeholder {
                    color: #4c5298;
                    font-size: 14px;
                  }
                }

                input,
                select {
                  display: block;
                  width: 90%;
                  border: 1px solid #2f2f5e;
                  border-radius: 8px;
                  background: #090f2b;
                  padding: 10px;
                  color: #8683b2;
                  outline: none;
                  font-size: 17px;
                }

                select {
                  background: #171b41;
                  color: #9793c6;
                  padding: 10px;
                }

                .check-app {
                  label {
                    font-weight: 600;
                    margin: 0;
                    color: #000000;
                    margin-bottom: 15px;
                    &:last-child {
                      margin-bottom: 0px;
                    }
                  }
                }
              }
            }
            .container {
              display: block;
              position: relative;
              padding-left: 24px;
              margin-bottom: 12px;
              cursor: pointer;
              font-size: 22px;
              -webkit-user-select: none;
              -moz-user-select: none;
              -ms-user-select: none;
              user-select: none;
            }

            /* 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 #000000;
              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);
            }
          }

          .d-flex2 {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            width: 100%;

            input {
              padding-right: 50px;
              border-color: #000000;
            }

            span {
              position: absolute;
              display: block;
              right: 10px;
              color: #DF166A;
              line-height: 1;
            }
          }

          .d-flex3 {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            .custom_time {
              display: flex;
              .my_time {
                width: 60px;
                opacity: 0;
              }
              mat-icon {
                color: #DF166A;
                position: absolute;
                right: 5px;
                top: 7px;
              }
            }
            .date-time {
              width: 32%;
              position: relative;
              border: 1px solid $popupBorder;
              border-radius: 4px;
              box-sizing: border-box;

              input {
                border: none;
                width: 100%;
                padding: 10px;
                box-sizing: border-box;
                background: transparent;
                resize: none;
              }

              span {
                position: absolute;
                right: 8px;

                mat-icon {
                  color: #DF166A;
                  font-size: 20px;
                }
              }
            }
          }

          .select-box {
            select {
              width: 100%;
              box-sizing: border-box;
            }

            span {
              right: 15px;
            }
          }
        }
      }

      .every-day {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;

        .repeat-every {
          width: 32%;

          label {
            color: $PopupLabel;
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 0.5px;
            display: block;
            margin-bottom: 10px;
          }

          .repeat-week {
            display: flex;
            align-items: center;
            justify-content: space-between;

            input {
              text-align: center;
            }

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

              option {
                color: #000;
              }
            }
          }
        }

        .repeat-on {
          width: 60%;

          label {
            color: $PopupLabel;
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 0.5px;
            display: block;
            margin-bottom: 10px;
          }

          .all-day {
            display: flex;
            align-items: center;
            justify-content: space-between;

            button {
              border-radius: 5px;
              padding: 9px 15px;
              font-size: 15px;
              outline: none;
              border: 1px solid $popupBorder;
              background: none;
              color: $popupText;
              cursor: pointer;
              width: 45px;
              transition: all 0.3s;

              &:hover {
                // color: #fff;
                // background: linear-gradient(
                //   40deg,
                //   rgba(101, 58, 161, 1) 0%,
                //   rgba(84, 20, 145, 1) 100%
                // );
              }
            }

            .active {
              color: #fff;
              background: $Pink;
            }
          }
        }
      }

      .select-date {
        margin-top: 30px;

        [type="radio"]:checked,
        [type="radio"]:not(:checked) {
          position: absolute;
          left: -9999px;
        }

        [type="radio"]:checked + label,
        [type="radio"]:not(:checked) + label {
          position: relative;
          padding-left: 28px;
          cursor: pointer;
          line-height: 20px;
          display: inline-block;
          color: #DF166A;
          font-size: 15px;
          font-weight: 400;
          letter-spacing: 0.5px;
        }

        [type="radio"]:checked + label:before,
        [type="radio"]:not(:checked) + label:before {
          content: "";
          position: absolute;
          left: 0;
          top: 0;
          width: 15px;
          height: 15px;
          border: 1px solid #DF166A;
          border-radius: 100%;
          background: transparent;
        }

        [type="radio"]:checked + label:after,
        [type="radio"]:not(:checked) + label:after {
          content: "";
          width: 9px;
          height: 9px;
          background: $Pink;
          position: absolute;
          top: 4px;
          left: 4px;
          border-radius: 100%;
          -webkit-transition: all 0.2s ease;
          transition: all 0.2s ease;
        }

        [type="radio"]:not(:checked) + label:after {
          opacity: 0;
          -webkit-transform: scale(0);
          transform: scale(0);
        }

        [type="radio"]:checked + label:after {
          opacity: 1;
          -webkit-transform: scale(1);
          transform: scale(1);
        }

        .select-title {
          color: #000000;
          font-size: 15px;
          font-weight: 400;
          letter-spacing: 0.5px;
          display: block;
          margin-bottom: 10px;
        }

        .naver {
          p {
            margin: 0;
            width: 200px;
          }
        }

        .select-radio {
          display: flex;
          align-items: center;
          min-height: 50px;

          .occurance {
            padding: 10px 20px;
            border-radius: 5px;
            background: #fff;
            color: #000000;
            display: block;
          }

          .select-datetype {
            background: #fff;
            border: 1px solid #000000;
            border-radius: 4px;
            color: #000000;
          }
        }
      }
    }
  }
}

::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: #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;
}

::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;
}

.date-input {
  margin-top: -17px !important;

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

::ng-deep .date-input1 .mat-form-field-suffix {
  top: 4px !important;
}

.date-input1 {

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

// darked calendar end
.icons {
  .btn-start {
    background: linear-gradient(47deg, #ee4c7e 0%, #ee8250 100%);
    border: none;
    padding: 5px 0px;
    border-radius: 30px;
    color: #fff;
    letter-spacing: 0.5px;
    min-width: 60px;
    cursor: pointer;
    font-size: 14px;
  }
}
::ng-deep tr.mat-header-row th {
  &:first-child {
    width: 42px;
  }
  &:nth-child(2) {
    width: 120px;
  }
  &:nth-child(3) {
    width: 130px;
  }
  &:nth-child(4) {
    width: 160px;
  }
  &:last-child {
    width: 50px;
  }
}
::ng-deep tr td.mat-cell {
  &:first-child {
    width: 42px;
  }
  &:nth-child(2) {
    width: 120px;
  }
  &:nth-child(3) {
    width: 130px;
  }
  &:nth-child(4) {
    width: 160px;
  }
  &:last-child {
    width: 50px;
  }
}
::ng-deep
  .mat-calendar-body-disabled
  > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected) {
  // color: rgba(255, 255, 255, 0.5);
}
::ng-deep .mat-input-element:disabled,
.mat-form-field-type-mat-native-select.mat-form-field-disabled
  .mat-form-field-infix::after {
  color: #9891d1;
}
::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;
  }
}
