/* =========================
   RESET & BASIS
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  background: #fafafa;
  color: #000;
}

/* =========================
   MENU - MOBIEL / PORTRET
========================= */
.menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  border-top: 1px solid #dbdbdb;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

.menu a {
  position: relative;
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
}

.menu i {
  font-size: 22px;
  margin-bottom: 4px;
  position: relative; /* referentie voor badge */
}

.menu a.active i {
  font-weight: 900;
}

/* =========================
   BADGE
========================= */
.badge {
  position: absolute;
  top: -4px;       /* boven icon */
  right: -4px;     /* rechts van icon */
  z-index: 10;
  background: #ff3040;
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.badge:empty {
  display: none;
}
.invoerscherm{
  display:flex; 
  flex-direction:column; 
  border-width:1px; 
  border-color:grey; 
  border-radius:15px; 
  padding:15px; 
  border-style:solid;
}
/* =========================
   CONTENT
========================= */
.content {
  padding: 16px;
  padding-bottom: 80px; /* ruimte voor ondermenu mobiel */
}


      .logo {
        width: 160px;
        max-width: 60vw;
        height: auto;
        margin-bottom: 1.5rem;
        align-self: center;
      }

      .modal {
  background-color: white;
  padding: 16px;
  border-radius: 15px;
  width: 95%;
  text-align: center;
  border: solid #1F4164 3px;
  align-self: center;
      display: flex;
    flex-direction: column;
}


/* =========================
   DESKTOP / LANDSCAPE
========================= */
@media (min-width: 768px) {

  .modal {
    display: flex;
    flex-direction: column;
  background-color: white;
  padding: 16px;
  border-radius: 15px;
  width: 50%;
  text-align: center;
  border: solid #1F4164 3px;
  align-self: center;
  margin-top: 100px;
}

  body {
    display: flex;
  }

  /* MENU LINKS */
  .menu {
    top: 0;
    bottom: auto;
    left: 0;
    width: 72px; /* smalle sidebar */
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 16px;
    border-top: none;
    border-right: 1px solid #dbdbdb;
  }

  .menu a {
    width: 100%;
    padding: 16px 0;
    justify-content: center;
    position: relative;
  }

  /* Alleen icons tonen */
  .menu a span {
    display: none;
  }

  .menu i {
    font-size: 24px;
    margin-bottom: 0;
  }

  .menu a:hover {
    background: #f2f2f2;
  }

  /* Tooltip bij hover */
  .menu a::after {
    content: attr(data-label);
    position: absolute;
    left: 80px;
    background: #000;
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.2s ease-in-out;
  }

  .menu a:hover::after {
    opacity: 1;
  }

  /* Content opschuiven */
  .content {
    margin-left: 72px;
    padding-bottom: 16px;
    width: 100%;

  }
  .invoerscherm{
  display:flex; 
  flex-direction:column; 
  width:50%;
  margin-top: 10%;
  margin-left: 25%;
  border-width:1px; 
  border-color:grey; 
  border-radius:15px; 
  padding: 5%;
 
  
  border-style:solid;
}
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* =========================
   HOVER / ACTIVE STATES
========================= */
.menu a:hover i {
  color: #000;
}

.menu a.active i {
  color: #000;
  font-weight: 900;
}


.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, #C4DAF0, #1F4164, #9BBC62);
    color: #fff;
}

  .helft{
  width: 50%;
  font-size: 12px;

  }
/* =========================
   DARK MODE
========================= */
@media (prefers-color-scheme: dark) {
  body {
    background: #121212;
    color: #fff;
  }

  .menu {
    background: #1c1c1c;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
  }

  .menu a:hover {
    background: #2a2a2a;
  }

  .menu a::after {
    background: #fff;
    color: #000;
  }

  .badge {
    background: #ff3040;
    color: #fff;
  }
  .helft{
  width: 50%;
  font-size: 20px;

  }
}

.horizontaal{
  display: flex;
  flex-direction: row;
}
.horizontaalaround{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
}

.foutmelding{
  padding:5px;
  color:red;
}