.calendar-box {
  display: flex;
  flex-direction: column;

  .calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .calendar-last-month,
    .calendar-next-month {
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      cursor: pointer;
    }

    .calendar-current-month {
      text-align: center;
      color: #101828;
      font-weight: 600;
      flex: 1;
      font-size: 16px;
      font-weight: 600;
      line-height: 24px;
    }
  }

  .calendar-content {
    margin: 10px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    .calendar-weeks {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 8px;

      .calendar-weeks-items {
        color: #101828;
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
        /* 150% */
      }
    }

    .calendar-days {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 12px;
    }
  }
}

.calendar-days-items {
  position: relative;
  display: flex;
  height: 64px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  cursor: pointer;

  .day-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #101828;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;

    &.day-line::before {
      position: absolute;
      bottom: 12px;
      content: '';
      width: 24px;
      height: 4px;
      flex-shrink: 0;
      border-radius: 2px;
      background: var(--lineColor);
    }
  }

  &.disabledDate {
    // border: 1px solid #eaecf0;
    cursor: pointer;
    background: var(--Gray-100, #f2f4f7);
    border: none;
  }

  &.disabledSelect {
    cursor: pointer;
  }

  &.selectDate {
    border: 2px solid var(--Primary-600, #7f56d9);
  }

  &.other-month-days {
    background: none;
    border: none;
  }
}
