body.tables-page {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
}

.tables-main {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 18px 52px;
  box-sizing: border-box;
}

.tables-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tables-loading,
.tables-error {
  font-size: 15px;
  color: #374151;
}

.table-section {
  background: #fff;
  width: 100%;
}

.table-section__head {
  width: 100%;
  border: 1px solid #222;
  background: #f7f7f7;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.table-section__arrow {
  font-size: 15px;
  font-weight: 700;
  margin-left: 14px;
}

.table-section__body {
  display: none;
  padding-top: 14px;
}

.table-section.is-open .table-section__body {
  display: block;
}

.db-table-wrap {
  overflow: auto;
}

.db-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #111;
}

.db-table th,
.db-table td {
  border: 1px solid #2f2f2f;
  padding: 6px 10px;
  font-size: 15px;
  white-space: nowrap;
}

.db-table th {
  font-weight: 700;
  background: #efefef;
}

@media (max-width: 900px) {
  .tables-main {
    padding: 16px 12px 36px;
  }

  .table-section__head {
    font-size: 14px;
    padding: 10px 12px;
  }

  .table-section__arrow {
    font-size: 14px;
  }

  .db-table th,
  .db-table td {
    border-width: 1px;
    padding: 5px 8px;
    font-size: 13px;
  }
}
