.versions-container {
    max-width: 1100px;
    margin: auto;
    font-family: sans-serif;
    padding-top: 25px;
  }
  
  .versions-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .version-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .versie-select-label {
    font-weight: 600;
    white-space: nowrap;
  }
  
  .tabs button {
    background: #eee;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .tabs button.active {
    background: rgba(var(--main-color));
    color: #fff;
  }

  .tabs button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tabs button:hover {
    color: white;
}
  
  .versions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .hidden { display: none; }
  
  .version-card {
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 4px;
  }
  
  .badge {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8em;
  }
  
  .badge.green { background: #c9f2c7; }
  .badge.orange { background: #ffe7b3; }
  .badge.red { background: #fcbcba; }
  
  .diff ins {
    background: #d4fcbc;
    text-decoration: none;
  }

  .diff del {
    background: #f8d6d6;
    color: #9a1a1a;
    text-decoration: line-through;
    padding: 0 2px;
    border-radius: 3px;
  }

  .omschrijving {
    line-height: 1.6;
  }

  .omschrijving > p {
    margin: 0 0 0.75em;
  }

  .omschrijving a,
  .omschrijving a:visited {
    color: rgba(var(--main-color), 1);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
    text-decoration-color: rgba(var(--main-color), 0.8);
  }

  .omschrijving a:hover,
  .omschrijving a:focus-visible {
    color: rgba(var(--tegels2-color), 1);
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(var(--tegels2-color), 1);
  }

  #versieSelect {
    width: 260px;
  }

.history-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(var(--main-color, 0,115,170), 1);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  border: 1px solid rgba(var(--main-color, 0,115,170), 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.history-link:hover,
.history-link:focus {
  background: rgba(var(--tegels2-color, 0,115,170), 0.92);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  color: white;
}
.history-link:focus {
  outline: 3px solid rgba(var(--main-color, 0,115,170), 0.18);
  outline-offset: 2px;
}