/* Mobile and Tablet Styles */

/* General Styles for Mobile */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

th, td {
  padding: 10px;
  text-align: left;
}

thead {
  display: none; /* Hide headers on smaller devices */
}

tbody tr {
  display: block; /* Make rows stack */
  margin-bottom: 10px;
  border: 1px solid #ddd;
}

td {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
}

td::before {
  content: attr(data-label); /* Use data-labels for accessibility */
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
}

/* Make Images Responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure Buttons Are Tappable */
button, .btn {
  font-size: 16px;
  padding: 10px 20px;
  margin: 5px 0;
}

/* Additional Mobile Styling for Small Screens */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  table {
    border: none;
  }

  td {
    border: none;
  }
}
