/* Graficzne przyciski z własnym tłem i tekstem bez rozciągania */
.toc button {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 243px;
  height: 23px;
  background-image: url('btn_default.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: #bda875;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s;
  flex-shrink: 0; /* zapobiega zmniejszaniu się */
}

.toc button:hover {
  transform: scale(1.03);
  background-image: url('btn_hover.png');
}

.toc button:active {
  background-image: url('btn_active.png');
}

/* Wymuszenie scrolla w obrębie kontenera */
.toc {
  overflow-y: auto !important;
  max-height: 100%;
  overscroll-behavior: contain;
  gap: 10px;
}
