/* Div table */
.div-table { 
  display: grid; 
  grid-gap: 1px; 
  background: var(--color-grid-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.div-table-row { 
  display: contents; 
}

.div-table-header {
  font-weight: bold;
  background: var(--color-surface);
  padding: 12px;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.div-table-cell {
  background: var(--color-surface);
  padding: 12px;
}

/* Responsive Tables - Mobile: Stack vertically or horizontal scroll */
@media (max-width: 768px) {
  .div-table {
    font-size: 0.875rem;
    min-width: 100%;
  }

  .div-table-header,
  .div-table-cell {
    padding: 10px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Responsive Tables - Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .div-table {
    font-size: 0.9rem;
  }

  .div-table-header,
  .div-table-cell {
    padding: 11px 10px;
  }
}
