/* admin.css
   Doel: één centrale ADMIN/INFORMATIEVE stijl (overzicht-achtige uitstraling)
   Gebruik voor: contact/faq/privacy/voorwaarden/login/beheer/dashboards (stap voor stap).

   Let op: werkpagina’s (kalender/overzicht/UVS) blijven hun eigen layout houden. */

/* ========== Basis / variabelen ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }

:root {
  --brand: #2f5f66;
  --brand-hover: #274f55;
  --text: #1a1a1a;
  --bg: #f5f5f5;
  --border: rgba(0,0,0,.12);
  /* Oude homepage: één smalle contentkolom (~900px); rustiger dan 1200/1400px */
  --content-max: 900px;
  /* Header/footer mogen breder dan content voor rust + navigatie */
  --chrome-max: 1400px;
  --page-pad-x: 24px;
}

body {
  color: var(--text);
  background: #fafafa;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Page variants */
body.admin-page--auth { background: var(--bg); }


main a{
    color:#0d7a84;
    text-decoration:none;
    font-weight:600;
}

main a:hover{
    color:#084f56;
    text-decoration:underline;
}


/* ========== Layout ========== */
main {
  width: min(var(--content-max), calc(100% - 2 * var(--page-pad-x)));
  margin: 0 auto;
  padding: 40px 0 56px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* ========== Header (centrale structuur) ========== */
.site-hf {
  background: var(--brand);
  color: #fff;
  padding: 16px var(--page-pad-x);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.site-hf .site-hf__inner {
  max-width: min(var(--chrome-max), 100%);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
}

/* Logo links, page-title midden, accountlinks rechts (top-row). */
.site-hf__top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  text-align: left;
}

.site-hf__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  padding: 4px 0;
}

.site-hf__logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.site-hf__logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(240px, 72vw);
  object-fit: contain;
}

.site-hf__pagetitle {
  color: #fff;
  font-weight: 750;
  letter-spacing: 0.02em;
  font-size: 16px;
  line-height: 1.35;
  opacity: 0.96;
  max-width: 100%;
}

/* ========== Navigatie ========== */
.site-hf__main,
.site-hf__right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.site-hf__main { justify-content: center; padding-top: 2px; }
.site-hf__right { justify-content: flex-end; }

.site-hf__main a,
.site-hf__right a {
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 16px;
  white-space: nowrap;
  opacity: 0.95;
}
.site-hf__main a:hover,
.site-hf__right a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
/* Dropdown uitleg */

.site-hf__main .dropdown{
    position: relative;
}

.site-hf__main .dropdown-menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 340px;
    background: var(--brand);
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
    z-index: 99999;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.site-hf__main .dropdown-menu a{
    display: block;
    padding: 12px 18px;
}

.site-hf__main .dropdown:hover .dropdown-menu{
    display: block;
}
/* ========== ADMIN UI primitives ========== */
h1, h2, h3 { line-height: 1.28; margin: 1.35rem 0 0.7rem; }
h2 { font-size: 1.5625rem; font-weight: 750; letter-spacing: -0.012em; }
h3 { font-size: 1.125rem; font-weight: 680; opacity: 0.94; }

main p { margin: 0 0 1em; }
main li { margin: 0.35em 0; line-height: inherit; }

