.table-card {
  max-width: 100%;
  background: #292929;
  border: 1px solid #494949;
  border-radius: 14px;
  overflow: hidden;
}

.table-card + .table-card {
  margin-top: 20px;
}

.table-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px 11px 18px;
  background: #1f1f1f;
  border-bottom: 1px solid #494949;
}

.table-title {
  color: #f2f3f5;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #b6b7bb;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.table-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f2f3f5;
}

.table-btn:active {
  background: rgba(255, 255, 255, 0.05);
}

.table-btn:focus-visible {
  outline: 2px solid #6b6c70;
  outline-offset: 2px;
}

.table-btn i {
  font-size: 1.15rem;
  line-height: 1;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #494949 transparent;
}

.table-scroll::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background-color: #494949;
  border-radius: 9999px;
}

.table-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.table-card table {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  font-size: 0.9rem;
  white-space: nowrap;
  background: #292929;
  color: #c7c8cc;
}

.table-card thead th {
  background: #1f1f1f;
  color: #f2f3f5;
  font-weight: 600;
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid #494949;
  border-right: 1px solid #494949;
}

.table-card thead th:last-child {
  border-right: none;
}

.table-card td {
  background: #292929;
  color: #c7c8cc;
  padding: 13px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #494949;
  border-right: 1px solid #494949;
}

.table-card td:last-child {
  border-right: none;
}

.table-card tbody tr:last-child td,
.table-card tr:last-child td {
  border-bottom: none;
}

.table-card tbody tr:hover td,
.table-card tr:hover td {
  background: #313131;
}

.table-card.is-plain table {
  width: 100%;
  white-space: normal;
}

.table-card.is-plain td {
  white-space: normal;
  word-break: break-word;
}

.table-card.is-plain td:first-child {
  white-space: nowrap;
  width: 1%;
  color: #f2f3f5;
}

table .inline-code {
  font-size: 0.85em;
  background: #1f1f1f;
  border: 1px solid #494949;
  border-radius: 5px;
  padding: 1px 6px;
  color: #e6e6e6;
  white-space: nowrap;
}