/* ==========================================================================
   Utility Classes for Vega AI
   ========================================================================== */

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

@media (max-width: 640px) {
  html, 
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  
  *, 
  *::before, 
  *::after {
    box-sizing: border-box;
  }
}

/* ==========================================================================
   Accessibility Utilities
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   Touch Utilities
   ========================================================================== */

.touch-manipulation {
  touch-action: manipulation;
}

/* ==========================================================================
   Motion Preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */

.utc-time {
}

/* ==========================================================================
   Form State Utilities
   ========================================================================== */

.has-unsaved-changes {
}

/* ==========================================================================
   Loading State Utilities
   ========================================================================== */

.htmx-hide {
  display: none !important;
}

/* ==========================================================================
   Notification Container Utilities
   ========================================================================== */

#notification-container {
  isolation: isolate;
}