/* Basisinstellingen */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Calibri, Arial, sans-serif;
  font-size: 12px; /* overal consistent */
  background-color: #feb800; /* Heijmans geel */
  color: #00346a;
  line-height: 1.4;
}

/* Wrapper */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: #feb800;
  color: #00346a;
  padding: 10px 0;
}

header h2 {
  margin: 0;
  font-size: 16px; /* net iets groter */
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 8px;
}

/* Container met panels */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px 0;
  justify-content: center;
}

.panel {
  background: #fffdf5;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  padding: 15px;
  flex: 1 1 300px;
  max-width: 360px;
}

/* Koppen en labels */
h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 14px; /* iets groter dan basis */
  color: #00346a;
}

label {
  font-weight: bold;
  font-size: 12px;
  display: block;
  margin-top: 6px;
  margin-bottom: 3px;
}

/* Inputs en knoppen */
input,
select,
button {
  width: 100%;
  padding: 6px 8px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #00346a;
  font-size: 12px;
}

input,
select {
  background-color: #fffbe6;
  color: #00346a;
}

button {
  background-color: #00346a;
  color: #feb800;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #001e3e;
}

/* Progress bar */
progress {
  width: 100%;
  height: 16px;
  margin-bottom: 10px;
}

/* Onderdelenlijst */
#partsForm .part-item {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

#partsForm input[type=checkbox] {
  margin-right: 6px;
}

#partsForm .part-label {
  font-size: 12px;
}

/* Downloadknoppen */
#downloadButtons button {
  margin-bottom: 5px;
  font-size: 12px;
  padding: 6px 8px;
}

/* Geselecteerde onderdelen */
#selectedOverview {
  margin-top: 12px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f9f9f9;
  font-size: 12px;
}

#selectedOverview h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

/* Zaagresultaat lijst */
.beam-list {
  list-style: none;
  padding-left: 0;
  font-size: 12px;
}

.beam-list li {
  margin-bottom: 3px;
}

/* Footer */
footer {
  background-color: #feb800;
  color: #00346a;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-weight: bold;
  margin-top: 15px;
  font-size: 12px;
}

.footer-logo {
  height: 30px;
}

/* Responsiveness */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: stretch;
  }
  .panel {
    max-width: 100%;
  }

}
#partsForm .part-item {
  display: grid;
  grid-template-columns: 20px 1fr; /* eerste kolom checkbox, tweede tekst */
  align-items: start;
  gap: 6px;
  margin-bottom: 6px;
}

#partsForm input[type=checkbox] {
  margin: 2px 0 0 0; /* centreren */
}

#partsForm .part-label {
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
}

header {
  background-color: #feb800;
  color: #00346a;
  padding: 10px 0;
}

header h2 {
  margin: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
}
