.icon-button {
  display: inline-flex;  /* Flex, damit wir zentrieren können */
  align-items: center !important;
  justify-content: center !important;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  padding: 0;
  border: 1px solid #ccd0d4;
  background: #f7f7f7;
  text-decoration: none;
  border-radius: 4px;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
  vertical-align: middle !important;
}

.icon-button:hover {
  background-color: #e2e2e2; /* Dezenter Hover-Effekt */
}

/* Die Dashicons selbst */
.icon-button .dashicons {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 20px !important;    /* Passt gut in 32px-Button */
  line-height: 1 !important;     /* Kein höherer Zeilenabstand */
  vertical-align: middle !important;
  color: #555;                   /* Gern anpassbar */
}

/* SVG-Icons in Icon-Buttons */
.icon-button svg {
  width: 24px;
  height: 24px;
  color: #555;
  fill: currentColor;
  flex: 0 0 auto;
  stroke-width: 0.1;
  stroke-linecap: round;
}

.icon-button.active {
  background: #007cba;
  color: #fff;
}

.icon-button.active .dashicons,
.icon-button.active svg {
  color: #fff;
}

