/* Buyer finance password dialog: keep the real input functional but invisible.
   The component uses one hidden input as the source of truth and six visual
   cells as the keypad. A global input rule was exposing both controls. */
@media (max-width: 768px) {
  /* The prompt is already supplied by the modal title. Showing desc6 again
     creates the extra line the user marked in the screenshot. */
  .gsfc-finance-password-dialog .password-modal > p,
  .password-modal > p {
    display: none !important;
  }

  .gsfc-finance-password-dialog .code-box > input.code-input,
  .password-modal .code-box > input.code-input {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
  }

  .gsfc-finance-password-dialog .code-box,
  .password-modal .code-box {
    position: relative !important;
    width: 100% !important;
  }

  .gsfc-finance-password-dialog .code-all,
  .password-modal .code-all {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .gsfc-finance-password-dialog .code-item,
  .password-modal .code-item {
    box-sizing: border-box !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 58px !important;
    min-width: 0 !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 5px !important;
    background: #fff !important;
  }

  .gsfc-finance-password-dialog .code-item.code-active,
  .password-modal .code-item.code-active {
    border-color: #1f56e8 !important;
    box-shadow: 0 0 0 1px rgba(31, 86, 232, .12) !important;
  }
}
