/*
 * R50: restore BasicTable's viewport-bound scrolling and vertically align
 * the login fields. This file changes presentation only.
 */

/* The login redesign made the shell 50px while Naive UI kept its inner
 * input at 40px. Keep every part on the same height so text and icons share
 * one vertical center on desktop and mobile. */
.view-account-form .n-input {
  --n-height: 50px !important;
  height: var(--n-height) !important;
  min-height: var(--n-height) !important;
}

.view-account-form .n-input__input {
  display: flex !important;
  height: var(--n-height) !important;
  align-items: center !important;
}

.view-account-form .n-input__input-el {
  height: var(--n-height) !important;
  line-height: var(--n-height) !important;
}

/* Keep wheel/touch scrolling inside the device rows once the table reaches
 * its calculated viewport height. Naive UI still owns the actual scrollbar. */
.index-root[data-v-2e2914c1]
  .n-data-table-base-table-body
  .n-scrollbar-container {
  overscroll-behavior-y: contain;
}
