/*
 * Footer (templates/components/site_footer.html), the public pages /hulp/, /status/, /contact/
 * (apps/core/pages.py) and the level word on /beheer/status/. Loaded by templates/base.html on EVERY page,
 * after the layout's own stylesheet, so every class here is prefixed (pm-footer, pm-page, staff-level) and
 * the colours fall back to literal values: tokens.css (public, staff) and app.css (seeker) use other names.
 * No inline styles anywhere (CSP).
 */

.pm-footer {
  border-top: 1px solid var(--pm-color-border, #D5DDDE);
  margin-top: 2rem;
  padding: 1rem 1rem 1.5rem;
  font-size: 0.9375rem;
}
.pm-footer__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.pm-footer__list a { color: var(--pm-color-primary, #0F5961); }
.pm-footer__list a:focus-visible { outline: 3px solid #C2872F; outline-offset: 2px; }

/* Seeker layout: on a phone the main navigation is fixed at the bottom; keep the footer above it. */
.app .pm-footer { border-top-color: #DCE3E4; padding-bottom: calc(var(--pm-nav-height, 70px) + 24px); }
.app .pm-footer__list { max-width: 1200px; }
@media (min-width: 64rem) {
  .app .pm-footer { padding-bottom: 1.5rem; }
}

/* Public pages. */
.pm-page h2 { margin-top: 1.75rem; }
.pm-page section { scroll-margin-top: 1rem; }
.pm-page__toc { padding-left: 1.25rem; }
.pm-page__toc li { margin-bottom: 0.25rem; }
.pm-page__labels { list-style: none; padding: 0; }
.pm-page__labels li { margin-bottom: 0.75rem; }
.pm-page__label-word { font-weight: 700; }

.pm-status {
  border: 2px solid #0F5961;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}
.pm-status--storing { border-color: #C2872F; }
.pm-status__text { margin: 0; font-size: 1.25rem; font-weight: 700; }

/* /beheer/status/: the level is always a word; the border only repeats it. */
.staff-level {
  display: inline-block;
  padding: 0 0.5rem;
  border: 2px solid #0F5961;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}
.staff-level--let_op { border-color: #C2872F; }
.staff-level--fout { border-color: #000000; background: #FBF3E6; }
