label {
  width: 60px;
  display: inline-block;
}

#pinCodeFoutmelding {
  color: red;
}

#table .google-visualization-table table.google-visualization-table-table
  th:nth-child(7),
  td:nth-child(7) {
  display: none;
}

/* --- Zoekveld en X-knop --- */
.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 10px 0;
}

.search-box {
  width: 100%;
  border: 1px solid #ccc;
  outline: 0;
  padding: 8px 30px 8px 10px; /* ruimte rechts voor X-knop */
  box-sizing: border-box;
  font-size: 1rem;
}

.search-box:focus {
  border: 2px solid #bebede;
}

/* X-knop netjes gecentreerd en zwevend */
.close-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-10%); /* iets minder dan -50% voor visuele centrering */
  width: 24px;
  height: 24px;
  background-color: gray;
  color: white;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: none;
  font-family: Arial, sans-serif;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}



.search-box:valid ~ .close-icon {
  display: flex; /* belangrijk: flex gebruiken voor centrering */
}
/* --- Responsieve lay-out --- */
@media screen and (max-width: 768px) {
  label {
    display: block;
    margin-bottom: 5px;
  }

  select,
  button {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
    margin-bottom: 10px;
  }

  .search-wrapper {
    margin: 10px auto; /* centreren op mobiel */
  }

  .search-box {
    font-size: 1rem;
  }
}
