/* WHAutentic mode switcher */
.whautentic.wc-box-wrapper { position: relative; }
.whautentic-mode { display: flex; gap: 8px; margin-bottom: 6px; }
.whautentic-mode .whautentic-mode-btn.is-active { background:#2c7be5; color:#fff; }

/* Por padrão, modo tradicional: esconder a caixa WhatsApp (o formulário nativo do Woo permanece) */
.whautentic.wc-box-wrapper[data-mode="traditional"] .whautentic.wc-box { display: none; }

/* Quando modo WhatsApp ativo: mostrar a caixa */
.whautentic.wc-box-wrapper[data-mode="whatsapp"] .whautentic.wc-box { display: block; }
.whautentic { max-width: 480px; margin: 1rem 0; padding: 1rem; border: 1px solid #e2e2e2; border-radius: 8px; }
.whautentic-row { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .75rem; }
.whautentic-row label { font-weight: 600; }
.whautentic-row input { padding: .55rem .7rem; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; }
.whautentic-row button { align-self: flex-start; padding: .5rem .9rem; background: #28a745; color: #fff; border: 0; border-radius: 6px; cursor: pointer; }
.whautentic-row button:disabled { opacity: .6; cursor: not-allowed; }
.whautentic-msg { margin-top: .5rem; font-size: 14px; }
.whautentic-msg.ok { color: #1b7f2a; }
.whautentic-msg.err { color: #b00020; }

/* Modal para orientação de e-mail após criação de conta */
.whautentic-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000; /* acima do admin bar e overlays do Woo */
}
.whautentic-modal {
  background: #fff;
  width: min(520px, 92vw);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  padding: 20px 22px;
}
.whautentic-modal h3 { margin: 0 0 8px; }
.whautentic-modal p { margin: 0 0 14px; line-height: 1.55; }
.whautentic-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
