/* Контейнер по центру сверху */
#toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

/* Базовый стиль уведомления (liquid glass) */
.toast {
  min-width: 280px;
  padding: 15px 20px;
  border-radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700; /* Жирный текст */
  color: #fff;
  text-align: center;

  /* Жидкое стекло */
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);

  /* Более мощная тень вокруг текста */
  text-shadow: 
    0 2px 4px rgba(0,0,0,0.7),
    0 0 10px rgba(0,0,0,0.4);

  /* Анимация появления/исчезновения */
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: auto;
}

/* Цветовая схема по типу */
.toast.success { background: rgba(52, 199, 89, 0.2); }
.toast.error   { background: rgba(255, 59, 48, 0.2); }
.toast.warning { background: rgba(255, 149, 0, 0.2); }

/* Появление */
.toast.show {
  opacity: 1;
  transform: translateY(0);
}