/* Inter, zelf meegeleverd (geen Google Fonts). Licentie: fonts/Inter-OFL.txt */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Inter-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/Inter-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Inter-SemiBold.woff2') format('woff2'); }

:root {
  --navy: #0F2038;
  --navy-deep: #0B1A2F;
  --line: #24395A;
  --field-line: #3A5174;
  --text: #E6E7E8;
  --muted: #A3B3C8;
  --label: #B9C6D6;
  --faint: #8FA2BA;
  --brass: #D9A55B;
  --card-yellow: #F5C518; /* geel van het visitekaartje (".com") */
  --wire: #9AA6B2;        /* bedradingslijn op donker */
  --link: #D6D7D8;
  /* Inter, met systeemletters als reserve als het laden ooit mislukt */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--navy); }

body {
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }
a:hover { color: #FFFFFF; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* Cijfers even breed (telefoonnummers, maten, codes) */
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.strong { font-weight: 500; }

h1 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
h2 { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); }
p { margin: 0 0 10px; }

/* Woordmerk + bedradingslijn */
.brand { display: inline-flex; flex-direction: column; align-items: stretch; gap: 6px; }
.logo { font-size: 18px; font-weight: 500; color: var(--text); text-decoration: none; letter-spacing: -0.01em; padding: 0 7px; }
.logo:hover { color: var(--text); }
.logo-tld { color: var(--card-yellow); }
.wire { display: block; width: 100%; height: 8px; overflow: visible; }
.wire line { stroke: var(--wire); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wire circle { fill: none; stroke: var(--wire); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* Inlogscherm */
.login {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 16px;
}
.card {
  width: 100%; max-width: 400px;
  background: var(--navy-deep);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 32px;
}
.card .brand { margin-bottom: 32px; }
.signin p, .panel p { font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border-radius: 4px;
  background: var(--brass); color: var(--navy);
  font-family: inherit; font-size: 15px; font-weight: 500; text-decoration: none;
}
.btn:hover { background: #E4B672; color: var(--navy); }
.btn-block { display: flex; width: 100%; margin-top: 18px; }

.contact {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.55;
}
.contact p { margin: 0; font-size: 13px; }
.contact-name { font-weight: 500; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; margin: 10px 0 0; }
.contact-list dt { color: var(--faint); font-weight: 500; }
.contact-list dd { margin: 0; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.cert { margin-top: 12px !important; }
.refs { list-style: none; margin: 2px 0 0; padding: 0; color: var(--faint); font-size: 12px; }

.copy { margin: 16px 0 0; color: var(--faint); font-size: 12px; }

/* Portaal en documentlijst */
.portal-page { min-height: 100vh; padding: 32px 0 64px; }
.brand-top { margin-bottom: 48px; }
.portal { width: 100%; display: flex; flex-direction: column; gap: 40px; }
.portal-head { display: flex; flex-direction: column; gap: 2px; }
.vessel { display: grid; grid-template-columns: max-content 1fr; gap: 2px 16px; margin: 8px 0; font-size: 14px; }
.vessel dt { color: var(--muted); }
.vessel dd { margin: 0; }

.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 140px;
  gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.doc-name { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.doc-name:hover { text-decoration: underline; }
.doc-meta { color: var(--faint); text-align: right; }

@media (max-width: 640px) {
  .doc-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc-meta { text-align: left; }
}

@media (max-width: 440px) {
  .login { justify-content: flex-start; padding-top: 24px; }
  .card { padding: 24px 20px; }
}
