/* =========================================================
   1. ALGEMEEN
   ========================================================= */
body {
    font-family: "Source Sans Pro", Arial, sans-serif;
    background: #f8f9fa;
    margin: 0;
    padding: 30px;
    color: #22385f;
    font-size: 14px;
}

a {
    text-decoration: none;
}


/* =========================================================
   2. layout alle pagina's - CONTAINER & HEADINGS
   ========================================================= */
.container {
    background: #fff;
    padding: 30px;
    max-width: 960px;
    text-align: center;
    margin: auto;
    border-radius: 25px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}


    h1 {
    text-align: center;
    color: #22385f;
    font-size: 24px;
}
    h2 {
    text-align: center;
    color: #22385f;
    font-size: 20px;
}

.page-opslag_overzicht h2 {
    text-align: left;
}


/* =========================================================
   3. STORAGEWIJZER – FORM & TOOLTIP
   ========================================================= */

fieldset {
    border: 1px solid #ddd;
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
}

legend {
    font-weight: bold;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 14px;
}

/* Tooltip */
label.with-tip {
    position: relative;
    cursor: help;
}
label.with-tip .tip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 100%;
    width: 320px;
	font-weight: 400;
    background: transparant;
    border: 1px solid #dce3ef;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: opacity .15s ease-in-out;
    z-index: 10;
}
label.with-tip:hover .tip {
    visibility: visible;
    opacity: 1;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    font-weight: bold;
    border: none;
    background-color: #22385f;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #EE2840;
}

.toggle-adv {
    margin-top: 10px;
}

/* Linkkleur binnen teksten */
.href-link {
    color: #EE2840;
	font-weight: bold;
}
.href-link:hover {
    text-decoration: underline;
}


/* Linkkleur email */
.href-link-email {
    color: #22385f;
	font-weight: bold;
}
.href-link-email:hover {
	color: #EE2840;
    text-decoration: underline;
}

.hier-link {
    color: #EE2840; 
	font-weight: bold;
}
.hier-link:hover {
    color: #EE2840; 
	text-decoration: underline;
}

/* Adviescontainer*/
#adviesResultaat {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Witte kaart voor de tekst zelf */
#adviesText {
    background-color: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 6px;
}

/* Microsoft-style Info icoon introtekst */
.info-icon {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-left: 1px;
  cursor: help;
}

.info-svg {
  width: 12x;
  height: 12px;
  stroke: #22385f;          
  fill: none;
  stroke-width: 2;
  opacity: 0.9;
}

.info-icon:hover .info-svg {
  stroke: #1e40af;
}


.info-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 18px;
  left: 0;
  width: 280px;
  background: white;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 400;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: opacity 0.15s ease-in-out;
  z-index: 50;
}

.info-icon:hover .info-tooltip {
  visibility: visible;
  opacity: 1;
}



/* =========================================================
   4. layoutO PSLAG_OVERZICHT
   ========================================================= */

.shadowed {
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    border-radius: 20px;
    background: #fff;
    padding: 30px;
}

.page-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
}

.back-link {
    font-weight: 400;
    color: #40567e;
}
.back-link:hover {
    font-weight: 700;
    color: #22385f;
}

.layout {
    display: flex;
    gap: 24px;
}

.sidebar {
    background: #fff;
    border: 1px solid #dce3ef;
    border-radius: 16px;
    padding: 16px;
    min-width: 250px;
}

.sidebar h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

/* Sidebar lijst */
.nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item {
    display: block;
    width: 100%;
    padding: 6px 8px;
    margin: 2px 0;
    background: transparent;
    border: none;
    color: #6c757d;
	font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: .15s;
    font-size: 15px;
}
/* Hover item = blauw */
.nav-item:hover {
    background: transparent !important;
	color: #22385f;
    font-weight: 600;
}

/* Actief item = rood */
.nav-item.active {
    color: #EE2840 !important;
    font-weight: 600;
}

/* Rechter blok */
.content {
    flex: 1;
    background: #fff;
    border: 1px solid #dce3ef;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.content h1 {
    font-size: 16px;
}

/*.kv {
//  display: grid;
  grid-template-columns: 240px 1fr;
  row-gap: 6px;
  column-gap: 12px;
  margin-top: 12px;
}

.kv b {
  font-weight: 600;
  text-align: left;
}

.kv span {
  text-align: left;
}*/

/* uitlijning vertrouwelijkheid rechtse kolom */
.kv {
  display: grid;
  grid-template-columns: 220px 1fr;
  row-gap: 10px;
  column-gap: 12px;
  margin-top: 16px;
}

/* labels */
/*.kv b {
  font-weight: 600;
  white-space: nowrap;
}
*/
/* waarden */
/*.kv span {
  text-align: left;
  line-height: 1.4;
}
*/
.kv span,
.kv a {
  text-align: left !important;
}

.kv .conf-label {
  display: inline-block;
  text-align: left !important;
  padding-left: 10px;
}

.conf-label {
  text-align: left !important;
  display: inline-block;
  width: 100%;
}




/* Vertrouwelijkheid badges */

.conf-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
}

.conf-badge {
  text-decoration: none;
}

.conf-badge:hover {
  text-decoration: underline;
  opacity: 0.9;
}



/* Publiek */
.conf-publiek {
  background: #e8f0fe;
  color: #1a73e8;
}

/* Intern */
.conf-intern {
  background: #e6f4ea;
  color: #137333;
}

/* Vertrouwelijk */
.conf-vertrouwelijk {
  background: #fff3cd;
  color: #b58100;
}

/* Strikt vertrouwelijk */
.conf-strikt {
  background: #fdecea;
  color: #b02a37;
}


/* =========================================================
   5. layou tabellen VERTROUWELIJKHEIDSNIVEAUS
   ========================================================= */

.table-wrap { overflow-x: auto; }

table.overview {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}
table.overview th,
table.overview td {
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-align: left;
}

.badge { 
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #dce3ef;
    white-space: nowrap;
}
.badge.blue { background: #90d5ff; }
.badge.green { background: #a8dcab; }
.badge.orange { background: #FAB972; }
.badge.red { background: #CD5C5C; }


/* =========================================================
    mobiele devices
   ========================================================= */
@media (max-width: 900px) {
    .layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}


/* FIX voor transparante tooltip  */
label.with-tip .tip {
    background: white !important;      
    border: 1px solid #dce3ef !important;
    color: #22385f !important;           
    opacity: 1;                          
}


/* Advies titel link */
.advies-link {
  color: #22385f;
  font-weight: 600;
  text-decoration: none;
}

.advies-link:hover {
  color: #EE2840;
  text-decoration: underline;
}

/* link naar kennisartikel of ticket */
.extra-link a {
  color: inherit;           /* zelfde kleur als gewone tekst */
  font-weight: 500;
  text-decoration: none;
}

.extra-link a:hover {
  color: #EE2840;
  text-decoration: underline;
}

.extra-link {
  margin-top: 56px;
}

.extra-link a::before {
  content: "→ ";
  font-weight: 600;
}



