.dual-table-panel {
  display: flex;
  flex-wrap: wrap;          /* stack vertically when space is tight */
  gap: 2em;
  align-items: flex-start;

  border-radius: 12px;
  padding: 16px;
  background-color: rgb(244, 241, 241);
}

.dual-table-panel > .table-block {
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;          /* grow/shrink, but never below 300px — forces wrap when both can't fit */
  min-width: 0;             /* allows shrinking below content size if needed, avoids overflow */
}

.dual-table-panel .rounded-table {
  width: 100%;              /* fill its .table-block, not the whole panel */
  max-width: 850px; /*750px;*/
  border-spacing: 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.dual-table-panel .rounded-table thead th {
  background-color: #EAFAF1;
  color: #6495ED;
  padding: 10px;
  text-align: left;
  font-weight: normal;
}

.dual-table-panel .rounded-table td {
  padding: 10px;
  border-top: 1px solid #ddd;
}

.dual-table-panel .rounded-table tbody tr:nth-child(even) {
  background-color: #fff;
}

.dual-table-panel .rounded-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.dual-table-panel .rounded-table thead tr th:first-child {
  border-top-left-radius: 10px;
}

.dual-table-panel .rounded-table thead tr th:last-child {
  border-top-right-radius: 10px;
}

.dual-table-panel .rounded-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.dual-table-panel .rounded-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
