/* ==========================================================================
   BIZWAVE ERP — TOAST NOTIFICATIONS (QuickBooks Bottom-Left Dark Bars)
   ========================================================================== */

.erp-toast-container {
  position: fixed;
  bottom: var(--sp-5);
  left: var(--sp-5);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  pointer-events: none;
  max-width: 440px;
}

.erp-toast {
  background-color: #FFFFFF;
  color: #111827;
  padding: 12px 16px;
  border-radius: var(--r-input);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16), 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  pointer-events: auto;
  animation: toast-in 0.25s ease-out;
  border: 1px solid #D4D7DC;
  border-left: 5px solid var(--c-primary);
}

.erp-toast--success { border-left-color: #2CA01C; }
.erp-toast--danger  { border-left-color: #D52B1E; }
.erp-toast--warning { border-left-color: #FF8000; }
.erp-toast--info    { border-left-color: #0077C5; }

.erp-toast__content {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  color: #111827;
}

.erp-toast__content span {
  color: #111827;
  font-weight: 500;
  line-height: 1.4;
}

.erp-toast__action {
  color: #0077C5;
  font-weight: var(--fw-bold);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  white-space: nowrap;
}
.erp-toast__action:hover {
  color: #005A99;
}

.erp-toast__close {
  background: none;
  border: none;
  color: #4B5563;
  cursor: pointer;
  padding: var(--sp-1);
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}
.erp-toast__close:hover {
  color: #000000;
}

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