
/* ===== MODERN CENTER TOAST ===== */
.toast-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease;
}

.toast-box {
  min-width: 280px;
  max-width: 90%;
  padding: 22px 26px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  animation: scaleIn 0.35s ease;
}

.toast-success {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.toast-error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.toast-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.toast-text {
  font-size: 14px;
  opacity: 0.95;
}

/* animations */
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes scaleIn {
  from { transform: scale(0.85); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}

