/* Team Login popup. Own tokens, scoped to .mwtl, so Divi's styles cannot reach in. */
.mwtl{
  --ink:#141a24; --muted:#556072; --faint:#6c7787; --rule:#d5dce6; --panel:#fff;
  --rail:#111726; --accent:#395AF3; --accent-ink:#2743c9; --over:#cf222e; --over-soft:#fff2f2;
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",system-ui,Roboto,Helvetica,Arial,sans-serif;
  position:fixed; inset:0; z-index:100000; display:grid; place-items:center; padding:16px;
  font:15px/1.45 var(--sans); color:var(--ink); -webkit-font-smoothing:antialiased;
}
.mwtl[hidden]{ display:none; }
.mwtl *,.mwtl *::before,.mwtl *::after{ box-sizing:border-box; }
.mwtl-back{ position:absolute; inset:0; background:rgba(17,23,38,.55); backdrop-filter:blur(2px);
  animation:mwtl-fade .16s ease-out; }
.mwtl-card{ position:relative; width:100%; max-width:380px; background:var(--panel); border-radius:14px;
  overflow:hidden; box-shadow:0 24px 60px -12px rgba(17,23,38,.45),0 2px 6px rgba(17,23,38,.12);
  animation:mwtl-rise .2s cubic-bezier(.2,.8,.2,1); }
.mwtl-head{ display:flex; align-items:center; justify-content:space-between; background:var(--rail);
  padding:16px 14px 16px 22px; }
.mwtl-head img{ display:block; height:22px; width:auto; }
.mwtl-x{ appearance:none; border:0; background:transparent; width:32px; height:32px; border-radius:8px;
  display:grid; place-items:center; cursor:pointer; color:#9fabbd; padding:0; }
.mwtl-x:hover{ background:rgba(255,255,255,.08); color:#fff; }
.mwtl-x:focus-visible{ outline:2px solid #fff; outline-offset:1px; }
.mwtl-x svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.mwtl-form{ padding:22px 22px 24px; margin:0; }
.mwtl-form h2{ font:600 19px/1.25 var(--sans); letter-spacing:-.01em; color:var(--ink); margin:0 0 16px; padding:0; }
.mwtl-err{ margin:0 0 14px; padding:10px 12px; border-radius:9px; background:var(--over-soft);
  color:var(--over); font-size:13.5px; line-height:1.4; }
.mwtl-err[hidden]{ display:none; }
.mwtl-f{ display:block; margin:0 0 14px; }
.mwtl-f > span:first-child{ display:block; font-size:13px; font-weight:600; color:var(--muted); margin:0 0 6px; }
.mwtl input[type=text],.mwtl input[type=password]{
  display:block; width:100%; height:42px; margin:0; padding:0 12px; font:15px var(--sans); color:var(--ink);
  background:#fff; border:1px solid var(--rule); border-radius:9px; box-shadow:none; outline:0;
  transition:border-color .12s,box-shadow .12s; }
.mwtl input[type=text]:focus,.mwtl input[type=password]:focus{
  border-color:var(--accent); box-shadow:0 0 0 3px rgba(57,90,243,.18); }
.mwtl-pw{ position:relative; display:block; }
.mwtl-pw input{ padding-right:44px !important; }
.mwtl-eye{ appearance:none; position:absolute; right:4px; top:4px; width:34px; height:34px; border:0;
  background:transparent; border-radius:7px; display:grid; place-items:center; cursor:pointer;
  color:var(--faint); padding:0; }
.mwtl-eye:hover{ color:var(--ink); background:#f1f4f8; }
.mwtl-eye[aria-pressed=true]{ color:var(--accent); }
.mwtl-eye:focus-visible{ outline:2px solid var(--accent); outline-offset:0; }
.mwtl-eye svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; }
.mwtl-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:2px 0 18px; font-size:13.5px; }
.mwtl-check{ display:inline-flex; align-items:center; gap:8px; color:var(--ink); cursor:pointer; }
.mwtl-check input{ width:16px; height:16px; margin:0; accent-color:var(--accent); }
.mwtl-row a{ color:var(--accent-ink); text-decoration:none; font-weight:500; }
.mwtl-row a:hover{ text-decoration:underline; }
.mwtl-go{ appearance:none; display:flex; align-items:center; justify-content:center; gap:8px; width:100%;
  height:44px; border:0; border-radius:9px; background:var(--accent); color:#fff;
  font:600 15px var(--sans); cursor:pointer; transition:background .12s; }
.mwtl-go:hover{ background:var(--accent-ink); }
.mwtl-go:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.mwtl-go[disabled]{ opacity:.75; cursor:progress; }
.mwtl-go[disabled]::before{ content:""; width:15px; height:15px; border-radius:50%;
  border:2px solid rgba(255,255,255,.45); border-top-color:#fff; animation:mwtl-spin .7s linear infinite; }
.mwtl-shake .mwtl-card{ animation:mwtl-shake .32s; }
html.mwtl-open{ overflow:hidden; }
@keyframes mwtl-fade{ from{ opacity:0 } }
@keyframes mwtl-rise{ from{ opacity:0; transform:translateY(8px) scale(.985) } }
@keyframes mwtl-spin{ to{ transform:rotate(360deg) } }
@keyframes mwtl-shake{ 20%,60%{ transform:translateX(-6px) } 40%,80%{ transform:translateX(6px) } }
@media (prefers-reduced-motion:reduce){ .mwtl *{ animation:none !important; } }
