/* ========================================
   Table Component - Clean Bootstrap Override
   No !important declarations
   ======================================== */

.table {
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  background-color: var(--bs-card-bg);
  box-shadow: var(--shadow-soft);
}

.table thead th {
  background-color: var(--bs-light);
  border-bottom: 2px solid var(--bs-card-border-color);
  font-weight: 600;
  color: var(--bs-dark);
  padding: 1rem;
  text-align: left;
}

.table tbody tr {
  border-bottom: 1px solid var(--bs-card-border-color);
  transition: background-color 0.2s ease-in-out;
}

.table tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
  color: var(--bs-body-color);
}

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

/* Table Striped */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,.02);
}

.table-striped tbody tr:nth-of-type(odd):hover {
  background-color: rgba(13, 110, 253, 0.05);
}

/* Table Hover */
.table-hover tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

/* Table Responsive */
.table-responsive {
  border-radius: var(--bs-border-radius);
  box-shadow: var(--shadow-soft);
}

/* Table Dark Variant */
.table-dark {
  background-color: var(--bs-dark);
  color: white;
}

.table-dark thead th {
  background-color: #343a40;
  border-bottom-color: #495057;
  color: white;
}

.table-dark tbody tr {
  border-bottom-color: #495057;
}

.table-dark tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.table-dark tbody td {
  color: white;
}

/* Table Actions */
.table-actions {
  white-space: nowrap;
}

.table-actions .btn {
  margin-right: 0.25rem;
}

.table-actions .btn:last-child {
  margin-right: 0;
}