/* WDA Suite — sign-in UI. Scoped to .wdal. */
.wdal{--n:#0A2A47;--n2:#0F3C63;--d:#061B30;--r:#D4202B;--s:#4B89BC;--ink:#0A2A47;--mute:#56657A;--line:#E3E8EF;--soft:#F0F3F7;
font-family:var(--wda-font,'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif);color:var(--ink);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;box-sizing:border-box;text-align:start}
.wdal *,.wdal *:before,.wdal *:after{box-sizing:border-box}
.wdal [hidden]{display:none !important}
.wdal a{color:var(--n);text-decoration:none}
.wdal button{font:inherit;color:inherit;cursor:pointer}
.wdal .wdal-i{flex:none;display:block}
.wdal :focus-visible{outline:3px solid rgba(75,137,188,.5);outline-offset:2px}
body.wdal-body{margin:0;background:#fff}

/* ---------- full page ---------- */
.wdal--full{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100vh;min-height:100dvh;background:#fff}
.wdal-panel{position:relative;margin:16px;border-radius:32px;overflow:hidden;background:var(--n);color:#fff;min-height:calc(100vh - 32px)}
.wdal-panel-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wdal-panel.has-img:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,27,48,.55) 0%,rgba(6,27,48,.15) 35%,rgba(6,27,48,.92) 100%)}
.wdal-panel:not(.has-img){background:radial-gradient(120% 90% at 100% 0%,#0F3C63 0%,#0A2A47 55%,#061B30 100%)}
.wdal-panel-in{position:relative;z-index:1;height:100%;min-height:calc(100vh - 32px);display:flex;flex-direction:column;justify-content:space-between;padding:44px}
.wdal-brand{display:inline-flex;gap:12px;align-items:center;color:#fff !important;font-weight:800;letter-spacing:.08em;font-size:14px;text-transform:uppercase;max-width:340px}
.wdal-brand img{width:48px;height:48px;object-fit:contain}
.wdal-panel-title{font-size:clamp(36px,4vw,52px);font-weight:700;line-height:1.02;letter-spacing:-.045em;max-width:520px;margin-bottom:22px}
.wdal-panel-title span{color:var(--s)}
.wdal-chips{display:flex;gap:10px;flex-wrap:wrap}
.wdal-chips span{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:13.5px;font-weight:600}
.wdal-main{display:flex;flex-direction:column;padding:40px 64px;min-width:0}
.wdal-top{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:700}
.wdal-back{display:inline-flex;gap:8px;align-items:center}
.wdal-help{color:var(--mute) !important}
.wdal-mlogo{display:none;width:40px;height:40px;object-fit:contain}
.wdal-wrap{flex:1;display:flex;align-items:center;justify-content:center;padding:24px 0}
.wdal-foot{display:flex;gap:10px;align-items:center;justify-content:center;font-size:12.5px;color:#8A97A8;font-weight:600}

/* ---------- card (Woo, Elementor, shortcode) ---------- */
.wdal--card{max-width:520px;margin:0 auto}
.wdal--card .wdal-box{background:#fff;border:1px solid var(--line);border-radius:28px;padding:32px;box-shadow:0 30px 60px -45px rgba(6,27,48,.35)}
.wdal--card .wdal-title{font-size:30px}
.wdal-box{width:100%;max-width:440px}
.wdal--card .wdal-box{max-width:none}

/* ---------- type ---------- */
.wdal .wdal-title{margin:0 0 10px;font-size:40px;font-weight:700;letter-spacing:-.045em;line-height:1.05;color:var(--ink);outline:none;font-family:inherit;text-transform:none}
.wdal .wdal-sub{margin:0 0 28px;color:var(--mute);font-size:15.5px;line-height:1.55}
.wdal .wdal-sub b{color:var(--ink)}
.wdal-kicker{font-size:12px;font-weight:800;letter-spacing:.1em;color:#8A97A8;text-transform:uppercase;margin-bottom:10px}
.wdal-label{display:block;font-size:13px;font-weight:700;color:#33475C;margin:0 0 8px}
.wdal-label--gap{margin-top:18px}
.wdal-labelrow{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.wdal-hint{margin:8px 0 0;font-size:12.5px;color:var(--mute)}
.wdal-note{margin:22px 0 0;text-align:center;font-size:14px;color:var(--mute)}
.wdal-link{background:none;border:0;padding:0;font-weight:700;font-size:13.5px;color:var(--n);display:inline-flex;gap:6px;align-items:center}
.wdal-link:hover{text-decoration:underline}
.wdal-backlink{margin-bottom:24px;font-size:14px}

/* ---------- tabs ---------- */
.wdal-tabs{display:grid;grid-template-columns:repeat(var(--tabs,3),minmax(0,1fr));gap:4px;padding:4px;border-radius:999px;background:var(--soft);margin-bottom:26px}
.wdal-tab{height:52px;border:0;border-radius:999px;background:transparent;color:var(--mute);font-weight:700;font-size:14.5px;display:inline-flex;gap:9px;align-items:center;justify-content:center;transition:background .15s,color .15s;min-width:0;padding:0 8px}
.wdal-tab span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wdal-tab:hover{color:var(--n)}
.wdal-tab[aria-selected=true]{background:var(--n);color:#fff;box-shadow:0 8px 18px -10px rgba(6,27,48,.6)}

/* ---------- fields ---------- */
.wdal .wdal-input{display:block;width:100%;height:54px;border:1.5px solid transparent;border-radius:16px;background:var(--soft);padding:0 18px;font:inherit;font-size:15px;font-weight:500;color:var(--ink);box-shadow:none;margin:0;transition:border-color .15s,background .15s;appearance:none;-webkit-appearance:none}
.wdal .wdal-input:focus{outline:none;border-color:var(--n);background:#fff}
.wdal .wdal-input::placeholder{color:#8A97A8}
.wdal-phone{display:flex;gap:8px}
.wdal-cc{display:inline-flex;gap:9px;align-items:center;height:54px;padding:0 12px 0 14px;border-radius:16px;background:var(--soft);border:1.5px solid transparent;font-weight:700;font-size:15px;color:var(--ink);flex:none}
.wdal-cc:hover,.wdal-cc[aria-expanded=true]{border-color:var(--n);background:#fff}
.wdal-cc img{width:24px;height:18px;border-radius:4px;object-fit:cover;box-shadow:0 0 0 1px rgba(10,42,71,.1)}
.wdal-phone .wdal-input{flex:1;min-width:0}
.wdal-pw{position:relative}
.wdal-pw .wdal-input{padding-right:54px}
.wdal-eye{position:absolute;right:7px;top:7px;width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:var(--mute);display:inline-flex;align-items:center;justify-content:center}
.wdal-eye[aria-pressed=true]{color:var(--n);background:var(--soft)}
.wdal-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 22px;font-size:14px}
.wdal-check{display:inline-flex;gap:10px;align-items:center;color:#33475C;font-size:14px;cursor:pointer}
.wdal-check input{width:18px;height:18px;accent-color:var(--n);margin:0;flex:none}
.wdal-check--terms{align-items:flex-start;margin:20px 0 4px;line-height:1.5;font-size:13.5px}
.wdal-check--terms input{margin-top:2px}
.wdal-check a{text-decoration:underline;font-weight:600}
.wdal-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wdal-ts{margin:18px 0 0}

/* ---------- button ---------- */
.wdal .wdal-btn{position:relative;width:100%;height:56px;margin-top:22px;border:0;border-radius:999px;background:var(--r);color:#fff;font:inherit;font-weight:700;font-size:15.5px;display:inline-flex;gap:10px;align-items:center;justify-content:center;transition:background .15s,transform .05s;text-decoration:none;box-shadow:none;text-transform:none;letter-spacing:0}
.wdal .wdal-btn:hover{background:#B81A24;color:#fff}
.wdal .wdal-btn:active{transform:translateY(1px)}
.wdal .wdal-btn--ghost{background:#fff;color:var(--n);border:1.5px solid var(--n);margin-top:12px}
.wdal .wdal-btn--ghost:hover{background:var(--soft);color:var(--n)}
.wdal .wdal-btn[disabled]{opacity:.7;cursor:progress}
.wdal .wdal-btn.is-busy>*{visibility:hidden}
.wdal .wdal-btn.is-busy:after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;animation:wdal-spin .7s linear infinite}
.wdal .wdal-btn--ghost.is-busy:after{border-color:rgba(10,42,71,.2);border-top-color:var(--n)}
@keyframes wdal-spin{to{transform:rotate(360deg)}}

/* ---------- messages ---------- */
.wdal-msg{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;font-size:13.5px;font-weight:600;line-height:1.45;margin-top:16px}
.wdal-msg.is-err{background:#FDECEE;color:#B81A24}
.wdal-msg.is-warn{background:#FFF6E0;color:#7A5A00}
.wdal-msg.is-ok{background:#E6F0F8;color:#0F3C63}
.wdal-badge{display:inline-flex;gap:7px;align-items:center;height:34px;padding:0 14px;border-radius:999px;background:#E6F0F8;color:#0F3C63;font-size:13px;font-weight:700;margin-bottom:20px}
.wdal-or{display:flex;gap:14px;align-items:center;margin:26px 0 14px;color:#8A97A8;font-size:12.5px;font-weight:600}
.wdal-or:before,.wdal-or:after{content:"";flex:1;height:1px;background:var(--line)}
.wdal-new p{margin:0;text-align:center;font-size:14px;color:var(--mute);line-height:1.6}

/* ---------- code boxes ---------- */
.wdal-otp{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.wdal .wdal-otp-box{height:62px;width:100%;border-radius:16px;border:1.5px solid transparent;background:var(--soft);text-align:center;font:inherit;font-size:26px;font-weight:700;color:var(--ink);padding:0;caret-color:var(--n);box-shadow:none;appearance:none;-webkit-appearance:none}
.wdal .wdal-otp-box:focus{outline:none;border-color:var(--n);background:#fff}
.wdal-otp.is-err .wdal-otp-box{border-color:var(--r);background:#FDECEE;color:#B81A24;animation:wdal-shake .3s}
@keyframes wdal-shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
.wdal-row--code{margin:16px 0 0}
.wdal-timer{display:inline-flex;gap:8px;align-items:center;color:var(--mute);font-weight:600}

/* ---------- security card ---------- */
.wdal-who{display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:16px;background:#F4F7FA;margin-bottom:22px}
.wdal-who img{width:26px;height:20px;border-radius:4px;object-fit:cover;box-shadow:0 0 0 1px rgba(10,42,71,.1)}
.wdal-who div{flex:1;min-width:0;line-height:1.35}
.wdal-who b{display:block;font-size:14px}
.wdal-who span{font-size:12.5px;color:var(--mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.wdal-state{flex:none;font-size:12px !important;font-weight:700;padding:5px 10px;border-radius:999px;background:#fff;color:var(--n2) !important}
.wdal-meter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0 6px}
.wdal-meter i{height:5px;border-radius:5px;background:var(--line)}
.wdal-meter[data-s="1"] i:nth-child(-n+1){background:var(--r)}
.wdal-meter[data-s="2"] i:nth-child(-n+2){background:#C99A06}
.wdal-meter[data-s="3"] i:nth-child(-n+3),.wdal-meter[data-s="4"] i{background:var(--n)}
.wdal-meter-t{font-size:12.5px;font-weight:700;color:var(--n2);min-height:18px;margin-bottom:12px}
.wdal--security{max-width:560px;margin:0}

/* ---------- done ---------- */
.wdal-step--done{text-align:center;padding:40px 0}
.wdal-spinner{display:inline-block;width:34px;height:34px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--n);animation:wdal-spin .8s linear infinite;margin-bottom:12px}

/* ---------- country picker: dropdown on desktop, bottom sheet on phones ---------- */
.wdal-sheet{position:fixed;inset:0;z-index:100000}
.wdal-sheet-bg{position:absolute;inset:0;background:transparent}
.wdal-sheet-in{position:fixed;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 48px -20px rgba(6,27,48,.35);padding:10px;display:flex;flex-direction:column;max-height:380px}
.wdal-sheet-grip,.wdal-sheet-h{display:none}
.wdal-search{display:flex;gap:10px;align-items:center;height:46px;border-radius:14px;border:1.5px solid var(--n);padding:0 14px;margin:0 0 8px;color:var(--n);flex:none}
.wdal .wdal-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font:inherit;font-size:14.5px;font-weight:600;color:var(--ink);height:40px;padding:0;box-shadow:none}
.wdal-list{list-style:none;margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain}
.wdal-list li{display:flex;gap:12px;align-items:center;min-height:46px;padding:0 12px;border-radius:12px;font-size:14.5px;cursor:pointer;outline:none}
.wdal-list li:hover,.wdal-list li:focus{background:var(--soft)}
.wdal-list li[aria-selected=true]{background:var(--soft);font-weight:700}
.wdal-list img{width:26px;height:20px;border-radius:4px;object-fit:cover;box-shadow:0 0 0 1px rgba(10,42,71,.1);flex:none}
.wdal-list .n{flex:1;font-weight:600}
.wdal-list .d{color:var(--mute);font-weight:600}
.wdal-none{justify-content:center;color:var(--mute);cursor:default !important}
.wdal-x{width:34px;height:34px;border-radius:50%;border:0;background:var(--soft);color:var(--mute);display:inline-flex;align-items:center;justify-content:center}

@media (max-width:1100px){
	.wdal-main{padding:32px 36px}
}
@media (max-width:900px){
	.wdal--full{grid-template-columns:1fr}
	.wdal-panel{display:none}
	.wdal-main{padding:16px 20px 24px;min-height:100vh;min-height:100dvh}
	.wdal-mlogo{display:block}
	.wdal-back span{display:none}
	.wdal-wrap{align-items:flex-start;padding-top:28px}
	.wdal-box{max-width:520px}
	.wdal .wdal-title{font-size:32px}
}
@media (max-width:700px){
	.wdal-tabs{border-radius:21px;padding:5px}
	.wdal-tab{flex-direction:column;height:62px;gap:5px;font-size:12.5px;border-radius:16px}
	.wdal--card .wdal-box{padding:22px 18px;border-radius:24px}
	.wdal-otp{gap:6px}
	.wdal .wdal-otp-box{height:56px;font-size:22px}
	.wdal-2{grid-template-columns:1fr}
	.wdal-sheet-bg{background:rgba(6,27,48,.45)}
	.wdal-sheet-in{left:0 !important;right:0;bottom:0;top:auto !important;width:auto !important;max-height:78vh;border-radius:28px 28px 0 0;border:0;padding:10px 16px calc(16px + env(safe-area-inset-bottom));animation:wdal-up .22s ease-out}
	.wdal-sheet-grip{display:block;width:44px;height:5px;border-radius:5px;background:#D5DCE4;align-self:center;margin:2px 0 14px;flex:none}
	.wdal-sheet-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex:none}
	.wdal-sheet-h b{font-size:19px;letter-spacing:-.02em}
	.wdal-search{background:var(--soft);border-color:transparent;height:50px}
	.wdal-list li{min-height:54px;font-size:15px}
	.wdal-list img{width:28px;height:21px}
}
@keyframes wdal-up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.wdal *{animation:none !important;transition:none !important}}

/* Woo/Tutor wrappers. */
.woocommerce .wdal--card{margin:20px auto}
.wda-checkout-login a{font-weight:700}
.wda-dash-page--security .wdal--security{max-width:560px}
/* Numbers stay left-to-right inside RTL pages. */
.wdal [data-wdal-dial],.wdal-list .d,.wdal [data-sent],.wdal-who b{direction:ltr;unicode-bidi:isolate}
.wdal input[type=tel],.wdal input[type=email],.wdal .wdal-otp-box{direction:ltr}
[dir=rtl] .wdal input[type=tel],[dir=rtl] .wdal input[type=email]{text-align:right}
.wdal-otp{direction:ltr}

/* Arabic / Urdu / Hindi: no negative tracking, taller lines, title highlight on its own line. */
.lang-ar .wdal .wdal-title,.lang-ur .wdal .wdal-title,.lang-hi .wdal .wdal-title,[dir=rtl] .wdal .wdal-title{letter-spacing:0;line-height:1.3}
.lang-ar .wdal-panel-title,.lang-ur .wdal-panel-title,.lang-hi .wdal-panel-title,[dir=rtl] .wdal-panel-title{letter-spacing:0;line-height:1.35}
[dir=rtl] .wdal-panel-title span{display:block}
.lang-ur .wdal .wdal-title,.lang-ur .wdal-panel-title{line-height:1.6}
/* Phones: keep the footer note clear of the floating contact button (theme). */
@media (max-width:700px){body.wdal-body:has(.wda-fab) .wdal-foot{padding-bottom:168px}}
