/* JRMPanel Mobile Responsive Styles */

/* Improved touch targets */
@media (max-width: 768px) {
  .btn { min-height: 44px; min-width: 44px; }
  .form-control, .form-select { min-height: 44px; font-size: 16px; /* prevents iOS zoom */ }
  .table td, .table th { padding: 0.5rem 0.25rem; font-size: 0.85rem; }
  .nav-tabs .nav-link { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
  .card-body { padding: 0.75rem; }

  /* Bottom nav for mobile */
  .mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--jrm-card-bg, #1a1d23);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-around;
    padding: 0.5rem 0; z-index: 1050;
    backdrop-filter: blur(10px);
  }
  .mobile-bottom-nav a {
    display: flex; flex-direction: column; align-items: center;
    color: #aaa; text-decoration: none; font-size: 0.7rem; padding: 0.25rem;
  }
  .mobile-bottom-nav a.active { color: var(--jrm-accent, #6366f1); }
  .mobile-bottom-nav svg { width: 22px; height: 22px; margin-bottom: 2px; }

  /* Hide sidebar on mobile, show bottom nav */
  body { padding-bottom: 60px; }

  /* Swipe gestures hint */
  .swipe-hint { display: block; }
}

@media (min-width: 769px) {
  .mobile-bottom-nav { display: none; }
  .swipe-hint { display: none; }
}

/* Pull to refresh indicator */
.ptr-indicator {
  text-align: center; padding: 1rem;
  display: none; color: #aaa;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Better scrolling on iOS */
.table-responsive, .card-body { -webkit-overflow-scrolling: touch; }
