* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  display: flex;
  height: 100vh;
  background: #0c0f15;
  color: #eaeaea;
}
#sidebar {
  width: 340px;
  padding: 18px;
  background: #141820;
  border-right: 1px solid #2c3140;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
h1 { font-size: 18px; margin: 0 0 10px; font-weight: 600; }
h2 { font-size: 14px; margin: 14px 0 6px; opacity: 0.9; }
label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  opacity: 0.9;
}
input[type="file"],
input[type="number"],
textarea,
button {
  width: 100%;
  font-size: 13px;
}
input[type="number"] {
  padding: 6px 7px;
  border-radius: 4px;
  border: 1px solid #3e4458;
  background: #1b1f27;
  color: #eee;
  margin-bottom: 8px;
}
textarea {
  background: #050708;
  color: #99ff99;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 8px;
  resize: vertical;
  height: 180px;
  font-family: monospace;
}
button {
  padding: 8px;
  background: #2b7bff;
  border: 1px solid #3768c3;
  border-radius: 4px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin-top: 2px;
}
button.secondary {
  background: #2a2e38;
  border: 1px solid #404652;
}
button.warn {
  background: #b72323;
  border: 1px solid #f04a4a;
}
#mainView { flex: 1; display: flex; flex-direction: column; }
#canvasWrap {
  flex: 1;
  background: #000;
  position: relative;
}
#pcbCanvas { width: 100%; height: 100%; display: block; }
#infoOverlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0,0,0,0.55);
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 4px;
  pointer-events: none;
}

/* Option C – extra hinder bij kopiëren (niet waterdicht) */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
