* {
    box-sizing: border-box;
}

body { 
    background-color: #f0f0f0;
    font-family: Calibri, sans-serif;
    font-size: 12px;
    margin: 10px;
}

table {
    border-collapse: collapse;
    table-layout: auto;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 4px 3px;
    text-align: center;
    white-space: normal; <-- wijzig van nowrap naar normal */
    vertical-align: middle;
}

th {
    background-color: #E5DFE7;
}

tr:hover {
    background-color: #ffffcc;
}

tr.highlighted {
    background-color: #ffe0e0 !important;
}

td input,
input[type="text"] {
    font-size: 12px;
    padding: 2px 4px;
    border: 1px solid #ccc;
    background-color: #fff;
    width: auto;
    box-sizing: content-box;
    display: inline-block;
}

.auto-width {
    font-size: 1em;
    padding: 2px 4px;
    border: 1px solid #ccc;
    text-align: left;
}

.linksUitlijn {
    text-align: left;
    padding: 5px;
}

.overzicht {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #e6f2ff;
    border: 1px solid #ccc;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
}

/* Formulierstijl */
.verwijder-form {
    display: inline;
}

.group-header {
    font-weight: bold;
    background-color: #e0e0e0;
}

.print-hide {
    display: block;
}

input[type="text"] {
    padding: 4px;
    font-size: 12px;
}

#resultaten {
    border: 1px solid #ccc;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px;
}

#resultaten div {
    padding: 4px;
    cursor: pointer;
}

#resultaten div:hover {
    background-color: #e0e0e0;
}

.delta-box {
    background-color: rgb(235, 200, 135);
    padding: 2px 4px;
    border-radius: 2px;
    color: white;
    font-weight: bold;
}

@media print {
    .print-hide {
        display: none !important;
    }

    body {
        background-color: white;
        margin: 0;
        font-size: 11px;
    }

    table {
        width: 100%;
        font-size: 11px;
    }

    a[href]::after,
    a::after {
        content: "" !important;
        display: none !important;
    }
}
