/* Base table styles (optional, improves look but keeps structure) */
.container {
  width: 100%;
  overflow-x: auto;
}

.tax-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.tax-table th,
.tax-table td {
  padding: 8px 10px;
  white-space: nowrap;
}

.tax-table th {
  background-color: #f5f5f5;
}

/* Responsive Queries */

/* Tablets (portrait & landscape) */
@media screen and (max-width: 1024px) {
  .tax-table th,
  .tax-table td {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* Mobile Devices */
@media screen and (max-width: 768px) {
  .tax-table {
    font-size: 12px;
  }

  .tax-table th,
  .tax-table td {
    padding: 5px;
  }

  /* Make table scrollable on smaller screens */
  .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Very small screens */
@media screen and (max-width: 480px) {
  .tax-table {
    font-size: 11px;
  }

  .tax-table th,
  .tax-table td {
    padding: 4px;
  }

  /* Optional: Stack table headers (for extremely small devices) */
  .tax-table th,
  .tax-table td {
    white-space: normal;
  }
}
