/* iOS Safari Critical Pre-Load Fixes */
/* This file loads BEFORE React to prevent crash on initial page load */

/* Prevent iOS Safari crash on page load */
@supports (-webkit-touch-callout: none) {
  /* iOS only */
  
  html {
    height: -webkit-fill-available;
    overflow-x: hidden;
  }
  
  body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
  }
  
  /* Disable all backdrop-filter globally on iOS */
  * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-attachment: scroll !important;
  }
  
  /* Prevent tap highlight flash */
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Prevent iOS zoom on input focus */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}
