.schedule-view-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;

  .schedule-list-section {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  &.mobile {
    
  }
  &.showFold {
    .calendar-comp-wrap {
      &.pullHeight {
        height: 340px;
        &.weekView {
          height: 100px;
        }
      }
    }
  }
}

.calendar-comp {
  width: 100%;
  background: #fff;
  z-index: 0;
  .calendar-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    // justify-content: space-between;
    // padding: 0 30px;
    height: 44px;
    // background: #f7f8fa;
    z-index: 0;

    .icon-box {
      display: flex;
      align-items: center;
      position: absolute;

      &.l {
        left: 0;
      }

      &.r {
        right: 0;
      }

      z-index: 2;
    }

    .date-time {
      position: relative;
      flex: 1;
      font-size: 20px;

      .picker-box {
        display: flex;
        justify-content: center;
        width: 100%;

        .picker {
          opacity: 0;
          width: 240px;

          input {
            cursor: pointer;
          }
        }
      }

      .date-text {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
        pointer-events: none;
        cursor: pointer;
        color: #333;
      }

      z-index: 1;
    }

    .icon {
      display: flex;
      align-items: center;
      margin: 0 10px;
      width: 20px;
      font-size: 18px;
      cursor: pointer;
      color: rgba(0, 0, 0, 0.4);
    }
  }

  .week-list {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
    // box-shadow: 0px 10px 20px -8px rgba(0, 0, 0, 0.09);
    
    .week-item {
      width: calc(100% / 7);
      height: 40px;
      text-align: center;
      line-height: 40px;
      font-size: 18px;
      font-family: PingFangSC-Regular, PingFang SC;
      color: #999999;
    }
  }

  .calendar-comp-wrap {
    width: 100%;
    position: relative;
    &.pullHeight {
      height: 300px;
      // max-height: 280px;
      transition: 0.25s;
      &.weekView {
        height: 60px;
      }
    }

    &.pushHeight {
      height: 30px;
      // height: 80px;
      transition: 0.15s;
    }
    .calendar-comp-section {
      width: 100%;
      display: flex;

      .calendar-list-day {
        display: flex;
        flex-wrap: wrap;
        padding-top: 8px;
        flex-shrink: 0;
        width: 100%;
        position: absolute;

        .item {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          width: calc(100% / 7);
          min-height: 48px;
          text-align: center;
          font-size: 16px;
          font-weight: 500;
          color: #333;
          cursor: pointer;
          
          .dayItem {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            width: 40px;
            height: 40px;
            //  border-radius: 8px;
            border-radius: 6px;
            // transition: background 0.1s ease;

            &.currentDay {
              background: rgba(24, 144, 255, 0.1) !important;
              color: #1890ff !important;
            }

            &.selectDay {
              background: #1890ff !important;
              color: #ffffff !important;
            }
            &.info {
              background: #f1f1f1;
            }
            &.primary {
              background: #E9F6FE;
            }
            &.warning {
              background: #FEF3E6;
            }
            &.success {
              background: #E8F8F2;
            }
            .lunar-date {
              font-size: 12px;
            }
          }

          .event-dot {
            position: absolute;
            right: 0;
            top: -3px;
            display: block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin: 0 auto;
            margin-top: 4px;

            &.danger {
              background: #ff4d4f;
            }
            &.success {
              background: #15B37B;
            }
            &.primary {
              background: #3574EE;
            }
            &.warning {
              background: #FE9201;
            }
          }

          &.other {
            color: #acacac;
          }
          
          &.current {
            color: #333;
          }
        }
      }
    }
    .calendar-fold {
      position: absolute;
      padding: 0 12px;
      bottom: 0;
      left: 0;
      display: flex;
      width: 100%;
      background-color: #fff;
      // flex-direction: row-reverse;
      justify-content: space-between;
      align-items: center;
      height: 34px;
      border-top: 1px solid rgba(0, 0, 0, 0.09);
      border-bottom: 1px solid rgba(0, 0, 0, 0.09);
      // box-shadow: 0 4px 10px 5px rgba(0,0,0,0.08);
      cursor: pointer;
    }
  }


  .current-day {
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    font-size: 28px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #333333;
  }
}