/* Watz Notify: sign-in and registration by WhatsApp code. Inherits the theme's fonts and colours. */
.wzn-otp { margin: 1em 0; }
.wzn-otp[hidden] { display: none !important; }
.wzn-otp__toggle { margin: 1em 0 0; }
.wzn-otp__row { margin: 0 0 1em; }
.wzn-otp__row label { display: block; margin-bottom: .35em; }
.wzn-otp__row input[type="tel"], .wzn-otp__row input[type="text"] { width: 100%; box-sizing: border-box; }
.wzn-otp__code { letter-spacing: .25em; font-size: 1.25em; text-align: center; max-width: 12em; }
.wzn-otp__status { margin: .75em 0; min-height: 1.4em; }
.wzn-otp__status--error { color: #b32d2e; }
.wzn-otp__status--ok { color: #007a3d; }
.wzn-otp__hint { font-size: .875em; opacity: .85; }
.wzn-otp__actions { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; }
.wzn-otp__link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.wzn-otp__link[disabled] { opacity: .6; cursor: default; text-decoration: none; }
.wzn-otp-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.wzn-otp button[aria-busy="true"] { cursor: progress; opacity: .8; }
@media (prefers-reduced-motion: no-preference) { .wzn-otp__status { transition: color .15s ease; } }

/* Fallbacks with zero specificity: the theme's own button and input styles win wherever they exist. */
:where(.wzn-otp) input[type="tel"], :where(.wzn-otp) input[type="text"] { padding: .6em .75em; border: 1px solid #8c8f94; border-radius: 4px; background: transparent; color: inherit; font: inherit; }
:where(.wzn-otp) button.wzn-otp__send, :where(.wzn-otp) button.wzn-otp__verify, :where(.wzn-otp) button.wzn-otp__open { padding: .6em 1.1em; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
:where(.wzn-otp) .wzn-otp__row input.wzn-otp__code { min-width: 9em; }
.wzn-otp__hint { display: block; }

.wzn-otp-tabs { display: flex; margin: 0 0 1.25em; border: 1px solid currentColor; border-radius: 4px; overflow: hidden; width: 100%; max-width: 28em; }
.wzn-otp-tab { flex: 1 1 50%; padding: .65em 1em; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; opacity: .7; }
.wzn-otp-tab + .wzn-otp-tab { border-left: 1px solid currentColor; }
.wzn-otp-tab[aria-selected="true"] { opacity: 1; font-weight: 600; box-shadow: inset 0 -3px 0 currentColor; }
.wzn-otp-tab:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
