/* Mobile Input Table for Forms */
@media (max-width: 768px) {
  .mobile-input-table thead {
    display: none;
  }
  
  .mobile-input-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    gap: 0.5rem;
  }

  .mobile-input-table tbody td {
    display: block;
    width: calc(50% - 0.25rem); /* 2 columns with gap */
    padding: 0;
    border: none;
  }

  /* Specific width adjustments */
  /* Make Comment full width */
  .mobile-input-table tbody td:nth-last-child(2) {
    width: 100%;
  }
  
  /* Make Remove Button full width */
  .mobile-input-table tbody td:last-child {
    width: 100%;
    margin-top: 0.5rem;
  }

  .mobile-input-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .mobile-input-table .form-control {
    font-size: 16px; /* Prevent IOS zoom */
  }
}
