/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Mobile viewport fixes */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* Ensure tables don't overflow on mobile */
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

/* Prevent text from wrapping in table cells on mobile */
@media (max-width: 640px) {
  .whitespace-nowrap {
    white-space: nowrap;
  }
  
  /* Ensure buttons and links don't wrap */
  .flex.items-center.gap-2 {
    flex-wrap: nowrap;
  }
}
