/* ────────────────────────────────
   LEFT SIDEBAR (BioVisuals Theme)
   ──────────────────────────────── */
.image-library {
  display: flex;
  flex-direction: column;
  align-items: center;

  position: absolute;
  top: 42px;
  bottom: 0;
  left: 0;

  width: 60px;

  background-color: #FAF8F4; /* soft BioVisuals cream */
  padding: 8px 4px;

  border-right: 1px solid #E6DFD3; /* warm separator */
  box-shadow: 1px 0 4px rgba(0, 0, 0, 0.04);

  z-index: 999;
  box-sizing: border-box;
}

/* BUTTON BASE */
.image-library button {
  all: unset;
  width: 100%;
  padding: 8px 4px;
  margin-bottom: 10px;

  border-radius: 10px;
  background-color: transparent;

  color: #4A463F; /* warm dark brownish-grey */
  font-size: 12px;
  font-weight: 500;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

/* Icon styling (inactive → soft gold tint) */
.image-library button img {
  width: 22px;
  height: 22px;
  object-fit: contain;

  filter: grayscale(100%) brightness(0.55) sepia(12%); /* warm grayscale */
  transition: filter 0.2s ease;
}

/* Label */
.image-library button span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #554F47;
  white-space: nowrap;
}

/* Hover */
.image-library button:hover {
  background-color: #FDE7D3; /* soft warm beige */
  transform: translateY(-1px);
}

.image-library button:hover img {
  filter: grayscale(20%) brightness(0.9) sepia(10%);
}

/* Active */
.image-library button.active {
  background-color: #FFFFFF;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

.image-library button.active img {
  filter: none; /* full color */
}

.image-library button.active span {
  font-weight: 600;
  color: #C08A3C; /* BioVisuals gold */
}

.image-library button img,
.image-library button i {
  display: block;
  margin-top: 2px;
}
