/* Disable zoom and copy for web app */
body {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
  touch-action: manipulation; /* Prevent double-tap zoom */
}

/* Allow text selection in input fields and textareas */
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Prevent zoom on double-tap */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Prevent pinch-to-zoom */
html {
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%; /* Prevent text size adjustment on orientation change */
}

/* Disable context menu on long press */
body {
  -webkit-touch-callout: none;
}
