/* Global responsive fixes for long table content */
/* Only affect body cells so headers remain readable */
.table-responsive table tbody td,
.card .table tbody td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Let tables grow vertically; avoid inner vertical scrollbars */
.table-responsive,
.table-responsive-sm,
.table-responsive-md,
.table-responsive-lg,
.table-responsive-xl,
.table-responsive-xxl {
  overflow-y: visible; /* keep dropdowns and content visible */
  max-height: none;    /* no vertical constraint */
}

/* Keep table headers on a single line by default */
.table thead th {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

/* Utility: clamp multi-line text if applied */
.text-ellipsis-2 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-ellipsis-3 {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Keep action cells compact when desired */
.col-actions {
  width: 1%;
  white-space: nowrap;
}
