.section-title { background:#1f3a5f; color:#fff; }
.photo { width:140px; height:170px; object-fit:cover; border:1px solid #ccc; }
#blazor-error-ui { color-scheme: light only; }
.validation-message, .validation-errors { color:#dc3545; font-size:.8rem; }

/* ===== Word-page look of the data entry form ===== */
.wf-bar { position:sticky; top:0; z-index:20; display:flex; justify-content:space-between; align-items:center; gap:12px;
          background:#fff; padding:8px 14px; border-bottom:1px solid #ced4da; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.wf-bg { background:#d9dde1; padding:18px 8px; margin-top:14px; }
.wf-sheet { background:#fff; max-width:920px; margin:0 auto; padding:26px 30px 32px; box-shadow:0 1px 8px rgba(0,0,0,.3);
            font-family:Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size:15px; color:#000; }
.wf-title { text-align:center; font-weight:700; font-size:15px; letter-spacing:.2px; margin-bottom:10px; }
table.wf { width:100%; border-collapse:collapse; table-layout:fixed; }
table.wf td { border:1px solid #000; padding:0; vertical-align:middle; position:relative; }
table.wf td.wf-h { background:#d8d8d8; text-align:center; font-weight:700; font-size:19px; padding:4px 6px; }
table.wf td.wf-h small { font-size:11px; }
table.wf td.wf-l { background:#f1f1f1; padding:4px 6px; }
table.wf td.wf-l small { font-size:11px; }
table.wf td.wf-top { vertical-align:top; }
table.wf td.wf-assoc { font-weight:700; font-size:12.5px; line-height:1.45; }
.wf-small { font-size:13px; }
.wf-gray { background:#f1f1f1; } .wf-pink1 { background:#f1dada; } .wf-pink2 { background:#f4cccc; }
.wf-c { text-align:center; } .wf-b { font-weight:700; }
.wf-in { display:block; width:100%; min-width:0; border:0; background:transparent; padding:4px 6px; font:inherit; color:inherit;
         outline:none; box-sizing:border-box; border-radius:0; }
.wf-in:focus { background:#fffbe0; }
select.wf-in { padding:3px 2px; }
textarea.wf-in { resize:none; field-sizing:content; min-height:2em; line-height:1.4; overflow:hidden; }
textarea.wf-lines { min-height:8.4em; }
.wf-name { color:#980000; font-weight:700; }
.wf-status { color:#980000; font-weight:700; font-size:20px; }
.wf-dark { color:#85200c; }
.wf-big { font-size:19px; letter-spacing:.5px; }
.wf-split { display:flex; align-items:center; }
.wf-split .wf-in { flex:1 1 0; }
.wf-split .wf-note { flex:0 0 28%; }
.wf-sep { flex:0 0 auto; padding:0 4px; color:#555; }
.wf-photo { padding:0; background:#f7f7f7; min-height:150px; }
.wf-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.wf-btn { cursor:pointer; position:absolute; right:6px; bottom:6px; background:rgba(255,255,255,.92); border:1px solid #888;
          border-radius:3px; padding:1px 9px; font-size:12px; z-index:2; }
.wf-btn:hover { background:#fff; border-color:#000; }
.wf-btn-inline { position:static; display:inline-block; }
.wf-famimg { padding:4px; min-height:120px; vertical-align:top; }
.wf-famimg img { display:inline-block; max-width:48%; max-height:150px; margin:0 1% 6px 0; vertical-align:top; }
.wf-famtools { font-size:12.5px; }
.wf-chip { display:inline-block; background:#eef1f5; border:1px solid #c5ccd6; border-radius:10px; padding:0 8px; margin:3px 4px 0 0; }
.wf-chip button { border:0; background:none; color:#b00; padding:0 0 0 4px; }
.wf-extra { border-color:#adb5bd; }

/* ===== read-only view of the same page ===== */
table.wf td.wf-v { padding:4px 6px; }
.wf-view .wf-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.wf-fir { display:flex; gap:6px; padding:1px 0; }
.wf-fir span:first-child { flex:0 0 22px; }

/* picture file recorded in the database but not found in the uploads folder */
.photo-missing { width:48px; height:56px; border:1px dashed #b02a37; color:#b02a37; font-size:10px; line-height:1.1;
                 display:flex; align-items:center; justify-content:center; text-align:center; background:#fff5f5; }
.photo-missing-big { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center;
                     padding:8px; color:#b02a37; font-size:12px; background:#fff5f5; }

.wf-btn-left { right:auto; left:6px; }
