/* Accreditatieportaal - huisstijl Praktijkplatform/Elatro: #273746, #3F6E9D, #8EABC9 */
:root { --dark: #273746; --mid: #3F6E9D; --light: #8EABC9; --bg: #f4f6f8; --line: #d9e0e7; --warn: #b3261e; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Quicksand, "Segoe UI", system-ui, -apple-system, sans-serif; color: #1d2833; background: var(--bg); line-height: 1.5; }
a { color: var(--mid); }
h1 { font-size: 1.6rem; margin: .2rem 0 1rem; color: var(--dark); }
h2 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; color: var(--dark); }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
code { background: #e8edf2; padding: 0 4px; border-radius: 3px; }

.top { background: var(--dark); color: #fff; }
.top-inner, .praktijkbar .inner, .content, .foot { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand span { font-weight: 400; color: var(--light); margin-left: 6px; }
.user { display: flex; gap: 14px; align-items: center; }
.user a { color: #fff; }
.user span { color: var(--light); }

.praktijkbar { background: #fff; border-bottom: 1px solid var(--line); }
.praktijkbar .inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; min-height: 52px; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tabs a { padding: 14px 14px 12px; text-decoration: none; color: var(--dark); border-bottom: 3px solid transparent; }
.tabs a.active { border-bottom-color: var(--mid); font-weight: 600; }

.content { padding-top: 24px; padding-bottom: 40px; position: relative; z-index: 1; }
.foot { color: #5b6b7a; font-size: .85rem; padding-bottom: 30px; }
.muted { color: #5b6b7a; font-size: .92em; }
.nowrap { white-space: nowrap; }
.num { text-align: right; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px 28px; }
.narrow { max-width: 680px; }
.button, button.primary { display: inline-block; background: var(--mid); color: #fff; border: 0; border-radius: 6px; padding: 9px 18px; text-decoration: none; font: inherit; cursor: pointer; }
button { font: inherit; padding: 5px 10px; border: 1px solid var(--line); background: #fff; border-radius: 5px; cursor: pointer; }
.notice { background: #fff7e0; border-left: 4px solid #e9a23b; padding: 10px 14px; }

table.list, table.meta { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
table.list th, table.list td, table.meta th, table.meta td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list thead th { background: #e8edf2; color: var(--dark); font-weight: 600; }
table.meta th { width: 16%; color: #5b6b7a; font-weight: 600; }
table.small { font-size: .88rem; }
tr.inactive td { color: #8a98a5; }
tr.late td, .late { color: var(--warn); }
.scroll { overflow-x: auto; }
.bars meter { width: 100%; height: 14px; }
.barcell { width: 60%; }

.tag { display: inline-block; padding: 1px 9px; border-radius: 12px; color: #fff; font-size: .85em; white-space: nowrap; background: #8c8c8c; }
.tag-approved { background: #2e8b47; }
.tag-review { background: #c77d12; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; text-decoration: none; color: inherit; }
.tile strong { display: block; color: var(--mid); font-size: 1.1rem; margin-bottom: 6px; }
.tile:hover { border-color: var(--mid); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 8px; }
.kpis div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.kpis strong { display: block; font-size: 1.6rem; color: var(--dark); }
.kpis span { color: #5b6b7a; font-size: .88rem; }
.kpis .warn strong { color: var(--warn); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.doc { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 28px; margin: 18px 0; overflow-wrap: anywhere; }
.doc img { max-width: 100%; height: auto; }
.doc table { border-collapse: collapse; }
.doc th, .doc td { border: 1px solid var(--line); padding: 4px 8px; }
.doc pre { white-space: pre-wrap; background: #f0f3f6; padding: 8px; }

.crumbs { font-size: .95rem; }
a.dir { font-weight: 600; }
.viewer figure { margin: 0 0 18px; background: #fff; border: 1px solid var(--line); padding: 8px; text-align: center; }
.viewer img { max-width: 100%; height: auto; }
.viewer figcaption { color: #5b6b7a; font-size: .85rem; }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 16px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.form label { display: flex; flex-direction: column; font-size: .9rem; color: #5b6b7a; gap: 4px; }
.form label.check { flex-direction: row; align-items: center; color: inherit; }
.form input[type=text], .form input[type=email], .form input[type=date], .form select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; }
.form.inline { grid-template-columns: repeat(auto-fit, minmax(200px, max-content)); }
td.actions form { display: inline-block; margin: 0 4px 4px 0; }

/* Watermerk over de hele pagina; klikken gaat erdoorheen */
.wm { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.wm-text { fill: rgba(39, 55, 70, .09); font-size: 15px; font-family: sans-serif; }

/* Afdrukken: alleen de melding, geen inhoud */
@media print {
  body * { display: none !important; }
  body::before { content: "Afdrukken is in het accreditatieportaal niet toegestaan."; display: block; padding: 40px; font-size: 18px; }
}

.viewer img.page { width: 100%; max-width: 900px; aspect-ratio: 1 / 1.414; height: auto; background: #fafbfc; }
.pager { display: flex; gap: 16px; align-items: center; }
meter::-webkit-meter-optimum-value { background: var(--mid); }
meter::-moz-meter-bar { background: var(--mid); }
