/* Table */
.table {
    font-size: 0.875rem;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table thead th {
    background-color: var(--table-header-bg);
    color: var(--table-header-text);
    font-weight: 700;
    border: none;
}

.table thead th:first-child {
    border-top-left-radius: 6px;
}

.table thead th:last-child {
    border-top-right-radius: 6px;
}

.table tbody tr:last-child td:first-child,
.table tbody tr:last-child th:first-child {
    border-bottom-left-radius: 0.5rem;
}

.table tbody tr:last-child td:last-child,
.table tbody tr:last-child th:last-child {
    border-bottom-right-radius: 0.5rem;
}

.table tr {
    border-left: 1px solid var(--ui-border);
    border-right: 1px solid var(--ui-border);
}

.table th,
.table td {
    vertical-align: middle;
}

.table th.col-value,
.table td.col-value {
    text-align: right;
}

table td,
table th {
    vertical-align: middle;
}

/* TABLE COLUMN STYLING */
.col-type {
    width: 150px;
}

.col-date {
    width: 200px;
}

.col-ref {
    width: 150px;
}

.col-description { /* auto*/
}

.col-value {
    width: 150px;
    text-align: right;
}

.col-icon {
    width: 32px;
}

.col-status {
    width: 50px;
    text-align: center;
}

.col-actions {
    width: 100px;
    text-align: right;
}

.table-actions td {
    overflow: visible;
    word-wrap: break-word;
    white-space: normal;
}

.table-actions .text-muted.small {
    word-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.actions-table {
  overflow-x: auto;
  overflow-y: visible;
  min-height: 400px;
}
