/* WhatsApp OTP sign-in card (dejoiy.com, vendors.dejoiy.com, wp-login.php). Inherits each site's font. */
.djx-otp { --otp-ink: #121212; --otp-lime: #d4ff3a; --otp-wa: #128c4b; --otp-line: rgba(18, 18, 18, .16); --otp-muted: #5f5e58;
  box-sizing: border-box; width: 100%; max-width: 520px; margin: 0 0 18px; padding: 18px; border: 1.5px solid var(--otp-ink); border-radius: 20px;
  background: #fff; color: var(--otp-ink); font: inherit; text-align: left; }
.djx-otp *, .djx-otp *::before { box-sizing: border-box; }
.djx-otp-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.djx-otp-wa { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--otp-lime); color: var(--otp-ink); }
.djx-otp-wa svg { width: 22px; height: 22px; }
.djx-otp-title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.djx-otp-sub { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--otp-muted); }
.djx-otp-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.djx-otp-field { display: flex; align-items: stretch; border: 1.5px solid var(--otp-line); border-radius: 12px; background: #fff; overflow: hidden; }
.djx-otp-field:focus-within { border-color: var(--otp-ink); box-shadow: 0 0 0 3px rgba(212, 255, 58, .55); }
.djx-otp-cc { display: grid; place-items: center; padding: 0 12px; font-weight: 600; background: #f3f2ee; border-right: 1.5px solid var(--otp-line); }
.djx-otp .djx-otp-field input { flex: 1; min-width: 0; height: 48px !important; margin: 0 !important; padding: 0 14px !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; font: inherit; font-size: 17px; letter-spacing: .02em; color: var(--otp-ink); outline: none; }
.djx-otp [data-step="code"] .djx-otp-field input { letter-spacing: .5em; font-weight: 700; text-align: center; }
.djx-otp-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 12px 0 0; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--otp-ink); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.djx-otp-btn:hover:not(:disabled) { transform: translateY(-1px); }
.djx-otp-btn:focus-visible, .djx-otp-link:focus-visible { outline: 3px solid var(--otp-lime); outline-offset: 2px; }
.djx-otp-btn:disabled { opacity: .6; cursor: default; }
.djx-otp-btn.is-busy::after { content: ""; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: djxOtpSpin .8s linear infinite; }
@keyframes djxOtpSpin { to { transform: rotate(360deg); } }
.djx-otp-links { display: flex; justify-content: space-between; margin-top: 10px; }
.djx-otp-link { padding: 6px 0; border: 0; background: none; color: var(--otp-ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.djx-otp-link:disabled { color: var(--otp-muted); text-decoration: none; cursor: default; }
.djx-otp-optin { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--otp-muted); cursor: pointer; }
.djx-otp-optin input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--otp-ink); }
.djx-otp-alt { display: block; margin: 10px auto 0; text-align: center; }
.djx-otp [hidden] { display: none !important; }
.djx-otp-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--otp-wa); }
.djx-otp-msg:empty { display: none; }
.djx-otp-msg.is-bad { color: #b3261e; }
.djx-otp-or { display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 0 0 16px; color: #5f5e58; font-size: 13px; font-weight: 600; }
.djx-otp-or::before, .djx-otp-or::after { content: ""; flex: 1; height: 1px; background: rgba(18, 18, 18, .16); }
/* wp-login.php box is narrow and centred */
.login .djx-otp, .login .djx-otp-or { max-width: none; }
@media (prefers-reduced-motion: reduce) { .djx-otp-btn { transition: none; } .djx-otp-btn.is-busy::after { animation: none; } }
