/* ── Unified Toast ──────────────────────────────── */
#lumora-toast-container {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}

.lumora-toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  animation: lumoraToastIn 0.3s ease;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 24rem;
  line-height: 1.4;
}

@keyframes lumoraToastIn {
  from { opacity: 0; transform: translateY(-0.75rem) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lumora-toast.success { background: rgba(16,185,129,0.18); color: #6ee7b7; border-left: 3px solid #10b981; }
.lumora-toast.error   { background: rgba(239,68,68,0.18);  color: #fca5a5; border-left: 3px solid #ef4444; }
.lumora-toast.info    { background: rgba(142,45,226,0.18); color: #c084fc; border-left: 3px solid #8e2de2; }
.lumora-toast.warning { background: rgba(245,158,11,0.18); color: #fcd34d; border-left: 3px solid #f59e0b; }

.lumora-toast .lumora-toast-icon { flex-shrink: 0; font-size: 0.95rem; }
.lumora-toast .lumora-toast-msg  { flex: 1; }

/* ── Light mode overrides ── */
body.light .lumora-toast {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
body.light .lumora-toast.success { background: #f0fdf4; color: #166534; border-left-color: #16a34a; }
body.light .lumora-toast.error   { background: #fef2f2; color: #991b1b; border-left-color: #dc2626; }
body.light .lumora-toast.info    { background: #faf5ff; color: #6b21a8; border-left-color: #7c3aed; }
body.light .lumora-toast.warning { background: #fffbeb; color: #92400e; border-left-color: #d97706; }
