/* ==========================================================
   🍞 Toast Notifications — Steam Factory Portal UI
   ==========================================================
   Toasts appear in the bottom-right corner and fade away.
   Colors align with message intent and brass-steampunk palette.
========================================================== */

/* 📦 Container — bottom-right stack */
.sf-toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 1000000000 !important;
  pointer-events: none;
}

/* 🧱 Base Toast Card */
.sf-toast {
  min-width: 260px;
  max-width: 380px;
  background: rgba(25, 25, 25, 0.95);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: "Zilla Slab", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4),
    inset 0 0 0 2px rgba(255, 204, 0, 0.25);
  opacity: 0;
  transform: translateY(20px);
  animation: sfpToastIn 0.4s ease-out forwards;
  pointer-events: auto;
}


/* ✨ Variants — vivid color themes */
.sf-toast.sf-toast-success {
  background: #2ecc71 !important;
  border-left: 4px solid #27ae60;
  color: #fff;
}

.sf-toast.sf-toast-error {
  background: #e74c3c !important;
  border-left: 4px solid #c0392b;
  color: #fff;
}

.sf-toast.sf-toast-info {
  background: #3498db !important;
  border-left: 4px solid #2e86c1;
  color: #fff;
}

.sf-toast.sf-toast-warning {
  background: #f1c40f !important;
  border-left: 4px solid #b7950b;
  color: #000;
}


/* Optional: subtle brass glow edge */
.sf-toast.success,
.sf-toast.error,
.sf-toast.info,
.sf-toast.warning {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 8px rgba(255, 204, 0, 0.4);
}



/* 🕓 Fade-out Animation */
.sf-toast.hide {
  animation: sfpToastOut 0.5s ease-in forwards;
}

/* ⚙️ Animations */
@keyframes sfpToastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sfpToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}
