/* Container fixed bottom-right; pointer-events allow clicks on toasts only */
#toast-root {
  position: fixed;
  z-index: 1060; /* above navs/modals if needed */
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

/* Toast card */
.qr-toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  padding: 12px 44px 12px 14px;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity .18s ease, transform .18s ease;
  position: relative;
  overflow: hidden;
}

/* entrance/exit */
.qr-toast-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.qr-toast-hide {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

/* Close button */
.qr-toast-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.qr-toast-close:hover { opacity: 1; }

/* Content */
.qr-toast-body {
  font-size: 0.95rem;
}

/* Color themes */
.qr-toast-success { background: #198754; }  /* Bootstrap-ish */
.qr-toast-info    { background: #0d6efd; }
.qr-toast-warning { background: #ffc107; color: #212529; }
.qr-toast-danger  { background: #dc3545; }
