body.__taxonomy_vocabulairy_overview_page .tabledrag-toggle-weight-wrapper{
  display: none;
}


body.__taxonomy_vocabulairy_overview_page #edit-help{
  display: none;
}


body.__taxonomy_vocabulairy_overview_page .tabs__tab:nth-of-type(2) {
  display: none;
}

body.__taxonomy_vocabulairy_overview_page .dropbutton-action.secondary-action{
  display: none;
}

body.__taxonomy_vocabulairy_overview_page .dropbutton__toggle{
  display: none;
}


body.path-taxonomy .vertical-tabs{
  display: none;
}

body.path-taxonomy .tabs-wrapper.is-horizontal a[href*="delete"] {
  display: none;
}


form #edit-relations,
form .form-item-weight,
form .form-wrapper:has(#edit-relations) {
  display: none !important;
}





/* Reset alle Drupal default styling voor het image widget */
.image-widget.form-managed-file,
.image-widget .form-managed-file__main,
.image-widget .form-managed-file__meta-wrapper,
.image-widget .image-preview,
.image-widget .file {
  all: initial;
  display: block;
  float: none;
  position: static;
  margin: 0;
  padding: 0;
  border: none;
  width: auto;
  height: auto;
  max-width: none;
  line-height: normal;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  box-shadow: none;
}

/* Specifieke reset voor de afbeelding */
.image-widget .image-preview__img-wrapper img {
  all: initial;
  display: block;
  max-width: 100px; /* Pas aan naar wens */
  height: auto;
}

/* Flexbox layout toepassen */
.image-widget .form-managed-file__main {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.image-widget .form-managed-file__meta-wrapper {
  order: -1 !important;
  margin-right: 10px !important;
}

/* Basisstyling voor de bestandslink en knop */
.image-widget .file {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.image-widget .remove-button {
  margin-left: 10px;
  padding: 2px 8px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
}





