/* ==========================================================
   Oscar Journal Publishers full-stack integrations
   Form feedback, spam honeypot, and floating WhatsApp button
   ========================================================== */

/* Keep the anti-spam field available to bots but invisible to visitors. */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-status.success {
  color: #1e7a4b;
}

.form-status.error {
  color: #b42318;
}

/* A separate left-side launcher prevents overlap with the support chat. */
.oscarjournalpublishers-whatsapp-launcher {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1095;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 38px rgba(12, 105, 55, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oscarjournalpublishers-whatsapp-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(12, 105, 55, 0.38);
}

.oscarjournalpublishers-whatsapp-launcher svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

@media (max-width: 600px) {
  .oscarjournalpublishers-whatsapp-launcher {
    left: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}
