:root {
    --oranje: #C05621;
    --oranje-licht: #FEF3E2;
    --donker: #1a1a2e;
    --grijs: #6b7280;
    --rand: #e5e7eb;
}
* { box-sizing: border-box; }
body {
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0; color: var(--donker); background: #fafafa; line-height: 1.45;
}
.topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.8rem 1.4rem; background: #fff; border-bottom: 2px solid var(--oranje);
}
.brand { font-weight: 700; letter-spacing: -0.02em; }
.brand .accent { color: var(--oranje); }
main { max-width: 1100px; margin: 0 auto; padding: 1.6rem 1.4rem; }
h1 { font-size: 1.4rem; margin: 0 0 1rem; }

/* Login */
.login-card { max-width: 340px; margin: 3rem auto; background: #fff;
    border: 1px solid var(--rand); border-radius: 10px; padding: 1.6rem; }
.login-card label { display: block; margin-bottom: 0.9rem; font-size: 0.9rem; color: var(--grijs); }
.login-card input { width: 100%; padding: 0.55rem; margin-top: 0.25rem;
    border: 1px solid var(--rand); border-radius: 6px; font-size: 1rem; }
.fout { color: #b91c1c; background: #fef2f2; padding: 0.5rem 0.7rem;
    border-radius: 6px; font-size: 0.9rem; }

button {
    background: var(--oranje); color: #fff; border: 0; border-radius: 6px;
    padding: 0.45rem 0.9rem; font-size: 0.9rem; cursor: pointer;
}
button:hover { background: #a8481c; }
button.del { background: #fff; color: #b91c1c; border: 1px solid #f0c5c5; }
button.del:hover { background: #fef2f2; }
.link-btn { background: none; color: var(--grijs); padding: 0; }
.link-btn:hover { background: none; color: var(--oranje); text-decoration: underline; }

/* Filters */
.filters { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.chip { text-decoration: none; color: var(--grijs); font-size: 0.85rem;
    padding: 0.25rem 0.7rem; border: 1px solid var(--rand); border-radius: 999px; background: #fff; }
.chip.actief { background: var(--oranje-licht); color: var(--oranje); border-color: var(--oranje); }

/* Tabel */
table { width: 100%; border-collapse: collapse; background: #fff;
    border: 1px solid var(--rand); border-radius: 8px; overflow: hidden; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--rand); vertical-align: top; }
th { background: #f9fafb; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--grijs); }
tr:last-child td { border-bottom: 0; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.78rem; color: var(--grijs); }
.bron { font-weight: 600; }
.meta code { font-size: 0.75rem; color: var(--grijs); word-break: break-all; }

.status { font-size: 0.75rem; padding: 0.1rem 0.5rem; border-radius: 999px; }
.status-nieuw { background: var(--oranje-licht); color: var(--oranje); }
.status-gezien { background: #eef2ff; color: #4338ca; }
.status-opgevolgd { background: #ecfdf5; color: #047857; }
.status-afgesloten { background: #f3f4f6; color: var(--grijs); }

.acties { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.acties form { display: flex; gap: 0.25rem; align-items: center; }
.acties select { padding: 0.3rem; border: 1px solid var(--rand); border-radius: 6px; }
.leeg { color: var(--grijs); }
.logout-form { margin: 0; }
