/* ===== Prep Dossiers ===== */
/* Zelfde basisstijl als schermen.css, maar compact gehouden */

html, body { margin:0; padding:0; height:100%; font-family:'Poppins', sans-serif; }
body.config-page{
  background-image: url('assets/achtergrond_blank.png');
  background-size: cover;
  background-repeat:no-repeat;
  background-position:center;
  background-attachment:fixed;
  min-height:100vh;
  color:#E0E0E0;
}

/* ✅ taalbuttons */
.lang-btn{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #ecf3fa;
  cursor: pointer;
  font-weight: 700;
  min-width: 52px;
}
.lang-btn.active{
  background: linear-gradient(90deg, #223046 0%, #396fae 100%);
  border-color: transparent;
  color: #fff;
}

#interface{
  display:flex;
  flex-direction:row;
  gap:40px;
  align-items:flex-start;
  justify-content:center;
  width:100%;
  max-width:1800px;
  margin:0 auto;
  padding:70px 16px 40px 16px;
  box-sizing:border-box;
}

#maincontent{ flex:1 1 600px; max-width:1100px; min-width:0; }

#sidebar{
  flex:0 0 350px;
  width:350px;
  min-width:250px;
  max-width:420px;
  padding:20px;
  color:#E0E0E0;
  border-radius:6px;
  border:1px solid #E0E0E0;
  background-color: rgba(255,255,255,0.171);
  max-height:90vh;
  overflow-y:auto;
  box-sizing:border-box;
}

.page-title h1{ margin:0; font-size:28px; }
.subtitle{ margin:6px 0 18px 0; opacity:0.9; }

.card{
  background-color: rgba(255,255,255,0.171);
  border:1px solid #E0E0E0;
  border-radius:10px;
  padding:14px;
  margin-bottom:14px;
}

.step-header{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-bottom:10px;
}

.step-badge{
  width:28px; height:28px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(79,209,197,0.95);
  color:#1E1E2F;
  font-weight:800;
  flex:0 0 28px;
}

.step-title{ font-weight:800; font-size:16px; }
.step-hint{ opacity:0.9; font-size:13px; margin-top:2px; }

.select{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color:#ffffff;
  outline:none;
  font-size:16px;
  box-sizing:border-box;
}

.select option{
  color:#111827;
  background:#ffffff;
}

.select option:checked{
  background:#dbeafe;
}

.select:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(79, 209, 197, 0.35);
  border-color:rgba(79, 209, 197, 0.9);
}

.prep-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap:14px;
  margin-top:12px;
}

.prep-item{
  border:1px solid rgba(224,224,224,0.22);
  border-radius:12px;
  overflow:hidden;
  background: rgba(0,0,0,0.18);
  cursor:pointer;
  transition: transform .12s;
}
.prep-item:hover{ transform: translateY(-2px); }

.prep-item img{
  width:100%;
  height:150px;
  object-fit:cover;
  display:block;
  background: rgba(255,255,255,0.06);
}

.prep-body{
  padding:10px 10px 12px 10px;
}
.prep-name{ font-weight:800; margin:0 0 4px 0; }
.prep-price{ opacity:0.95; font-size:14px; }

.total-bar{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(224,224,224,0.25);
  background: rgba(0,0,0,0.18);
}
.total-label{ font-weight:800; }
.total-sub{ opacity:0.85; font-size:12px; }
.total-amount{ font-weight:900; font-size:18px; }

.actions{ margin-top:12px; display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; }

.export-actions{
  justify-content:flex-start;
}

.btn{
  padding:10px 12px;
  background-color:#4FD1C5;
  color:#1E1E2F;
  border:none;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
}
.btn:hover{ filter: brightness(1.03); }

.melding{ margin-top:10px; color:#FF7B7B; }

.summary-block{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(224,224,224,0.18);
  background: rgba(0,0,0,0.16);
  margin-bottom:12px;
}
.summary-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin:6px 0;
}
.summary-label{ opacity:0.9; }
.summary-value{ font-weight:700; }

