.wts-auth-dialog {
  --wts-green: #157641;
  --wts-ink: #19392b;
  box-sizing: border-box;
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #dcebe1;
  border-radius: 26px;
  background: linear-gradient(155deg,#f0faf3,white 44%);
  color: var(--wts-ink);
  font-family: inherit;
  text-align: start;
  box-shadow: 0 22px 70px #10392332;
}
.wts-auth-dialog::backdrop {background:rgb(17 39 28 / 45%); backdrop-filter:blur(3px)}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-panel {display:flex; flex-direction:column; align-items:stretch; gap:14px; padding:32px; box-sizing:border-box}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-mark {align-self:flex-start; display:grid; place-items:center; width:48px; height:48px; border-radius:16px; background:#d6f3e1; color:#167542; box-shadow:0 4px 16px #25864e16; transform:rotate(-5deg)}
.wts-auth-mark .elementor-icon {display:flex; align-items:center; color:inherit; font-size:22px}
.wts-auth-mark .elementor-icon svg {width:22px; height:22px; fill:currentColor}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-close {position:absolute; z-index:2; top:16px; left:16px; width:38px; height:38px; display:grid; place-items:center; padding:0; border:1px solid #dfebe3; border-radius:50%; color:#3a5848; background:white; font:24px/1 sans-serif; cursor:pointer}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) h2, :is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .elementor-heading-title {margin:0; font-family:inherit; font-size:1.55rem; font-weight:700; line-height:1.55; color:#19392b}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-intro, :is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-intro p {font-size:15px; line-height:1.95; margin:0; color:#4d6757}
.wts-auth-form {font-family:inherit; text-align:start; color:#213d2c}
.wts-auth-form form {display:grid; gap:9px; margin:0; padding:0}
.wts-auth-form [hidden] {display:none !important}
.wts-auth-form label {font-size:14px; font-weight:700}
.wts-auth-form input {width:100%; box-sizing:border-box; min-height:50px; padding:10px 16px; border:1px solid #b9cfc1; background:white; border-radius:12px; font:inherit; font-size:16px; color:#19392b}
.wts-auth-form .wts-auth-code {text-align:center; letter-spacing:.65em; font-size:23px; font-variant-numeric:tabular-nums}
.wts-auth-form .wts-auth-hint {margin:0; font-size:13px; color:#526957; line-height:1.75}
.wts-auth-form button, .wts-auth-trigger {font:inherit; cursor:pointer}
.wts-auth-form .wts-auth-primary, .wts-auth-trigger {min-height:46px; border:0; border-radius:12px; background:#157641; padding:10px 20px; color:white; font-weight:700; line-height:1.6}
.wts-auth-form .wts-auth-primary {margin-top:6px}
.wts-auth-form .wts-auth-actions {display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px}
.wts-auth-actions button {min-height:40px; border:0; background:none; padding:5px; color:#146437}
.wts-auth-form button:disabled {opacity:.65; cursor:default}
.wts-auth-form .wts-auth-status {margin:12px 0 0; padding:8px 12px; border-inline-start:3px solid #b8453c; background:#fff6f4; color:#81342c; border-radius:8px; font-size:14px}
.wts-auth-form .wts-auth-status:empty {display:none}
.wts-auth-dialog :focus-visible, .wts-auth-trigger:focus-visible {outline:2px solid #22844e; outline-offset:3px}
@media(max-width:520px){:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-panel {padding:24px; gap:12px}}

:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-head {display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:15px; padding:0; margin:0; min-height:50px; padding-inline-end:28px}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-head .wts-auth-mark {flex:none; align-self:center; width:48px}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-mark .elementor-widget-container {display:grid; place-items:center}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-mark .elementor-icon-wrapper {line-height:0}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-intro {margin-block:0 5px}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-panel {background:radial-gradient(ellipse at 0 0, #dff3e55c 0 12%, transparent 12.5%)}
.wts-auth-digits {position:relative; max-width:285px; width:100%; margin:4px auto}
.wts-auth-digits > span {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px}
.wts-auth-digits i {display:grid; place-items:center; min-height:54px; border:1px solid #bed1c5; border-radius:12px; background:#fff; font-size:24px; font-weight:700; font-style:normal}
.wts-auth-digits:focus-within .wts-current {border-color:#22844e; box-shadow:0 0 0 3px #22844e25}
.wts-auth-form input.wts-auth-code {position:absolute; inset:0; height:100%; margin:0; opacity:0; cursor:text}
@media (forced-colors:active) {.wts-auth-digits > span {visibility:hidden} .wts-auth-form input.wts-auth-code {opacity:1}}

:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-mark .elementor-icon {color:#157641}
:is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-mark .elementor-icon svg {fill:currentColor}
.wts-auth-form input:not(.wts-auth-code):focus-visible {border-color:#258351; outline:0; box-shadow:0 0 0 3px #22844e24}

.elementor-popup-modal:has(.wts-auth-panel) {z-index:100010; backdrop-filter:blur(3px)}
.elementor-popup-modal:has(.wts-auth-panel) .dialog-widget-content {width:min(460px,calc(100vw - 28px)); max-height:calc(100dvh - 28px); border:1px solid #dcebe1; border-radius:26px; overflow:auto; background:linear-gradient(155deg,#f0faf3,white 44%); box-shadow:0 22px 70px #10392332; direction:rtl}
.elementor-popup-modal:has(.wts-auth-panel) .dialog-close-button {display:flex; align-items:center; justify-content:center; top:16px; left:16px; right:auto; margin:0; padding:0; width:38px; height:38px; border:1px solid #dfebe3; border-radius:50%; background:white; color:#3a5848}
.elementor-popup-modal:has(.wts-auth-panel) .dialog-close-button svg {width:14px;height:14px;fill:currentColor}

/* Pro gives the message its own viewport width, independent of the bordered shell. */
.elementor-popup-modal:has(.wts-auth-panel) .dialog-message {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
.wts-auth-intro bdi {white-space: nowrap; font-variant-numeric: tabular-nums}

.elementor-popup-modal:has(.wts-auth-panel) :is(button,a):focus-visible,
#whatsino-logout-confirm :is(button,a):focus-visible {outline:2px solid #157641; outline-offset:2px}
#whatsino-logout-confirm .wts-auth-actions {display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:6px}
#whatsino-logout-confirm .wts-auth-actions > * {display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 16px; border-radius:12px; font:inherit; text-decoration:none}
#whatsino-logout-confirm [data-cancel] {background:white; border:1px solid #b9cfc1; color:#19392b}
#whatsino-logout-confirm [data-confirm] {background:#157641; color:white}
@media (max-width:360px) {
  :is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-head {gap:10px; padding-inline-end:46px}
  :is(.wts-auth-dialog,.elementor-popup-modal:has(.wts-auth-panel)) .wts-auth-head h2 {font-size:1.25rem}
}
.wts-auth-form .wts-auth-actions button {
  border-radius: 8px;
  padding-inline: 8px;
}
.wts-auth-form .wts-auth-actions button:is(:hover,:focus,:active) {
  background: #e6f4eb;
  color: #155933;
  border-color: transparent;
}
.wts-auth-form .wts-auth-actions button:disabled,
.wts-auth-form .wts-auth-actions button:disabled:hover {
  background: transparent;
  color: #476752;
  opacity: 1;
}
.wts-auth-form button.wts-auth-primary:not(:disabled):is(:hover,:focus-visible,:active),
#whatsino-logout-confirm a[data-confirm]:is(:hover,:focus,:active) {
  background: #105e35;
  color: white;
}
#whatsino-logout-confirm .wts-auth-actions > * {box-sizing:border-box; line-height:1.5}
#whatsino-logout-confirm button[data-cancel]:is(:hover,:focus,:active) {color:#155933; background:#e6f4eb}

:is(.wts-auth-form,#whatsino-logout-confirm) [data-wts-pending] {
  display:inline-flex; align-items:center; justify-content:center; gap:.55em; cursor:progress;
}
:is(.wts-auth-form,#whatsino-logout-confirm) [data-wts-pending]::before {
  content:""; box-sizing:border-box; width:1em; height:1em; flex:0 0 1em; border:2px solid currentColor;
  border-inline-end-color:transparent; border-radius:50%; animation:wts-auth-spin .75s linear infinite;
}
.wts-auth-form button.wts-auth-primary[data-wts-pending] {opacity:1}
@keyframes wts-auth-spin {to {transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce) {
  :is(.wts-auth-form,#whatsino-logout-confirm) [data-wts-pending]::before {animation:none}
}
