/* Jobbeku form visibility on phones (loaded on every page by MY_Output).
   The floating bottom buttons must never cover the field being typed in or the Submit button. */
html { scroll-padding-bottom: 120px; }
@media (max-width: 767.98px) {
  /* room under the last field / Submit button */
  html body { padding-bottom: 100px !important; }
  /* while a field is being edited (keyboard open) the floating bar steps aside */
  body:has(input:focus, select:focus, textarea:focus) .jbx-tabbar,
  body:has(input:focus, select:focus, textarea:focus) .jb-mobile-bottom-nav { display: none !important; }
  /* long forms: keep inputs full width and readable */
  .register-input input, .register-input select, .register-input textarea { min-width: 0; font-size: 16px; }
  .register-input input[type="date"] { min-height: 48px; }
}
