/* Combined signup wizard — keeps dumped Pro look, wires phases. */
html, body {
  color-scheme: dark;
}

.tf-signup-nav {
  width: 100%;
  background: #0b0611;
  border-bottom: 1px solid rgba(247, 247, 250, 0.08);
}

.tf-signup-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 0 20px;
  box-sizing: border-box;
}

.tf-signup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f7f7fa;
  text-decoration: none;
  font-weight: 600;
}

.tf-signup-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.tf-signup-signin {
  color: #f7f7fa;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 4px;
}

.tf-signup-signin:hover {
  opacity: 0.8;
}
.tf-step {
  display: none !important;
}

.tf-step.is-active {
  display: flex !important;
}

.tf-shell {
  display: none;
}

.tf-shell.is-active {
  display: block;
}

#signup-back.is-hidden,
[hidden] {
  display: none !important;
}

.tf-illust {
  display: block;
  width: 160px;
  height: 160px;
  max-width: 42vw;
  max-height: 42vw;
}

.tf-illust.is-sm {
  width: 130px;
  height: 130px;
}

.tf-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 12px;
  background: #1c1824;
  border: 1px solid transparent;
}

.tf-input-wrap:hover {
  background: #25202e;
}

.tf-input-wrap:focus-within {
  background: #1c1824;
  border-color: #1558f0;
}

.tf-input-wrap label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #959595;
  font-size: 14px;
  line-height: 20px;
  pointer-events: none;
  transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease;
}

.tf-input-wrap:focus-within label,
.tf-input-wrap.has-value label {
  top: 8px;
  transform: none;
  font-size: 12px;
  line-height: 16px;
}

.tf-input-wrap input,
.tf-input-wrap select {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  height: 56px;
  border: 0;
  background: transparent;
  color: #f7f7fa;
  outline: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 18px 0 6px;
  box-sizing: border-box;
  appearance: none;
  border-radius: inherit;
}

.tf-input-wrap input:-webkit-autofill,
.tf-input-wrap input:-webkit-autofill:hover,
.tf-input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f7f7fa;
  caret-color: #f7f7fa;
  box-shadow: 0 0 0 1000px #1c1824 inset;
  transition: background-color 99999s ease-out;
}

.tf-otp {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 44px;
  height: 56px;
  border: 1px solid #3a3344;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  font-size: 24px;
  background: #1c1824;
  color: #f7f7fa;
  outline: none;
  appearance: textfield;
}

.tf-otp::-webkit-inner-spin-button,
.tf-otp::-webkit-outer-spin-button {
  appearance: none;
}

.tf-otp:focus-visible {
  outline: 2px solid #1558f0;
  outline-offset: 0;
}

.tf-req {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tf-req li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #959595;
}

.tf-req li.is-met {
  color: #05b45b;
}

.tf-req-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.tf-check[data-checked="true"] [data-testid="checkbox-box"] {
  background: #1558f0;
  color: #fff;
  border-color: #1558f0;
}

.tf-check[data-checked="false"] [data-testid="checkbox-box"] {
  background: transparent;
  border: 1.5px solid #959595;
}

.tf-check[data-checked="false"] [data-testid="checkbox-icon"] {
  display: none;
}

.tf-btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

.tf-tab {
  min-width: 92px;
  min-height: 36px;
}

.tf-tab[aria-selected="true"] {
  background: #fff;
  color: #0b0611;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.tf-tab[aria-selected="false"] {
  background: transparent;
  color: #959595;
}

.tf-note {
  min-height: 1.25em;
  margin: 0;
  text-align: center;
  font-size: 13px;
}

.tf-note.is-error {
  color: #fb414a;
}

.tf-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
  padding: 2px;
  border-radius: 12px;
  background: #2a2433;
}
