/* HCN Management — document module (portal Documenten + admin review). Depends on tokens.css + components.css. */

/* Per-member document group in Mijn HCN › Documenten */
.hcn-docs { display: flex; flex-direction: column; gap: var(--hcn-space-5); }
.hcn-doc-group { border: 1px solid var(--hcn-color-border); border-radius: var(--hcn-radius-lg); padding: var(--hcn-space-4); }
.hcn-doc-group__name { font-weight: 700; margin: 0 0 var(--hcn-space-3); }
.hcn-doc-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hcn-space-3); padding: var(--hcn-space-3) 0; border-bottom: 1px solid #eee; }
.hcn-doc-row:last-child { border-bottom: 0; }
.hcn-doc-row__type { font-weight: 600; min-width: 110px; }
.hcn-doc-row__status { flex: 1 1 auto; }
.hcn-doc-reject { background: var(--hcn-color-error-bg); color: var(--hcn-color-error); padding: 10px 12px; border-radius: var(--hcn-radius-md); margin: var(--hcn-space-2) 0; font-size: .95em; }

/* Upload control */
.hcn-upload { display: flex; flex-wrap: wrap; gap: var(--hcn-space-2); align-items: center; margin: var(--hcn-space-2) 0 0; }
.hcn-upload input[type=file] { font-size: 1em; }
/* P0 (0.69.1-dev): a refused upload, beside the control that sent it. Full-width under the row, no side border. */
.hcn-doc-error { flex-basis: 100%; margin: 0; padding: 10px 12px; font-size: 1em; font-weight: 600; color: var(--hcn-color-error); background: var(--hcn-color-error-bg); border-radius: var(--hcn-radius-md); }
.hcn-upload__hint { color: var(--hcn-color-muted); font-size: .9em; flex-basis: 100%; }

/* Admin review preview frame */
.hcn-doc-preview { max-width: 100%; border: 1px solid var(--hcn-color-border); border-radius: var(--hcn-radius-md); }
.hcn-doc-preview img { max-width: 100%; height: auto; display: block; }
.hcn-doc-meta { list-style: none; margin: 0 0 var(--hcn-space-4); padding: 0; }
.hcn-doc-meta li { padding: 4px 0; border-bottom: 1px solid #eee; }
.hcn-doc-versions td { vertical-align: top; }
