/* Зона стикеров слева */
.stickers-zone {
  position: fixed;
  left: 0;
  top: 60px; /* Отступ сверху для header */
  width: 250px;
  height: calc(100vh - 60px);
  overflow: hidden; /* Скрываем переполнение, чтобы стикеры не выходили за границы */
  z-index: 50; /* Ниже header, но выше контента */
  pointer-events: none; /* Позволяет кликать сквозь зону, но стикеры будут перехватывать события */
  background: transparent;
}

/* Контейнер для стикеров */
.stickers-container {
  position: fixed; /* Fixed вместо relative, чтобы не двигался при скролле */
  left: 0;
  top: 60px;
  width: 250px;
  height: calc(100vh - 60px);
  pointer-events: auto;
  background: transparent;
  overflow: visible; /* Разрешаем видимость стикеров */
}

/* Стикер */
.sticker {
  position: absolute;
  cursor: move;
  user-select: none;
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  transition: transform 0.1s ease;
  pointer-events: auto;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
  z-index: 101;
}

.sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-width: 120px;
  max-height: 120px;
}

.sticker:hover {
  transform: scale(1.1);
  z-index: 1000;
  filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.5));
}


/* Кнопка удаления стикера (при наведении) */
.sticker .delete-sticker {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  height: 20px;
  background: #ff4444;
  color: white;
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  line-height: 1;
}

.sticker:hover .delete-sticker {
  display: flex;
}

.sticker.dragging {
  opacity: 0.7;
  z-index: 10000;
  cursor: grabbing;
}

/* Адаптивность - скрыть зону на мобильных */
@media (max-width: 1200px) {
  .stickers-zone {
    display: none;
  }
}
