/* Touch-specific CSS for comparison table */

/* For touch devices only */
@media (hover: none) and (pointer: coarse) {
  /* Make the table container more obvious for scrolling */
  .comparison-table-wrapper {
    -webkit-overflow-scrolling: touch !important;
    overflow-x: auto !important;
    border: 1px solid rgba(79, 70, 229, 0.2) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
  }
  
  /* Clear instruction for mobile users */
  .mobile-scroll-hint {
    background-color: #f0f4ff !important;
    color: #4F46E5 !important;
    padding: 10px !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    font-weight: bold !important;
    border: 1px solid #4F46E5 !important;
  }
  
  /* Full width table with forced horizontal scroll */
  .comparison-table-wrapper table {
    width: 100% !important;
    min-width: 600px !important;
    table-layout: fixed !important;
    margin: 0 !important;
  }
  
  /* Better spacing for mobile */
  .comparison-table-wrapper table th,
  .comparison-table-wrapper table td {
    padding: 12px 8px !important;
  }
  
  /* Use opacity to signal there's more content */
  .comparison-table-wrapper::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 40px !important;
    height: 100% !important;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(79,70,229,0.1)) !important;
    z-index: 5 !important;
    pointer-events: none !important;
  }
  
  /* Add clear visual affordance */
  .comparison-section::after {
    content: "Scroll horizontally to see more →" !important;
    display: block !important;
    text-align: center !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    font-style: italic !important;
  }
}
