@font-face {
  font-family: 'FunnelSans';
  src: url('fonts/FunnelSans-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: 'FunnelSans', Arial, sans-serif;
}

body {
    margin: 40px;
}
.nav-button {
    display: inline-block;
    padding: 14px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 15px;
    font-size: 16px;
    background: #f9f9f9;
}
.nav-button:hover {
    background: #eee;
}

:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #111827;
  --danger: #b91c1c;
  --ok: #065f46;
}

* {
  box-sizing: border-box;
}

h6{
  font-size: 13px;
  font-weight: bold;
  text-decoration: underline;
  margin: 0px;

}

.pagemaster{
  width: 1200px;
}

.pagetitle {
    font-size: 22px;
    font-weight: 800;
    margin: 4px 0 0 0;
    line-height: 1.15;
}

.wrap {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.left{text-align:left;}
.right{text-align:right;}
.nowrap{white-space:nowrap;}


.card {
  padding: 0 0 20px 0;
}


.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid {
  display: grid;
}

.mini {
  font-size: 12px;
  color: var(--muted);
}

.muted {
  color:#666;
}

.mono {
  font-family: monospace;
}

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  /*margin-bottom: 12px;*/
}

input[type="text"],
input[type="date"],
select {
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}
/* Eén definitie voor ALLES */
.btn,
button.btn,
input.btn {
  color: #000;
  border: solid 1px #ccc;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  /*font-weight: 600;*/
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hover */
.btn:hover,
button.btn:hover,
input.btn:hover {
  opacity: 0.9;
}

/* Danger variant */
.btn.danger,
button.btn.danger,
input.btn.danger {

}

.btn.small{
  padding:3px;
}



.err {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: var(--danger);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.ok {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: var(--ok);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;

}

.nav-card{
  display:block;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:22px;
  text-decoration:none;
  color:var(--text);
  transition:all 0.15s ease;
}

.nav-card:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 10px rgba(0,0,0,0.06);
}

.nav-icon{
  font-size:32px;
  margin-bottom:10px;
}

.nav-title{
  font-weight:700;
  font-size:16px;
  margin-bottom:6px;
}


.num{
  text-align: right;
}



.table-wrap{/*max-width: 1200px;*/border:1px solid #eee; /*border-radius:14px;*/ overflow:hidden; background:#fff;}
.master-table{border-collapse:collapse;}
.table-scroll{max-height:70vh; overflow:auto;}

.master-table thead th{
  background:#fafafa;
  position: sticky;
  top: 0;
  z-index: 5;
  font-weight:600;
  border-bottom:1px solid #eee;
  padding:10px 12px;
  vertical-align:top;
}
.master-table tbody td{
  border-bottom:1px solid #f0f0f0;
  padding:10px 12px;
  vertical-align:top;
}

.clickable-row {
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.clickable-row:hover {
  background: #f7f9fc;
  box-shadow: inset 4px 0 0 #222; /* subtiele linker accentlijn */
}

.clickable-row:active {
  transform: translateY(1px);
  background: #eef2f7;
}


.cardx{
  margin-bottom: 18px;
}



/* =========================
   TOOLBAR / META
   ========================= */
.toolbar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.toolbar-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-left:auto;
}
.meta-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border:1px solid #ddd;
  border-radius:999px;
  background:#fafafa;
  font-size:13px;
  color:#333;
}

/* =========================
   PAGE SUMMARY / FILTER BAR
   ========================= */
.modelcheck-topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  flex-wrap:wrap;
}
.modelcheck-info{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.summary-label{
  font-size:14px;
  color:#666;
}
.summary-value{
  font-size:20px;
  font-weight:700;
  line-height:1;
  letter-spacing:-0.02em;
}
.summary-note{
  font-size:13px;
  color:#777;
}
.modelcheck-select{
  min-width:280px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.modelcheck-select select{
  min-width:280px;
}

/* =========================
   TABLE WRAPPER
   ========================= */
.table-wrap{
  margin:0;
}
.table-scroll{
  overflow:auto;
  max-height:calc(100vh - 360px);
  min-height:260px;
  border:1px solid #ddd;
  background:#fff;
}

/* =========================
   STANDARD DATA TABLE
   ========================= */
.data-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.data-table th,
.data-table td{
  padding:8px 10px;
  border-bottom:1px solid #eee;
  vertical-align:top;
  text-align:left;
}
.data-table th{
  position:sticky;
  top:0;
  z-index:2;
  background:#fafafa;
  font-size:11px;
  white-space:nowrap;
}
.data-table .num{
  text-align:right;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

/* =========================
   INPUTS IN TABLES
   ========================= */
.cell-input{
  width:100%;
  min-width:120px;
  padding:6px 8px;
  border:1px solid #d6d6d6;
  border-radius:6px;
  background:#fff;
  font:inherit;
}
.cell-input:focus{
  outline:none;
  border-color:#999;
}
.cell-input.is-mixed{
  background:#fff8e1;
  border-color:#e4c46a;
}

/* =========================
   UTILITY
   ========================= */
.empty-cell{
  text-align:center !important;
  color:#777;
  padding:20px !important;
}
.mono{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size:12px;
}
.muted{
  color:#888;
}
