.schedule-calendar-wrap {
  display: flex;
  padding: 10px 26px 26px;
  flex-direction: column;
  align-items: flex-start;

  .ant-picker-panel {
    border-top: none;
  }

  .pisell-lowcode-picker-cell {
    padding: 0;
    border-top: none;
    color: var(--Gray-900, #101828);
  }

  .cell-size {
    width: 40px;
    height: 40px;
    padding: 4px;
  }

  .date-cell {
    .cell-size ();
    text-align: center;
    line-height: 50px;
  }

  .pisell-lowcode-picker-content th {
    .date-cell();
  }

  .pisell-lowcode-picker-content thead th {
    .date-cell();
    padding: 0 !important;
    line-height: 40px !important;
  }

  .month-item-box {
    width: 100%;

    .pisell-lowcode-picker-body {
      padding: 0;
    }

    .pisell-lowcode-picker-calendar {
      user-select: none;
    }

    // .pisell-lowcode-picker-calendar .pisell-lowcode-picker-cell {
    //   // margin-top: 16px;
    //   margin-top: 0;
    //   padding: 0;
    // }

    // .pisell-lowcode-picker-content th {
    //   width: 40px;
    //   height: 40px;
    // }

    .pisell-lowcode-picker-panel {
      border: none;
    }

    .calendar-month {
      display: flex;
      justify-content: space-between;
      align-items: center;
      align-self: stretch;
      margin-bottom: 10px;
      user-select: none; // 防止文本被选中
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;

      .calendar-month-icon {
        font-size: 20px;
        display: flex;
        padding: 8px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        user-select: none;
        &:active {
          cursor: pointer !important;
        }
      }

      .calendar-month-title {
        color: var(--Gray-700, #344054);
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        flex: 1;
      }
    }

    .caleddar-date-cell {
      .cell-size ();
      position: relative;
      border-radius: 50%;
      // margin: 16px auto 0;
      margin-top: 0;

      &.select {
        background-color: #fedf89;
        padding: 4px;
        // width: 48px;
        // height: 48px;
      }

      &.excluded {
        &::after {
          content: '';
          position: absolute;
          top: 0%;
          left: 0%;
          width: 100%;
          height: 100%;
          background: linear-gradient(
            -45deg,
            #ffffff 25%,
            transparent 25%,
            transparent 50%,
            #ffffff 50%,
            #ffffff 75%,
            transparent 75%,
            transparent
          );
          background-size: 10px 10px;
        }
      }

      .caleddar-date {
        color: #101828;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;

        &.has-status {
          color: #ffffff;
        }

        &.disabled-date {
          color: #7d89b0;
        }
      }
    }

    .ant-picker-cell {
      padding: 0;
      .cell-size ();
    }

    .pisell-lowcode-picker-cell-disabled {
      &::before {
        display: none;
      }
      color: #98a2b3 !important;
      padding-top: 0 !important;
      margin-top: 0;
      width: 40px;
      height: 40px;
    }
  }

  .category-list {
    width: 100%;
    height: 100%;
    padding: 0;

    .category-item {
      .category-title {
        font-style: normal;
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
        color: #1b1b1b;
        display: flex;
        align-items: center;
        margin-top: 24px;

        .category-icon {
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 8px;
          span {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--Primary-600, #7f56d9);
          }
        }
      }

      .time {
        margin-top: 16px;
        display: flex;
        padding: 14px 16px;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
        border-radius: 8px;
        border: 1px solid var(--Gray-true-100, #f5f5f5);
        background: var(--Base-White, #fff);
        color: var(--Gray-true-900, #141414);
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
      }
    }
  }

  .pisell-lowcode-picker-cell {
    height: 48px !important;
  }
}