table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid #ddd; padding: 14px 16px; text-align: left; vertical-align: top; }
th { background-color: #f2f2f2; }

label { font-weight: 700; }
select, input, textarea { font: inherit; }

button, .btn { cursor: pointer; }
button[type="submit"] {
  width: 100%;
  padding: 1em;
  background-color: var(--brand);
  color: #fff;
  border: none;
  border-radius: 6px;
}
button[type="submit"]:hover { background-color: var(--brand-hover); }

/* Homepage-secties: kolommen/spacing zoals vroeger; geen nieuwe HTML nodig */
.overview-section {
  margin-bottom: 2.75rem;
}
.overview-section > div {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem 1.5rem;
  flex-wrap: wrap;
}
.overview-section > div > img {
  width: 250px;
  max-width: min(250px, 42vw);
  height: auto;
  flex-shrink: 0;
}
.overview-section > div > div {
  flex: 1 1 280px;
  min-width: 0;
}

/* urenregistratie.php hero: float + display:contents op inner wrapper zodat tekst onder het plaatje doorloopt */
.urenregistratie-page .overview-section > div {
  display: block;
}
.urenregistratie-page .overview-section > div::after {
  content: "";
  display: table;
  clear: both;
}
.urenregistratie-page .overview-section > div > img {
  float: left;
  width: 250px;
  max-width: min(250px, 42vw);
  height: auto;
  margin: 0 1.5rem 0.75rem 0;
  flex-shrink: unset;
}
.urenregistratie-page .overview-section > div > div {
  display: contents;
  flex: unset;
  min-width: 0;
}
@media (max-width: 36rem) {
  .urenregistratie-page .overview-section > div > img {
    float: none;
    display: block;
    margin: 0 auto 1rem;
    max-width: min(280px, 100%);
  }
}

/* Blog/artikelpagina’s (artikelen_blogs/*.php) */
.artikel-blok::after {
  content: "";
  display: table;
  clear: both;
}
.artikel-foto-links {
  float: left;
  width: 320px;
  max-width: 45%;
  height: auto;
  margin: 0 25px 15px 0;
  border-radius: 12px;
}
blockquote.transport-quote,
.transport-quote {
  clear: both;
  display: block;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: #e8f4f6;
  border-left: 6px solid #2f5f66;
  border-radius: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.55;
  font-style: italic;
  color: #1a4a52;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
@media (max-width: 36rem) {
  .artikel-foto-links {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1rem;
  }
  blockquote.transport-quote,
  .transport-quote {
    margin: 1.5rem 0;
    padding: 1rem 1.15rem;
    font-size: 1.05rem;
  }
}

/* tarieven.php — zelfde contentbreedte als overige publieke pagina’s (--content-max); eigen kleuren/typografie */
main.tarieven-page {
  width: min(var(--content-max), calc(100% - 2 * var(--page-pad-x)));
  margin: 0 auto;
  padding: 40px 0 56px;
  background: #f5f5f5;
  box-shadow: none;
  color: #1e293b;
  font-family: Arial, Helvetica, sans-serif;
}
.tarieven-page h1 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1.25rem;
  line-height: 1.15;
  color: #1e293b;
}
.tarieven-page .tarieven-intro {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.375rem);
  line-height: 1.7;
  color: #334155;
}
.tarieven-page .tarieven-intro p {
  margin: 0 0 1rem;
}
.tarieven-page .tarieven-intro p:last-child {
  margin-bottom: 0;
}
.tarieven-page .tarieven-uitleg {
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 50px;
  line-height: 1.8;
  color: #334155;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.tarieven-page .tarieven-uitleg h2 {
  margin-top: 0;
}
.tarieven-page h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 1.5rem;
  color: #1e293b;
}
.tarieven-page .tarieven-sectie-titel {
  text-align: center;
  margin-top: 2.5rem;
}
.tarieven-page .prijzen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 40px 0 70px;
}
.tarieven-page .prijskaart {
  position: relative;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 22px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
.tarieven-page .prijskaart h3 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  color: #1e293b;
}
.tarieven-page .prijs {
  font-size: clamp(2.25rem, 4vw, 3.625rem);
  font-weight: 800;
  color: #0d7a84;
  line-height: 1.1;
  margin-bottom: 12px;
}
.tarieven-page .prijs span {
  font-size: 18px;
  font-weight: 500;
  color: #666;
}
.tarieven-page .prijs-sub {
  font-size: 18px;
  color: #666;
  margin-bottom: 28px;
}
.tarieven-page .prijskaart p {
  color: #4b5563;
  line-height: 1.7;
  font-size: 17px;
  margin: 0 0 0.75rem;
}
.tarieven-page .prijskaart ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.tarieven-page .prijskaart ul li {
  padding: 7px 0;
  font-size: 16px;
  color: #1f2937;
}
.tarieven-page .prijsknop {
  display: block;
  text-align: center;
  background: #0d7a84;
  color: #fff !important;
  text-decoration: none;
  padding: 15px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  margin-top: 25px;
  border: none;
  cursor: pointer;
}
.tarieven-page .prijsknop:hover {
  background: #0a656d;
  color: #fff !important;
}
.tarieven-page .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d7a84;
  color: #fff;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.tarieven-page .prijskaart.populair {
  border: 3px solid #225967;
  background: #daeef3;
}
.tarieven-page .prijskaart.populair h3,
.tarieven-page .prijskaart.populair p,
.tarieven-page .prijskaart.populair ul li,
.tarieven-page .prijskaart.populair .prijs,
.tarieven-page .prijskaart.populair .prijs span,
.tarieven-page .prijskaart.populair .prijs-sub {
  color: #225967;
}
.tarieven-page .prijskaart.populair .prijsknop {
  background: #225967;
  color: #fff !important;
}
.tarieven-page .prijskaart.populair .badge {
  background: #225967;
}
.tarieven-page .prijskaart--enterprise .prijs {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.tarieven-page .werkcredits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 35px;
}
.tarieven-page .werkcredits-grid .prijskaart {
  padding: 22px;
  text-align: center;
}
.tarieven-page .werkcredits-grid .prijs {
  font-size: 42px;
}
.tarieven-page .werkcredits-grid h3 {
  font-size: 28px;
}
.tarieven-page .tarieven-credits-lead {
  max-width: 720px;
  margin: 0 auto 0.5rem;
  text-align: center;
  color: #4b5563;
  font-size: 17px;
}
.tarieven-page .overview-section {
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.tarieven-page .overview-section h2 {
  margin-top: 0;
}
.tarieven-page .overview-section h3 {
  color: #1e293b;
}
@media (max-width: 900px) {
  .tarieven-page .werkcredits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .tarieven-page .prijzen-grid {
    grid-template-columns: 1fr;
  }
}
.tarieven-page .overview-section blockquote {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #0d7a84;
  background: #f8fafc;
  font-style: italic;
  color: #334155;
}
@media (max-width: 520px) {
  main.tarieven-page {
    padding: 32px 0 48px;
  }
  .tarieven-page .werkcredits-grid {
    grid-template-columns: 1fr;
  }
}

.tarieven-page .tarieven-winkel-link-wrap {
  text-align: center;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.4;
}
.tarieven-page .tarieven-winkel-link {
  color: #0d7a84;
  font-weight: 600;
  text-decoration: underline;
}
.tarieven-page .prijskaart.populair .tarieven-winkel-link {
  color: #225967;
}
.tarieven-page .prijskaart.populair .tarieven-winkel-link:hover {
  color: #163d47;
}

.cta-section {
  margin-top: 2rem;
  text-align: center;
}
.cta-section__btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}
.cta-section__btn:hover {
  background: var(--brand-hover);
}
.intro-section > h2:first-of-type {
  margin-top: 0;
}
.intro-section > h1:first-of-type {
  margin-top: 0;
}
/* Tweede tabel (feature-rijen): zelfde kaart-raster als voorheen, iets zachtere randen */
.intro-section table:not(.info-table) td {
  border-color: #e2e2e2;
  padding: 1rem 1.1rem;
}
.intro-section table:not(.info-table) tr:nth-child(odd) td {
  background-color: #f3f3f3;
}
.intro-section table:not(.info-table) tr:nth-child(even) td {
  background-color: #fff;
}

