/* --- 1. HERSTEL DE TABEL STRUCTUUR (Heel belangrijk!) --- */

/* Zorg dat de header-cellen zich weer gedragen als tabelcellen */
th {
    display: table-cell !important;    /* Dit repareert de "prop" */
    vertical-align: bottom !important; /* Zet tekst netjes onderin */
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 8px !important;           /* Beetje ruimte om de tekst */
    border-bottom: 2px solid #ccc !important; /* Streepje eronder */
    white-space: nowrap !important;    /* Voorkom dat titels lelijk afbreken */
    text-align: left !important;
}

/* De linkjes IN de headers (de namen zelf) */
th a {
    color: #003366 !important;         /* Donkerblauw */
    text-decoration: none !important;
    font-weight: bold !important;
    visibility: visible !important;
    display: inline !important;        /* Gewoon als tekst tonen */
}

/* --- 2. VERBERG DE SQL EN DOWNLOAD KNOPJES --- */

/* Verberg 'View and edit SQL' linkjes, maar NIET de kolomnamen */
a[href*="sql"]:not(th a) {
    display: none !important;
}

/* Verberg de CSS klassen die Datasette gebruikt voor SQL iconen */
.sql-link, .details-sql, .icon-pencil {
    display: none !important;
}

/* Verberg de export opties (JSON/CSV) */
.export-links {
    display: none !important;
}

/* Verberg suggesties */
.suggested-facets {
    display: none !important;
}

/* --- 3. ALGEMENE OPMAAK --- */
body {
    background-color: #ffffff;
    color: #333333;
    font-family: sans-serif;
}