/* =========================
   MENSAJES TOAST (GLOBAL)
========================= */
.msg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 18px 26px;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  min-width: 260px;
  max-width: 90%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  z-index: 99999;
  opacity: 1;
  animation: toastIn 0.35s ease;
}

.msg.toast-success {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #ffffff;
}

.msg.toast-error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #ffffff;
}

.msg.toast-info {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #ffffff;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