/* Contact/FAQ minimale page-styling (voorheen aparte files) */
.contact-section,
.faq-section {
  max-width: 100%;
  margin: 0 auto 1.5rem;
  padding: 0 var(--page-pad-x);
}
.contact-form { max-width: 520px; }
.info-table {
  width: 100%;
  max-width: 100%;
  margin: 1.35rem auto 2.15rem;
}
.info-table td {
  padding: 1rem 1rem;
}

/* FAQ specifics (previously inline) */
.faq-section { max-width: min(800px, 100%); margin: 0 auto; padding: 24px var(--page-pad-x) 20px; }
.faq-section h2 { text-align: center; }
.faq-item { cursor: pointer; border-bottom: 1px solid #ddd; padding: 10px; background-color: #f9f9f9; }
.faq-answer { display: none; padding: 10px; background-color: #f4f4f4; color: #333; }
.faq-question { font-weight: 700; color: #333; }
.faq-item:hover { background-color: #e0e0e0; }

/* Login (auth) */
.auth-container {
  max-width: 400px;
  margin: 10vh auto;
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  width: min(400px, calc(100% - 2 * var(--page-pad-x)));
}
.auth-container h2 { text-align: center; margin-top: 0; }
.auth-container form label { display: block; margin-bottom: 10px; }
.auth-container input[type="text"],
.auth-container input[type="password"] {
  width: 100%;
  padding: 8px;
}
.auth-container button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background-color: var(--brand);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}
.auth-container button:hover { background-color: var(--brand-hover); }
.auth-links { text-align: center; margin-top: 15px; }
.auth-links a {
  display: block;
  color: var(--brand);
  text-decoration: none;
  margin: 5px 0;
}
.auth-links a:hover { text-decoration: underline; }
.auth-msg { text-align: center; margin-bottom: 15px; }
.auth-msg--error { color: #b91c1c; }
.auth-msg--status { color: var(--brand); }
.auth-container h1 { text-align: center; margin-top: 0; font-size: 1.35rem; }
.auth-container .btn-logout {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  color: #fff;
  background-color: #d9534f;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 700;
}
.auth-container .btn-logout:hover { background-color: #c9302c; }

/* ========== Footer ========== */
.site-hf--footer {
  position: static;
  top: auto;
  z-index: auto;
  background: var(--brand);
  color: #fff;
  padding: 22px var(--page-pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 0;
  text-align: center;
  font-size: 16px;
}

.site-hf--footer .site-hf__inner {
  max-width: min(var(--chrome-max), 100%);
}

/* Footer layout (admin/informatieve pagina's) */
.site-footer {
  width: 100%;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 24px;
  align-items: start;
  text-align: left;
}
.site-footer__head {
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0 0 10px;
  font-size: 16px;
  opacity: 0.98;
}
.site-footer__text {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.95;
}
.site-footer__link {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0 0 10px;
}
.site-footer__link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.site-footer__col--info .site-footer__head {
  font-size: 17px;
  margin-bottom: 12px;
}
.site-footer__link--major {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 12px;
  line-height: 1.45;
}
.site-footer__bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15px;
  opacity: 0.92;
  text-align: center;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) and (min-width: 601px) {
  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root { --page-pad-x: 16px; }
  .site-hf { padding: 12px var(--page-pad-x); }
  .site-hf__logo { font-size: 19px; }
  .site-hf__logo img {
    height: 38px;
  }
  .site-hf__pagetitle {
    font-size: 15px;
  }
  body { font-size: 16px; }
  main {
    width: min(var(--content-max), calc(100% - 2 * var(--page-pad-x)));
    padding: 28px 0 44px;
    box-shadow: none;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .site-footer__bottom {
    text-align: left;
  }
}

/* ========== Afdrukken: verberg site chrome (o.a. UVS-PDF) ========== */
@media print {
  .site-hf--print-hide {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    border: none !important;
    background: transparent !important;
    color: transparent !important;
    /* WebKit/Safari: soms blijft flex-inhoud zichtbaar zonder kleur op de parent */
    position: absolute !important;
    left: -99999px !important;
    top: 0 !important;
    width: 0 !important;
    clip-path: inset(100%) !important;
    -webkit-print-color-adjust: economy;
    print-color-adjust: economy;
  }

  .site-hf--print-hide *,
  .site-hf--print-hide a {
    display: none !important;
    visibility: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }
}