.summary-items{
  list-style:none;
  padding:0;
  margin:0;
}
.summary-items li{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 0;
  border-bottom:1px solid rgba(224,224,224,0.12);
}
.summary-items li:last-child{ border-bottom:none; }

.summary-total{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  padding-top:10px;
  border-top:1px solid rgba(224,224,224,0.18);
}

.floating-logo{
  position:fixed;
  top:20px;
  right:20px;
  width:200px;
  height:auto;
  z-index:1000;
  opacity:0.6;
}
#footer{
  position:fixed;
  top:20px;
  right:250px;
  font-size:0.9em;
  color:#E0E0E0;
  padding:5px 10px;
  background:#1E1E2F;
  border-radius:6px;
  z-index:1050;
}

.menu-button{
  position:fixed;
  top:20px;
  left:20px;
  font-size:28px;
  cursor:pointer;
  background:none;
  border:none;
  color:#4FD1C5;
  z-index:1001;
  outline:none;
  box-shadow:none;
}
.menu-button.active{ color:white; }

.sidemenu{
  position:fixed;
  top:0; left:0;
  height:100vh;
  box-sizing: border-box;
  width:265px;
  background: rgba(22, 28, 36, 0.97);
  color:#ecf3fa;
  box-shadow: 8px 0 32px rgba(10,10,20,0.33);
  backdrop-filter: blur(10px) saturate(140%);
  border-top-right-radius:22px;
  border-bottom-right-radius:22px;
  padding:28px 18px 28px 28px;
  padding-top:92px;
  transition: transform 0.32s cubic-bezier(.68, -0.55, .27, 1.55);
  z-index:1000;
  overflow-y:auto;
  transform: translateX(-110%);
}
.sidemenu.open{ transform: translateX(0); }

.sidemenu-section{
  margin-bottom:10px;
}

.sidemenu-title{
  font-size:18px;
  font-weight:700;
  margin:12px 0 4px;
  color:white;
}

.sidemenu ul{
  list-style:none;
  padding-left:10px;
  margin:0;
}

.sidemenu li{
  margin:9px 0;
}

.sidemenu a{
  display:block;
  padding:9px 14px;
  border-radius:9px;
  color:#c8d8ef;
  font-size:16px;
  text-decoration:none;
}
.sidemenu a:hover{
  background: linear-gradient(90deg,#223046 0%,#396fae 100%);
  color:white;
}

.overlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,0.5);
  display:none;
  z-index:999;
}
.overlay.show{ display:block; }

#modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:2000;
}
#modal.show{ display:block; }

#modal .backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.6);
}

.modal-card{
  position:relative;
  width: min(1100px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  background:#25253A;
  border:1px solid rgba(224,224,224,0.22);
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 12px 44px rgba(0,0,0,0.45);
  display:flex;
  flex-direction:column;
}

#modal .card-header{
  flex: 0 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  background: rgba(0,0,0,0.25);
}
#modal .card-header h3{ margin:0; font-size:18px; }

#modal .close{
  cursor:pointer;
  padding:6px 10px;
  border-radius:10px;
  border:1px solid rgba(224,224,224,0.35);
}

#modal .content{
  flex: 1 1 auto;
  padding:14px;
  overflow:auto;
  min-height:0;
}

#modal img{
  width:100%;
  max-width:100%;
  height:auto;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  display:block;
  border-radius:10px;
  border:1px solid rgba(224,224,224,0.18);
}

#modal p{
  margin:10px 0 0 0;
  opacity:0.92;
}

@media (max-width:1100px){
  #interface{ flex-direction:column; gap:0; align-items:stretch; padding:70px 2vw 40px 2vw; }
  #sidebar{ width:100%; max-width:100%; min-width:0; margin-top:18px; }
  #footer{ position:static; margin-top:14px; right:auto; top:auto; }
  .floating-logo{ position:static; width:140px; margin:12px auto; display:block; }
}