* {
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: black;
}

* table, td, th {
  padding: 5px;
  border: 1px solid;
  border-collapse: collapse;
}

:root {
  --MMBGeel: #FFED3B;
  --MMBTurquoise: #38D1B5;
  --MMBGrey: #F7F7F7;
}

header {
  height: 100px;
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

header .img {
  padding-top: 2.4em;
  width: 160px;
  height: min-content;
}

header a img {
  width: inherit;
}

header > section a {
  display: inline-block;
  width: 200px;
  height: 50px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  align-content: center;
  margin: 20px 10px;
  transition: 0.2s;
}

header > section a:hover {
  background-color: var(--MMBGeel);
  transition: 0.2s;
}

header .active {
  background-color: var(--MMBTurquoise);
  transition: 0.2s;
}

footer .active {
  text-decoration: underline;
}

main {
  margin-bottom: 100px;
}

footer {
  position: fixed;
  height: 50px;
  width: 100vw;
  bottom: 0px;
  background-color: var(--MMBGeel);
  align-content: center;
  text-align: center;
}
footer > span {
  font-weight: 600;
  text-decoration: none;
}
footer a {
  text-decoration: none;
}

.ai-busywrap { position: relative; }

/* dunne voortgangsbalk bovenin de card */
.ai-busybar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  opacity: 0;
  pointer-events: none;
}

.ai-busybar::before {
  content: "";
  position: absolute;
  top: 0; left: -40%;
  height: 100%;
  width: 40%;
  background-color: #111;
  animation: ai-indeterminate 1s infinite linear;
}

@keyframes ai-indeterminate {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* overlay over de card (zodat je ZIET: bezig) */
.ai-busyoverlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.65);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
}

.ai-busyspinner {
  width: 18px; height: 18px;
  border: 2px solid #ddd;
  border-top-color: #111;
  border-radius: 999px;
  animation: ai-spin 0.8s linear infinite;
}

@keyframes ai-spin { to { transform: rotate(360deg); } }

.ai-busytext { font-size: 13px; opacity: 0.85; }

/* actief */
.ai-busy.is-busy .ai-busybar { opacity: 1; }
.ai-busy.is-busy .ai-busyoverlay { opacity: 1; pointer-events: all; }