.q-dialog-mobile-panel {
  &__dialog-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;

    // reject user-select on mobile
    // stylelint-disable-next-line property-no-vendor-prefix
    -webkit-user-select: none;
    user-select: none;

    .q-picker-panel__body {
      flex-direction: column;
      width: 100%;
      max-width: 415px;
      height: auto;

      &-wrapper {
        max-width: 415px;
        height: auto;
      }
    }

    .q-picker-panel__sidebar {
      width: 100%;
      max-height: 132px;
      margin-bottom: 1px;
      overflow-y: scroll;
    }

    .q-picker-panel__shortcut {
      display: inline-block;
      width: auto;
      font-size: 16px;
    }

    .q-picker-panel__content {
      width: 100%;
    }

    .q-picker-panel__header-sign {
      font-size: 14px;
    }

    .q-date-table__days {
      font-size: 12px;
    }

    .q-date-table__cell-wrapper {
      width: 30px;
      height: 30px;

      .cell {
        width: 30px;
        height: 30px;
        font-size: 14px;
      }
    }

    .q-period-table__cell {
      width: 60px;
      height: 60px;
      font-size: 16px;
    }

    .q-picker-panel__header-label {
      font-size: 14px;
    }

    .q-picker-panel__icon-btn {
      width: 30px;
      height: 30px;
      font-size: 29px;
    }
  }

  &__close {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);

    @media (max-width: 415px) {
      &__close {
        top: 20px;
        right: 20px;
        left: auto;
        transform: translateX(0);
      }
    }
  }

  @media (min-width: 375px) {
    &__dialog-view {
      .q-picker-panel__header-sign,
      .q-picker-panel__header-label {
        font-size: 16px;
      }

      .q-date-table__days {
        font-size: 14px;
      }

      .q-date-table__cell-wrapper {
        width: 40px;
        height: 40px;

        .cell {
          width: 40px;
          height: 40px;
          font-size: 15px;
        }
      }

      .q-period-table__cell {
        width: 80px;
        height: 80px;
        margin-right: auto;
        margin-left: auto;
        font-size: 16px;
      }
    }
  }
}
