.calendar-date-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
  user-select: none;
  margin-top: 16px;

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

    .calendar-last-month,
    .calendar-next-month {
      display: flex;
      padding: 6px;
      justify-content: center;
      align-items: center;
      gap: 8px;
      border-radius: 8px;
      border: 1px solid #d0d5dd;
      cursor: pointer;
    }

    .last-month-disabled {
      border-radius: 8px;
      background: #eaecf0;
      cursor: pointer;
    }

    .calendar-current-month {
      width: 250px;
      text-align: center;
      color: #101828;
      font-size: 30px;
      font-style: normal;
      font-weight: 600;
      line-height: 38px;
      /* 126.667% */
    }
  }

  .calendar-content {
    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: 8px;
    }
  }
}

.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;
    /* Text md/Medium */
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    line-height: 24px;
    /* 150% */

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

  &.disabledDate {
    background: #eaecf0;
    cursor: not-allowed;
  }

  &.disabledSelect {
    cursor: pointer;
  }

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

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

  &.loading-item {
    background: #eaecf0;
    cursor: not-allowed;
  }
}

.calendar-date-mobile-box {
  .calendar-days-items {
    height: 54px;
  }
}
