/* The sign-in card on the front page. Owner, Oct 2026: as little text as possible, Google as the one big button —
   so: the team logo, "Continue with Google", 'Sign in with an email code', 'New member? Apply to join', and an EN | 中文 toggle in the corner.
   It sits inside an Elementor heading on the copied WordPress page, so every inherited text style is reset. */
.wt-signin, .wt-signin * { box-sizing: border-box; }
.wt-signin {
  position: relative; width: 100%; max-width: 380px; margin: 0 auto; padding: 36px 30px 22px;
  background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(15, 23, 42, .28), 0 2px 6px rgba(15, 23, 42, .08);
  font: 400 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #111827;
  text-align: center; text-transform: none; letter-spacing: normal; font-style: normal;
}
.wt-signin button, .wt-signin a, .wt-signin input, .wt-signin h2, .wt-signin p, .wt-signin span {
  text-transform: none; letter-spacing: normal; font-family: inherit; text-shadow: none;
}
.wt-signin [hidden] { display: none !important; }
.wt-si-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.wt-si-logo { display: block; width: 120px; height: auto; margin: 10px auto 26px; }
/* EN | 中文 toggle, top-right (owner, Oct 2026: a two-way switch in the corner, the current language highlighted) */
.wt-langs { position: absolute; top: 14px; right: 14px; display: inline-flex; padding: 3px; border-radius: 999px; background: #f3f4f6; }
.wt-langs button {
  min-width: 40px; padding: 4px 10px; border: 0; border-radius: 999px; background: transparent; color: #6b7280; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 12px; line-height: 1.4; transition: background .15s, color .15s;
}
.wt-langs button.on { background: #fff; color: #111827; box-shadow: 0 1px 3px rgba(15, 23, 42, .15); }

.wt-si-msg { margin: -6px 0 16px; padding: 10px 12px; border-radius: 12px; background: #f3f4f6; color: #374151; font-size: 14px; }
.wt-si-msg.err { background: #fef2f2; color: #b91c1c; }
.wt-si-msg a { color: inherit !important; font-weight: 600; text-decoration: underline !important; white-space: nowrap; }

/* The main way in: Google's dark button style (#131314, the G on a white disc), big */
.wt-si-google {
  display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 62px; margin: 0;
  border-radius: 16px; background: #131314; color: #fff !important; text-decoration: none !important; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 18px; line-height: 1; transition: background .15s, box-shadow .15s, transform .15s;
}
.wt-si-google:hover { background: #000; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); transform: translateY(-1px); }
.wt-si-g { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.wt-si-g svg { width: 20px; height: 20px; }

.wt-si-emailform { margin-top: 14px; animation: wt-si-in .2s ease-out; }
.wt-si-input, .wt-si-code input {
  width: 100%; height: 46px; margin: 0; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 12px;
  background: #fff; color: #111827; font-family: inherit; font-weight: 400; font-size: 15px; line-height: 1; outline: none; box-shadow: none;
}
.wt-si-input:focus, .wt-si-code input:focus { border-color: #3352b8; box-shadow: 0 0 0 3px rgba(51, 82, 184, .18); }
.wt-si-btn, .wt-si-btn2 {
  display: flex; align-items: center; justify-content: center; width: 100%; margin: 10px 0 0; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-weight: 600; line-height: 1; transition: background .15s, border-color .15s;
}
.wt-si-btn { height: 50px; border: 0; background: #131314; color: #fff; font-size: 16px; }
.wt-si-btn:hover { background: #000; }
.wt-si-btn2 { height: 44px; border: 1px solid #d1d5db; background: #fff; color: #111827; font-size: 14px; }
.wt-si-btn2:hover { background: #f9fafb; border-color: #9ca3af; }
.wt-si-btn:disabled, .wt-si-btn2:disabled { opacity: .55; cursor: default; }

.wt-si-sent { margin: 0 0 14px; color: #4b5563; font-size: 14px; word-break: break-word; }
.wt-si-sent strong { color: #111827; font-weight: 600; }
.wt-si-code { display: flex; justify-content: center; gap: 8px; }
.wt-si-code input { max-width: 48px; height: 56px; padding: 0; text-align: center; font-size: 22px; font-weight: 600; }

.wt-si-link {
  padding: 0; border: 0; background: none; color: #3352b8; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1.5;
}
.wt-si-link:disabled { color: #9ca3af; cursor: default; }
.wt-si-resend { margin-top: 12px; }

/* Below the Google button: the email way in, then joining */
.wt-si-links { margin: 16px 0 0; }
.wt-si-small {
  padding: 0; border: 0; background: none; color: #4b5563 !important; cursor: pointer; text-decoration: underline !important;
  text-underline-offset: 3px; font-family: inherit; font-weight: 500; font-size: 14px; line-height: 1.5;
}
.wt-si-small:hover { color: #111827 !important; }
.wt-si-join { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #f3f4f6; color: #6b7280; font-size: 14px; }
.wt-si-join a { color: #3352b8 !important; font-weight: 600; text-decoration: none !important; }
.wt-si-join a:hover { text-decoration: underline !important; }

.wt-si-step { animation: wt-si-in .2s ease-out; }
@keyframes wt-si-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 480px) {
  .wt-signin { padding: 30px 20px 18px; border-radius: 18px; }
  .wt-si-google { height: 58px; font-size: 17px; }
  .wt-si-code { gap: 6px; }
  .wt-si-code input { height: 50px; font-size: 20px; }
}
