/* ─── Toast Notifications ─────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 360px;
}

.toast {
  background: #fff;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-left: 4px solid #64748b;
  animation: toast-in 0.25s ease-out;
  cursor: pointer;
}

.toast.toast-success { border-left-color: #16a34a; }
.toast.toast-error { border-left-color: #dc2626; }
.toast.toast-info { border-left-color: #2563eb; }
.toast.toast-warning { border-left-color: #f59e0b; }

.toast .toast-icon { font-size: 1.2rem; line-height: 1.2; }
.toast .toast-body { flex: 1; }
.toast .toast-title { font-weight: 600; margin-bottom: 0.1rem; }
.toast .toast-msg { color: #475569; }

.toast.toast-hide { animation: toast-out 0.25s ease-in forwards; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(20px); }
}

@media (max-width: 640px) {
  .toast-container {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
