/* Google Sheet Table Styling for AÉTÉLUQ Theme */
.dynamic-google-sheet-tables {
  margin: 2em 0;
  width: 100%;
}
.dynamic-google-sheet-tables .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin-bottom: 2em;
}
.dynamic-google-sheet-tables table.waffle {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #fff;
  font-family: inherit;
  font-size: 1em;
  color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  table-layout: auto;
}
.dynamic-google-sheet-tables th,
.dynamic-google-sheet-tables td {
  border: 1px solid #e0e0e0;
  padding: 0.5em 0.75em;
  text-align: left;
  vertical-align: middle;
  transition: background 0.15s;
  word-break: break-word;
  white-space: normal;
}
.dynamic-google-sheet-tables thead th {
  background: #f3f3f3;
  font-weight: 600;
  color: var(--Color-wave, #097ec1);
  border-bottom: 2px solid #bdbdbd;
}
.dynamic-google-sheet-tables th.row-header,
.dynamic-google-sheet-tables th.row-header-shim {
  background: #f3f3f3;
  color: #888;
  font-weight: normal;
  min-width: 2em;
  text-align: center;
}
.dynamic-google-sheet-tables td[dir="ltr"] {
  direction: ltr;
}
.dynamic-google-sheet-tables td:hover, .dynamic-google-sheet-tables th:hover {
  background: #e3f2fd !important;
}
@media (max-width: 700px) {
  .dynamic-google-sheet-tables .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5em;
  }
  .dynamic-google-sheet-tables table.waffle {
    min-width: 500px;
    font-size: 0.95em;
  }
  .dynamic-google-sheet-tables th,
  .dynamic-google-sheet-tables td {
    font-size: 0.95em;
    padding: 0.4em 0.5em;
    white-space: normal;
    word-break: break-word;
  }
}
