/* ============================================================
 * Frexus contact-form toast (zh / en / es)
 * ------------------------------------------------------------
 * Self-contained, no plugins. Centered fixed toast that fades
 * in from the top once WPCF7 reports a successful submission.
 * ============================================================ */
#frexus-contact-toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 99999;
  padding: 14px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  min-width: 280px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#frexus-contact-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
#frexus-contact-toast.error {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

@media (max-width: 575px) {
  #frexus-contact-toast {
    font-size: 14px;
    padding: 12px 18px;
    min-width: 0;
    width: calc(100vw - 32px);
    top: 80px;
  }
}
