/**
 * Стили для функционала списка желаемого
 */

/* Стили для иконки списка желаемого */
.base-card__header-icon {
  cursor: pointer;
  transition: color 0.3s ease;
}

.base-card__header-icon.active {
  color: #2f1489;
}

.base-card__header-icon:hover {
  color: #3c1baa;
}

.base-card__header-icon.active:hover {
  color: #3c1baa;
}

/* Стили для бейджа списка желаемого */
.wishlist-button {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.wishlist-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff0000;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

/* Стили для контейнера уведомлений */
.notifications-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Стили для уведомлений */
.notification {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 12px 20px;
  margin-bottom: 10px;
  max-width: 300px;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-success {
  border-left: 4px solid #4caf50;
}

.notification-error {
  border-left: 4px solid #f44336;
}