
/* ===== Schermen / Indicator configurator ===== */
/* Reused layout ideas from styles.css/styles1.css but kept self-contained */

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;
}

#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:1000px; min-width:0; }
#container{
  position:relative;
  width:100%;
  aspect-ratio: 1144 / 439;
  background-color: rgba(255,255,255,0.171);
  border-radius:4px;
  border:1px solid #E0E0E0;
  overflow:hidden;
}
#heftruck-img{ width:100%; height:auto; display:block; }

.hotspot{
  position:absolute;
  width:22px; height:22px;
  border-radius:50%;
  background: rgba(79,209,197,0.95);
  border:2px solid rgba(255,255,255,0.85);
  cursor:pointer;
  z-index:20;
  box-shadow: 0 0 0 0 rgba(79,209,197,0.6);
  transition: transform .12s, box-shadow .2s;
}
.hotspot:hover{ transform: scale(1.08); box-shadow: 0 0 0 8px rgba(79,209,197,0.18); }
.hotspot.active{ background: dodgerblue; }

#category-panel{
  margin-top:14px;
  background-color: rgba(255,255,255,0.171);
  border:1px solid #E0E0E0;
  border-radius:6px;
  padding:14px;
  min-height:90px;
}

.category-title{
  font-size:18px;
  font-weight:700;
  margin:0 0 10px 0;
}

.option-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:8px 0;
  border-bottom: 1px solid rgba(224,224,224,0.18);
}
.option-row:last-child{ border-bottom:none; }
.option-row label{ display:flex; gap:10px; align-items:flex-start; cursor:pointer; flex:1; }
.option-row input{ margin-top:3px; }

.option-meta{
  display:flex;
  gap:10px;
  align-items:center;
  white-space:nowrap;
}
.price-chip{
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  background: rgba(0,0,0,0.25);
}
.info-btn{
  width:22px; height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(224,224,224,0.55);
  cursor:pointer;
  user-select:none;
  font-weight:700;
  opacity:0.9;
}
.info-btn:hover{ opacity:1; }

#uitleg-container{
  margin-top:12px;
  padding:10px 12px;
  background-color: rgba(255,255,255,0.171);
  border:1px solid #E0E0E0;
  border-radius:6px;
  font-style:italic;
  min-height:20px;
}

#sidebar{
  flex:0 0 350px;
  width:350px;
  min-width:250px;
  max-width:420px;
  padding:20px;
  color:#E0E0E0;
  border-radius:4px;
  border:1px solid #E0E0E0;
  background-color: rgba(255,255,255,0.171);
  max-height:90vh;
  overflow-y:auto;
  box-sizing:border-box;
}
#sidebar ul{ list-style:none; padding:0; margin:0; }
#sidebar li{ margin-bottom:8px; display:flex; justify-content:space-between; gap:10px; }
.remove-btn{
  cursor:pointer;
  opacity:.8;
  border:1px solid rgba(224,224,224,0.4);
  border-radius:6px;
  padding:0 6px;
  line-height:20px;
}
.remove-btn:hover{ opacity:1; }

button{
  padding:10px;
  background-color:#4FD1C5;
  color:#1E1E2F;
  border:none;
  border-radius:6px;
  cursor:pointer;
}
button:hover{ filter: brightness(1.03); }

.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;
}

/* Hamburger + sidemenu, same class names as other pages */
.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;
  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 */
#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;
  max-width:720px;
  width:92vw;
  margin:8vh auto 0 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);
}
#modal .card-header{
  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{
  padding:14px;
}
#modal img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  border:1px solid rgba(224,224,224,0.18);
}
#modal p{ margin:10px 0 0 0; opacity:0.92; }

/* Responsive */
@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; }
}

.searchbar-wrap{
  width:100%;
  position:relative;
  margin-bottom:12px;
}

#optionSearch{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color:#E0E0E0;
  outline:none;
  font-size:16px;
  box-sizing:border-box;
}

#optionSearch::placeholder{ color: rgba(234,234,234,0.75); }

.search-results{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  right:0;
  background: rgba(22,28,36,0.97);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 50;
  overflow:hidden;
  max-height: 280px;
  overflow-y:auto;
}

.search-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  cursor:pointer;
  color:#EAEAEA;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.search-item:hover{ background: rgba(79,209,197,0.12); }

.search-item .meta{
  opacity:0.85;
  font-size:13px;
  white-space:nowrap;
}

.option-row.highlight{
  outline: 2px solid rgba(79,209,197,0.8);
  border-radius: 10px;
  padding: 6px;
}

/* ===== Export buttons layout ===== */
.export-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;                 /* <— afstand tussen knoppen */
  margin-top: 10px;
}

.export-grid button{
  width: 100%;
  padding: 10px 10px;        /* <— meer ademruimte */
  border-radius: 10px;
  line-height: 1.2;
  min-height: 54px;          /* <— zorgt dat tekst niet propt */
  white-space: normal;       /* <— laat 2 lijnen toe */
}

/* kleine tekst op 2de lijn wat rustiger */
.export-grid button small{
  display: block;
  opacity: 0.9;
  font-size: 12px;
  margin-top: 2px;
}

