* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f4f5f7;
  color: #222;
}
header {
  background: #2b4c7e;
  color: #fff;
  padding: 1rem 1.5rem;
}
header h1 { margin: 0; font-size: 1.4rem; }
main { max-width: 760px; margin: 1.5rem auto; padding: 0 1rem; }
.paneel {
  background: #fff;
  border: 1px solid #dde1e6;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
h2 { margin-top: 0; font-size: 1.15rem; }
label { display: block; font-weight: 600; margin: .6rem 0 .25rem; }
input, textarea, select {
  width: 100%;
  padding: .45rem .55rem;
  font: inherit;
  border: 1px solid #bbb;
  border-radius: 4px;
}
.rij { display: flex; gap: 1rem; }
.rij > div { flex: 1; }
.knoppen { margin-top: 1rem; display: flex; gap: .5rem; }
button {
  font: inherit;
  padding: .45rem .9rem;
  border: 1px solid #2b4c7e;
  background: #2b4c7e;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
button.secundair { background: #fff; color: #2b4c7e; }
button.gevaar { background: #fff; color: #b3261e; border-color: #b3261e; }
.fout { color: #b3261e; font-weight: 600; min-height: 1.2em; margin: .75rem 0 0; }
.lijst-kop { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lijst-kop label { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: normal; }
.lijst-kop select { width: auto; }
#advertentie-lijst { list-style: none; padding: 0; margin: 1rem 0 0; }
.advertentie {
  border: 1px solid #dde1e6;
  border-radius: 6px;
  padding: .75rem 1rem;
  margin-bottom: .75rem;
}
.advertentie .boven { display: flex; justify-content: space-between; gap: 1rem; }
.advertentie .titel { font-weight: 700; }
.advertentie .prijs { font-weight: 700; white-space: nowrap; }
.advertentie .meta { color: #555; margin: .3rem 0; white-space: pre-wrap; word-break: break-word; }
.advertentie .acties { display: flex; justify-content: flex-end; gap: .5rem; }
.leeg { color: #666; font-style: italic; }
