/* Beheer en bedrijfsportaal I love Westendorf */
:root { --green: #1f4d3a; --green-2: #2f6b4f; --mint: #e8f2ec; --red: #d6283b; --ink: #1d2b24; --muted: #66746d; --line: #dfe6e2; --bg: #f5f7f6; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--green-2); }
h1 { font-size: 1.6rem; margin: 0; color: var(--green); }
h2 { font-size: 1.15rem; margin: 0 0 .6rem; color: var(--green); }
.muted { color: var(--muted); } .small { font-size: .87rem; }
.abar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--green); color: #fff; padding: .6rem 1.2rem; }
.abar a { color: #fff; }
.abar__logo { font-weight: 800; white-space: nowrap; text-decoration: none; color: #fff; }
.abar__logo span { color: #ff8a96; }
.anav { display: flex; gap: .2rem; flex-wrap: wrap; flex: 1; }
.anav a { padding: .35rem .7rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.anav a.is-active, .anav a:hover { background: rgba(255,255,255,.14); }
.abar__right { display: flex; gap: 1rem; align-items: center; margin-left: auto; }
.pill { background: var(--red); color: #fff; border-radius: 99px; padding: 0 .45rem; font-size: .75rem; }
.linkbtn { background: none; border: 0; color: inherit; cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }
.amain { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.ahead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ahead__actions { display: flex; gap: .5rem; }
.flash { background: var(--mint); border: 1px solid #b9d8c5; padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.flash--err { background: #fde8ea; border-color: #f2b8bf; }
.flash--warn { background: #fff5dc; border-color: #f0d68b; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.stack { display: grid; gap: 1rem; }
.row { display: flex; gap: .5rem; align-items: center; }
.row--wrap { flex-wrap: wrap; margin-bottom: .6rem; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.field { display: grid; gap: .3rem; }
.field__label { font-weight: 700; font-size: .9rem; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=date], input[type=search], select, textarea { font: inherit; padding: .55rem .7rem; border: 1px solid #cfd8d3; border-radius: 8px; background: #fff; width: 100%; }
.row input, .row select { width: auto; }
textarea { resize: vertical; }
.check { display: flex; gap: .45rem; align-items: center; font-size: .92rem; }
.btn { background: var(--red); color: #fff; border: 0; border-radius: 99px; padding: .6rem 1.2rem; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.btn--ghost { background: #fff; color: var(--green); border: 1px solid var(--line); }
.btn--small { padding: .35rem .8rem; font-size: .85rem; }
.trans { border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem 1rem; background: #fff; margin: 0; }
.trans legend { font-weight: 800; color: var(--green); padding: 0 .3rem; }
.trans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
@media (max-width: 900px) { .trans__grid { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 1rem; }
.table th, .table td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: #f0f4f2; font-size: .85rem; }
.table tr.is-done { opacity: .55; }
.diff__old { background: #fff6f6; } .diff__new { background: #f2fbf5; }
.tag { display: inline-block; padding: .1rem .55rem; border-radius: 99px; background: #eef1ef; font-size: .78rem; font-weight: 700; }
.tag--ok { background: var(--mint); color: var(--green); } .tag--warn { background: #fff0c2; color: #7a5600; text-decoration: none; } .tag--red { background: #fde3e6; color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; text-decoration: none; color: var(--ink); display: grid; }
.stat b { font-size: 1.8rem; color: var(--green); }
.thumb { width: 200px; max-width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.thumb--logo { width: 100px; object-fit: contain; background: #fff; padding: 4px; }
.thumb--sm { width: 90px; display: inline-block; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.thumbs__item { display: grid; gap: .3rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .4rem; font-size: .85rem; }
.thumbs__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.danger { margin-top: 2rem; }
.langs { display: inline-flex; gap: .2rem; }
.langs a { padding: .15rem .45rem; border-radius: 6px; font-size: .8rem; text-decoration: none; }
.langs a.is-active { background: #fff; color: var(--green); }
body.login, .loginbox { }
body.login { display: grid; place-items: center; min-height: 100vh; }
.loginbox { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2rem; width: min(420px, 100% - 32px); display: grid; gap: 1rem; margin: 2rem auto; }
.loginbox .abar__logo { color: var(--green); }
nav[role=navigation] { margin: 1rem 0; }
