.calender-box {
  padding: 0 10px;

  .calender-year-wrap {
    position: relative;
  }

  .calender-year {
    padding: 20px 0;
    color: #000;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
    letter-spacing: -0.72px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .caleddar-month {
    color: #344054;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 4px;
  }

  // antd calendar样式修改
  .ant-picker-panel {
    border-top: none;
  }

  .pisell-lowcode-picker-cell {
    padding: 0;
    border-top: none;
  }

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

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

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

  .caleddar-date-cell {
    .cell-size ();
    position: relative;
    border-radius: 50%;

    &.select {
      background-color: #fedf89;
      padding: 4px;
    }

    &.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;

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

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

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

// 布局
.month-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;

  .month-item-box {
    display: flex;
    // &.month-item-1 {
    //     justify-content: center;
    // }

    // &.month-item-2 {
    //     justify-content: center;
    // }

    // &.month-item-3 {
    //     &:nth-child(1n) {
    //         justify-content: flex-start;
    //     }

    //     &:nth-child(2n) {
    //         justify-content: center;
    //     }

    //     &:nth-child(3n) {
    //         justify-content: flex-end;
    //     }
    // }

    // &.month-item-4 {
    //     &:nth-child(1n) {
    //         justify-content: flex-start;
    //     }

    //     &:nth-child(2n) {
    //         justify-content: center;
    //     }

    //     &:nth-child(3n) {
    //         justify-content: center;
    //     }

    //     &:nth-child(4n) {
    //         justify-content: flex-end;
    //     }
    // }
  }

  .month-item {
    width: 280px;
    margin: 10px;
  }
}

.pisell-lowcode-picker-cell-disabled {
  &::before {
    display: none;
  }
}
