/* Components: Tables */

.table-responsive {
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: var(--bg-tertiary);
    /* was surface before, tertiary better for header */
    color: var(--text-secondary);
    font-weight: 600;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.table tbody tr {
    transition: background-color 0.15s ease;
}

.table tbody tr:hover {
    background-color: var(--bg-hover);
}

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

.table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--font-size-sm);
}