.calendar-container {
  height: 100%;
  position: relative;

  &.schedule {
    &.mobile {
      height: calc(100vh - 32px - 111px);

      .week-toggler-box {
        position: sticky;
        top: 0;
        z-index: 2;
      }
    }
  }

  .calendar-box {
    width: 100%;
    margin-top: 10px;
    
    // padding: 12px;
    .calendar-action-box {
      padding: 0 12px;
    }

    &.schedule {
      padding: 0 8px;

      // padding-bottom: 50px;
      &.mobile {
        padding: 0;

        .fc-scrollgrid-section.fc-scrollgrid-section-header {
          display: none;
        }

        .fc-scroller.fc-scroller-liquid-absolute {
          overflow: hidden !important;
        }

      }

      .calendar-action-box {
        position: fixed;
        right: 2vw;
        bottom: 7vh;
        // background-color: #fff;
        // width: 100%;
        z-index: 2;

        .add-action-box {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            width: 48px;
            height: 48px;
            background-color: #1890ff;
            color: #fff;
            border-radius: 50% !important;
            font-size: 24px;
            cursor: pointer;
        }
      }
    }


    .fc {
      a {
        color: initial;

        &.fc-h-event {
          background-color: var(--fc-event-bg-color) !important;
        }
      }

      td,
      th {
        border: 1px solid #f7f8fa !important;
        // border-left-color: transparent !important;
        // border-right-color: transparent !important ;
      }

      .fc-popover-body {
        max-height: 400px;
        overflow-y: auto;
      }

      .fc-scrollgrid {
        border: none !important;
      }

      .fc-scrollgrid-section.fc-scrollgrid-section-header {
        th {
          border: none !important;
        }
      }

      .fc-col-header-cell.fc-day {
        border: none !important;
      }

      .fc-v-event {
        margin: 4px 4px 6px 6px;
        background-color: #E9F6FE;
        color: #3574EE;
        border-color: #E9F6FE;

        .fc-event-main {
          color: #3574EE;

        }
      }

      .fc-timegrid-col.fc-day-today {
        background-color: unset !important;
      }

      .fc-daygrid-day.fc-day-today {
        background-color: unset !important;

        .fc-daygrid-day-number {
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          width: 30px;
          height: 30px;
          font-size: 12px;
          background-color: #3574EE;
          border-radius: 10px;
          transform: scale(0.8);
          white-space: nowrap;
        }
      }

      .fc-bg-event {
        background: unset;
        opacity: 1;
      }

      .fc-timegrid-slot {
        height: 32px;
      }
    }

    &.schedule {
      overflow: auto;
    }
  }

  .week-toggler-box {
    position: sticky;
    top: 0;

    &.schedule {
      position: relative;
    }
  }

  .attendance-box {
    overflow-y: auto;
    background-color: #f1f1f1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;

    .info-box {
      padding: 10px;
      width: 100%;
      border-radius: 4px;
      min-height: 100px;
      background-color: #fff;
      color: #999;
      line-height: 1.5;
      font-size: 14px;

      .title {
        font-size: 16px;
        padding-bottom: 4px;
        color: #333;

        .primary {
          color: #3574EE
        }

        .warning {
          color: #FE9201
        }

        .success {
          color: #15B37B
        }

        .danger {
          color: #F5222D
        }
      }
    }
  }

  .action-box {
    width: 0;
    height: 0;
    visibility: hidden;
  }

  .event-item-event-box {
    position: relative;
    display: flex;
    width: 100%;
    // justify-content: space-between;
    align-items: center;
    min-height: 20px;

    .remove-btn {
      position: absolute;
      right: 2px;
      top: 2px;
      display: none;
      width: 16px;
      height: 16px;
      margin-right: 2px;
      text-align: center;
      line-height: 14px;
      color: #fff;
      border-radius: 50%;
      font-size: 12px;
      border: 1px solid #fff;

      &:hover {
        color: #ff4d4f;
        border-color: #ff4d4f;
      }
    }

    &:hover {
      .remove-btn {
        display: block;
      }
    }

    .event-content-box {
      padding: 3px;
      word-wrap: break-word;
      width: 100%;
      font-size: 13px;
      // max-width: calc(100% - 20px);
      // width: fit-content;
      // overflow: hidden;
      // white-space: nowrap;
      // text-overflow: ellipsis;
    }


  }

  .event-item-background-box {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 12px;
    color: #666;
  }
}