.toast-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Отступы между уведомлениями */
}

.toast-item {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  max-width: 400px;
}

.toast-item.show {
  opacity: 1;
  transform: translateX(0);
}

.toast {
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  background: #f5f5f5;
  color: #333;
}

/* Стили для разных типов */
.toast.success {
  background: #e8f5e8;
  border-left: 4px solid #4caf50;
  color: #2e7d32;
}

.toast.error {
  background: #ffebee;
  border-left: 4px solid #f44336;
  color: #c62828;
}

.toast.warning {
  background: #fff8e1;
  border-left: 4px solid #ffcc00;
  color: #f57f17;
}

.toast.help {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  color: #1565c0;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close::before {
  content: '×';
}

.toast h3 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
}

.toast p {
  margin: 0;
  line-height: 1.4;
}
