/* ═══════════════════════════════════════════════════════════
   Toast Notifications – Slide-in from top-right
   ═══════════════════════════════════════════════════════════ */

.toast-container {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 360px;
}

.toast {
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  white-space: nowrap;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  animation: toast-slide-in 0.4s ease-out forwards;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.toast.toast-dismiss {
  animation: toast-slide-out 0.35s ease-in forwards;
}

.toast-info {
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid var(--border);
  color: var(--text);
}
.toast-success {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--success);
}
.toast-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--error);
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(120%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toast-slide-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(120%);
  }
}
