/* Tabellen-Baustein - core/Extensions/TableBlock/assets/style.css */

.nx-table-wrap {
    margin: 1.25rem 0;
    overflow-x: auto;
    border: 1px solid var(--nx-border, #dee2e6);
    border-radius: 0.5rem;
}

.nx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.nx-table th,
.nx-table td {
    padding: 0.6rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid var(--nx-border, #dee2e6);
    white-space: nowrap;
}

.nx-table thead th {
    background: var(--nx-surface-alt, #f1f3f5);
    font-weight: 600;
    border-bottom: 2px solid var(--nx-border, #dee2e6);
}

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

.nx-table tbody tr:nth-child(even) {
    background: var(--nx-surface-alt, #f8f9fa);
}

@media (max-width: 576px) {
    .nx-table th,
    .nx-table td {
        white-space: normal;
    }
}
