/* ===== Shipflee Global Responsive Overrides ===== */
/* MINIMAL overrides only — does NOT touch existing desktop layout */

/* Lock text size on mobile so iOS doesn't auto-resize */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Prevent inputs from overflowing on small screens */
@media only screen and (max-width: 768px) {
  input, select, textarea {
    max-width: 100%;
  }
  
  /* Tables scroll horizontally instead of breaking layout */
  #nav2 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==============================
   MOBILE: Stack the Pickup/Delivery forms
   ============================== */
@media only screen and (max-width: 480px) {
  /* Rate calculator form inputs */
  #vi1, #vi2, #vi3 {
    width: 50px;
  }
}

/* --- Global Loader Fix --- */
#loader {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  z-index: 9999 !important;
}
