/* ===== NAVBAR STIJLEN ===== */
/* Navigatiebalk met responsive ontwerp met Flexbox */
.navbar {
  background-color: #2d1b69; /* Donkere achtergrondkleur */
  padding: 1rem; /* Ruimte rondom */
  position: sticky; /* Blijft bovenaan plakken */
  top: 0;
  z-index: 100; /* Zorgt dat het bovenop andere elementen ligt */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtiele schaduw */
  display: flex; /* Flexbox voor horizontale indeling */
  justify-content: space-between; /* Ruimte tussen linkerkant en rechter kant */
  align-items: center; /* Verticaal centreren */
}

.navbar-left {
  flex: 1; /* Neem beschikbare ruimte */
}

.navbar-list {
  display: flex; /* Gebruik Flexbox voor uitlijning */
  list-style: none; /* Geen bolletjes bij lijst */
  margin: 0;
  padding: 0;
  justify-content: center; /* Centreer de items */
  gap: 2rem; /* Ruimte tussen items */
}

.navbar-item {
  margin: 0;
}

.navbar-item a {
  color: white; /* Witte tekst */
  text-decoration: none; /* Geen onderstreping */
  padding: 0.5rem 1rem; /* Ruimte rondom tekst */
  border-radius: 5px; /* Ronde hoeken */
  transition: background-color 0.3s ease; /* Vloeiende overgang */
}

.navbar-item a:hover {
  background-color: rgba(255, 255, 255, 0.1); /* Licht effect bij hover */
}

/* ===== PROFIEL SECTIE IN NAVBAR ===== */
/* Profiel link aan de rechterkant van navbar */
.navbar-profiel {
  display: flex; /* Flexbox voor horizontale indeling */
  align-items: center; /* Verticaal centreren */
  gap: 0.75rem; /* Ruimte tussen icoon en naam */
  color: white; /* Witte tekst */
  text-decoration: none; /* Geen onderstreping */
  padding: 0.5rem 1rem; /* Ruimte rondom */
  border-radius: 10px; /* Ronde hoeken */
  transition: background-color 0.3s ease; /* Vloeiende overgang */
  white-space: nowrap; /* Zorg dat naam niet knipt */
}

.navbar-profiel:hover {
  background-color: rgba(255, 255, 255, 0.15); /* Subtiel hover effect */
}

.profiel-icoon {
  font-size: 1.5rem; /* Groter icoon */
  width: 36px; /* Vaste breedte */
  height: 36px; /* Vaste hoogte */
  display: flex; /* Flexbox voor centreren */
  align-items: center; /* Verticaal centreren */
  justify-content: center; /* Horizontaal centreren */
  background-color: #667eea; /* Paarse achtergrond zie profiel.css */
  border-radius: 50%; /* Rond avatar */
  flex-shrink: 0; /* Zorg dat het niet krimpt */
}

.profiel-naam {
  font-weight: 600; /* Vet tekst */
  font-size: 1rem; /* Normale grootte */
  color: white;
}

/* Responsive design voor mobiel en tablet */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column; /* Stapel verticaal op mobiel */
    gap: 1rem;
  }

  .navbar-left {
    width: 100%; /* Volle breedte */
  }

  .navbar-list {
    flex-direction: column; /* Stapel items verticaal */
    gap: 1rem; /* Minder ruimte */
  }

  .navbar-item a {
    display: block; /* Maak links blok-elementen */
    text-align: center; /* Centreer tekst */
  }

  .navbar-profiel {
    justify-content: center; /* Centreer profiel sectie */
  }
}

/* ===== EINDE NAVBAR STIJLEN ===== */

h1 {
  text-align: center;
  color: whitesmoke;
  font-size: 60px;
}

input {
  width: 60%;
}

button {
  background-color: grey;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

table {
  width: 100%;
}

td.fitwidth {
  width: 1px;
  white-space: nowrap;
}

/* Algemene pagina-opmaak en standaardkleuren. */
html {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #ffffff;
}

a,
a:link,
a:visited {
  color: whitesmoke;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: none;
  color: whitesmoke;
  text-align: center;
}

tr.clicked {
  background-color: #abc;
}

td {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 700;
  min-width: 20px;
}

th {
  background-color: grey;
  color: white;
  font-size: 20px;
}

#clicked {
  background-color: aqua;
}

.container {
  height: 60%;
  overflow-y: scroll;
}

/* Gebruikersinfo en authenticatie-links in de navigatie. */
.auth-link {
  margin-left: auto;
  display: flex;
  gap: 15px;
  align-items: center;
}

.auth-link a,
.auth-link span {
  color: white;
  text-decoration: none;
}

.auth-link a:hover {
  text-decoration: underline;
}

.user-info {
  color: white;
  font-size: 14px;
}