/* Table Styles */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-color);
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid var(--border-color);
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--border-color);
    background-color: #f8f9fa;
    font-weight: 600;
}

.table tbody + tbody {
    border-top: 2px solid var(--border-color);
}

/* Table Variants */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.table-bordered {
    border: 1px solid var(--border-color);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border-color);
}

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
    border: 0;
}

/* Table Sizes */
.table-sm th,
.table-sm td {
    padding: 0.3rem;
}

/* Table Responsive */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive > .table {
    margin-bottom: 0;
}

/* Table Alignment */
.table-align-middle th,
.table-align-middle td {
    vertical-align: middle;
}

.table-align-bottom th,
.table-align-bottom td {
    vertical-align: bottom;
}

/* Table Contextual Classes */
.table-primary,
.table-primary > th,
.table-primary > td {
    background-color: rgba(33, 150, 243, 0.1);
}

.table-secondary,
.table-secondary > th,
.table-secondary > td {
    background-color: rgba(108, 117, 125, 0.1);
}

.table-success,
.table-success > th,
.table-success > td {
    background-color: rgba(40, 167, 69, 0.1);
}

.table-danger,
.table-danger > th,
.table-danger > td {
    background-color: rgba(220, 53, 69, 0.1);
}

.table-warning,
.table-warning > th,
.table-warning > td {
    background-color: rgba(255, 193, 7, 0.1);
}

.table-info,
.table-info > th,
.table-info > td {
    background-color: rgba(23, 162, 184, 0.1);
}

.table-light,
.table-light > th,
.table-light > td {
    background-color: rgba(248, 249, 250, 0.1);
}

.table-dark,
.table-dark > th,
.table-dark > td {
    background-color: rgba(52, 58, 64, 0.1);
}

/* Table Hover Effects */
.table-hover .table-primary:hover {
    background-color: rgba(33, 150, 243, 0.2);
}

.table-hover .table-secondary:hover {
    background-color: rgba(108, 117, 125, 0.2);
}

.table-hover .table-success:hover {
    background-color: rgba(40, 167, 69, 0.2);
}

.table-hover .table-danger:hover {
    background-color: rgba(220, 53, 69, 0.2);
}

.table-hover .table-warning:hover {
    background-color: rgba(255, 193, 7, 0.2);
}

.table-hover .table-info:hover {
    background-color: rgba(23, 162, 184, 0.2);
}

.table-hover .table-light:hover {
    background-color: rgba(248, 249, 250, 0.2);
}

.table-hover .table-dark:hover {
    background-color: rgba(52, 58, 64, 0.2);
} 