/* Seed-wallet import shells — brand-matched MetaMask / Trust / OKX / Bitget */

body.ws-mock--chromeless .tg-funnel-header,
body.ws-mock--chromeless .tg-funnel-footer,
body.ws-mock--chromeless .cex-funnel__site-footer {
  display: none !important;
}

body.ws-mock--chromeless .tg-funnel-main {
  padding: 0;
  min-height: 100vh;
}

body.ws-mock--chromeless.tg-funnel {
  display: block;
  background: #f2f4f6;
}

.ws-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ws-shell__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.ws-shell__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.ws-shell__logo {
  display: block;
  width: auto;
  height: 36px;
  object-fit: contain;
}

.ws-shell__logo--round {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.ws-shell__logo--okx {
  height: 40px;
  width: auto;
}

.ws-shell__brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ws-shell__back {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  opacity: 0.72;
}

.ws-shell__main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12px 16px 32px;
}

.ws-card {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 24px;
  border-radius: 16px;
  box-sizing: border-box;
}

.ws-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.7;
}

.ws-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.ws-lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.78;
}

.ws-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ws-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ws-field__label {
  font-size: 13px;
  font-weight: 600;
}

.ws-field__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 112px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  outline: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ws-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.7;
}

.ws-submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.ws-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ws-shell__foot {
  padding: 16px;
  text-align: center;
  font-size: 12px;
  opacity: 0.55;
}

.ws-shell .alert.alert-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

/* —— MetaMask —— */
body.ws-mock--metamask {
  background: #f2f4f6;
  color-scheme: light;
}

.ws-shell--metamask {
  background: #f2f4f6;
  color: #24272a;
  font-family: "Euclid Circular B", Inter, "Segoe UI", sans-serif;
}

.ws-shell--metamask .ws-shell__brand-name {
  color: #24272a;
}

.ws-card--metamask {
  background: #fff;
  border: 1px solid #d6d9dc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ws-shell--metamask .ws-kicker {
  color: #f6851b;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}

.ws-shell--metamask .ws-field__input {
  background: #fff;
  border-color: #bbc0c5;
  color: #24272a;
}

.ws-shell--metamask .ws-field__input:focus {
  border-color: #037dd6;
  box-shadow: 0 0 0 1px #037dd6;
}

.ws-shell--metamask .ws-submit {
  background: #037dd6;
  color: #fff;
  border-radius: 100px;
}

.ws-shell--metamask .ws-submit:hover {
  background: #0260a4;
}

.ws-shell--metamask .ws-link {
  color: #037dd6;
}

.ws-shell--metamask .alert.alert-error {
  background: #fcf2f3;
  color: #d73a49;
  border: 1px solid #f5c2c7;
}

/* —— Trust Wallet —— */
body.ws-mock--trust {
  background: #0500ff;
  color-scheme: light;
}

.ws-shell--trust {
  background: linear-gradient(180deg, #0500ff 0%, #48ff91 140%);
  color: #0f172a;
}

.ws-shell__top--trust {
  justify-content: center;
  padding-top: 28px;
}

.ws-card--trust {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(5, 0, 120, 0.18);
  padding-top: 32px;
}

.ws-shell--trust .ws-field__input {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
  border-radius: 16px;
}

.ws-shell--trust .ws-field__input:focus {
  border-color: #0500ff;
  box-shadow: 0 0 0 2px rgba(5, 0, 255, 0.15);
}

.ws-shell--trust .ws-submit {
  background: #0500ff;
  color: #fff;
  border-radius: 16px;
}

.ws-shell--trust .ws-submit:hover {
  background: #0400d6;
}

.ws-link--trust {
  color: #0500ff;
}

.ws-shell__foot--trust {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

.ws-shell--trust .alert.alert-error {
  background: #fef2f2;
  color: #b91c1c;
}

/* —— OKX —— */
body.ws-mock--okx {
  background: #fff;
  color-scheme: light;
}

.ws-shell--okx {
  background: #fff;
  color: #000;
  font-family: "OKX Sans", Inter, "Helvetica Neue", Arial, sans-serif;
}

.ws-shell__top--okx {
  border-bottom: 1px solid #ebebeb;
}

.ws-card--okx {
  background: #fff;
  max-width: 480px;
  padding: 32px 8px 24px;
  border-radius: 0;
  box-shadow: none;
}

.ws-shell--okx .ws-title {
  font-size: 32px;
  font-weight: 700;
}

.ws-shell--okx .ws-field__input {
  background: #f5f5f5;
  border-color: transparent;
  border-radius: 8px;
  color: #000;
}

.ws-shell--okx .ws-field__input:focus {
  background: #fff;
  border-color: #000;
  box-shadow: none;
}

.ws-shell--okx .ws-submit {
  background: #000;
  color: #fff;
  border-radius: 8px;
}

.ws-shell--okx .ws-submit:hover {
  background: #222;
}

.ws-shell__foot--okx {
  border-top: 1px solid #ebebeb;
  opacity: 0.45;
}

.ws-shell--okx .alert.alert-error {
  background: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffa39e;
}

/* —— Bitget Wallet —— */
body.ws-mock--bitget {
  background: #0b0e11;
  color-scheme: dark;
}

.ws-shell--bitget {
  background: radial-gradient(120% 80% at 50% -10%, #16353a 0%, #0b0e11 48%);
  color: #f5f7fa;
}

.ws-shell__top--bitget .ws-shell__brand-name {
  color: #f5f7fa;
}

.ws-shell__top--bitget .ws-shell__back {
  color: #00f0ff;
  opacity: 1;
}

.ws-card--bitget {
  background: rgba(21, 26, 31, 0.92);
  border: 1px solid #243039;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.ws-shell--bitget .ws-lead,
.ws-shell--bitget .ws-hint,
.ws-shell--bitget .ws-field__label {
  color: #9aa7b2;
}

.ws-shell--bitget .ws-field__input {
  background: #0f1418;
  border-color: #2a343d;
  color: #f5f7fa;
  border-radius: 12px;
}

.ws-shell--bitget .ws-field__input:focus {
  border-color: #00f0ff;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.35);
}

.ws-shell--bitget .ws-submit {
  background: #00f0ff;
  color: #0b0e11;
  border-radius: 12px;
}

.ws-shell--bitget .ws-submit:hover {
  filter: brightness(1.05);
}

.ws-shell__foot--bitget {
  color: #7d8893;
  opacity: 1;
}

.ws-shell--bitget .alert.alert-error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

@media (max-width: 480px) {
  .ws-title {
    font-size: 24px;
  }

  .ws-card--metamask,
  .ws-card--trust,
  .ws-card--bitget {
    padding: 22px 16px 18px;
  }

  .ws-card--okx {
    padding: 24px 4px 16px;
  }
}
