/* Algemene reset en basisinstellingen */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #000000; /* zwart */
  color: #111;
  font-size: 11pt;
}

/* Koppen */
h1, h2, h3 {
  margin-top: 0;
  color: inherit;
}

/* Headerbalk */
header {
  background-color: #8B0000; /* bordeauxrood */
  color: white;
  padding: 20px;
  text-align: center;
}

/* Knoppen bovenin header */
.header-buttons {
  margin-top: 10px;
}

.header-buttons a,
.header-buttons button {
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  border: 3px solid #4A0000;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.4), -3px -3px 6px rgba(255,255,255,0.1);
  font-size: 1em;
  margin: 5px;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}

.header-buttons a:hover,
.header-buttons button:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.4);
}

/* Main content blok */
main {
  padding: 30px;
  max-width: 700px;
  margin: 25px auto 70px auto; /* ← voegt 25px ruimte bovenaan toe */
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}


/* Algemene knoppen */
button {
  background-color: #8B0000;
  color: white;
  padding: 10px 20px;
  border: none;
  margin-top: 20px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #a50000;
}

/* Inputvelden */
input[type="text"],
input[type="password"],
select {
  width: 100%;
  padding: 8px;
  margin: 8px 0 20px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Niet-actieve items */
.disabled {
  color: #aaa;
}

/* Pop-up overlay */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  z-index: 10;
  border-radius: 10px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 5;
}

/* Invoervragen */
.vraag-blok {
  margin-bottom: 30px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #ffffff;
}

.antwoord-rij {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.antwoord-rij input[type="text"] {
  flex: 1;
  margin-right: 10px;
}

.antwoord-rij span {
  min-width: 30px;
  display: inline-block;
}

.antwoord-label {
  min-width: 25px;
  font-weight: bold;
}

.antwoord-tekst {
  flex-grow: 1;
}

.antwoord-karakter {
  min-width: 25px;
  text-align: right;
  font-weight: bold;
}

/* Kleine knop */
.btn-klein {
  padding: 5px 10px;
  margin-top: 5px;
  font-size: 0.9em;
}

/* Footer onderaan pagina */
footer {
  background-color: #8B0000;
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 11px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  color: #ddd;
}

.responscode {
  margin-top: 15px;
  padding: 12px;
  background: #f1f1f1;
  border-radius: 6px;
  font-family: monospace;
  text-align: left;
  line-height: 1.4;
}

.responscode strong {
  color: #8B0000;
}
