/* TrustMeet signup — mock-matched pink journey. No stock/AI people. */

.tm-onboard-html,
.tm-onboard-body {
  background: #070910 !important;
}

.tm-onboard-wrap {
  max-width: 430px !important;
  padding-top: 12px !important;
}

.tm-ob-ambient__orb--a {
  background: radial-gradient(circle, rgba(255, 77, 157, 0.22), transparent 70%) !important;
}
.tm-ob-ambient__orb--b {
  background: radial-gradient(circle, rgba(255, 122, 77, 0.16), transparent 70%) !important;
}
.tm-ob-ambient__orb--c {
  background: radial-gradient(circle, rgba(255, 77, 157, 0.1), transparent 72%) !important;
}

.tm-onboard-body .tm-onboard-btn,
.tm-onboard-body a.tm-onboard-btn,
.tm-onboard-body button.tm-onboard-btn,
.tm-ob-btn-send,
.tm-ob-btn-verify,
.tm-ob-btn-continue,
.tm-cec-continue,
.tm-face-thankyou-btn,
.tm-face-capture__perm-btn--selfie {
  color: #fff !important;
  background: linear-gradient(90deg, #ff3d9a 0%, #ff5c7a 48%, #ff8a4c 100%) !important;
  box-shadow: 0 12px 28px rgba(255, 61, 154, 0.38) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.tm-onboard-body .tm-onboard-btn:disabled,
.tm-cec-continue:disabled {
  opacity: 0.45;
  filter: grayscale(0.2);
}

/* Progress: pink active, green done */
.tm-ob-progress {
  max-width: 420px !important;
  margin: 8px auto 22px !important;
}

.tm-ob-progress-track {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
  position: relative !important;
}

.tm-ob-progress-track::before {
  content: "" !important;
  position: absolute !important;
  top: 16px !important;
  left: 12% !important;
  right: 12% !important;
  height: 3px !important;
  background: #2a3144 !important;
  z-index: 0 !important;
}

.tm-ob-progress-step {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: center !important;
  z-index: 1 !important;
}

.tm-ob-progress-dot {
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #1c2333 !important;
  color: #7b8499 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  animation: none !important;
}

.tm-ob-progress-step.is-active .tm-ob-progress-dot {
  color: #fff !important;
  background: #ff3d9a !important;
  box-shadow: 0 0 0 6px rgba(255, 61, 154, 0.22) !important;
}

.tm-ob-progress-step.is-done .tm-ob-progress-dot {
  color: #fff !important;
  background: #22c55e !important;
  border: 0 !important;
}

.tm-ob-progress-label {
  font-size: 0.7rem !important;
  color: #8b93a7 !important;
}

.tm-ob-progress-step.is-active .tm-ob-progress-label {
  color: #fff !important;
  font-weight: 700;
}

.tm-ob-progress-step.is-done .tm-ob-progress-label {
  color: #86efac !important;
}

/* Welcome splash */
.tm-ob-welcome {
  position: relative;
  min-height: calc(100svh - 72px);
  margin: 0 -4px;
  padding: 0 0 28px;
  overflow: hidden;
}

.tm-ob-welcome__photo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(255, 61, 154, 0.28), transparent 50%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(255, 122, 77, 0.18), transparent 55%),
    linear-gradient(180deg, #121826 0%, #070910 72%);
}

.tm-ob-welcome__photo img {
  width: 100%;
  height: min(52vh, 460px);
  object-fit: cover;
  object-position: center 32%;
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}

.tm-ob-welcome__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 16, 0.08) 0%, rgba(7, 9, 16, 0.35) 38%, #070910 68%);
  pointer-events: none;
}

.tm-ob-welcome__copy {
  position: relative;
  z-index: 1;
  padding: min(46vh, 400px) 18px 0;
}

.tm-ob-welcome h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 7vw, 2.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.tm-ob-welcome h1 em {
  display: block;
  font-style: normal;
  color: #ff4d9d;
}

.tm-ob-step1-card::before {
  display: none !important;
}

.tm-ob-welcome__lead {
  margin: 0 0 18px;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.5;
  font-size: 0.95rem;
}

.tm-ob-welcome__icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}

.tm-ob-welcome__icons article {
  padding: 14px 8px 12px;
  border-radius: 18px;
  background: rgba(18, 24, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.tm-ob-welcome__icons svg {
  width: 26px;
  height: 26px;
  color: #ff5c9a;
  margin-bottom: 8px;
}

.tm-ob-welcome__icons p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  color: #e8edf7;
}

.tm-ob-welcome .tm-onboard-btn {
  width: 100%;
  min-height: 52px;
}

.tm-ob-welcome__fine {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
}

.tm-ob-main[hidden] {
  display: none !important;
}

/* Phone lock badge */
.tm-ob-lock {
  width: 72px;
  height: 72px;
  margin: 4px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 61, 154, 0.12);
  border: 1px solid rgba(255, 61, 154, 0.35);
  color: #ff4d9d;
}

.tm-ob-lock svg {
  width: 32px;
  height: 32px;
}

.tm-ob-step1-header h1,
.tm-cec-card h1 {
  text-align: center;
}

.tm-ob-step1-lead,
.tm-cec-lead {
  text-align: center;
}

.tm-ob-step1-badge {
  display: none;
}

.tm-ob-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.tm-ob-privacy-note svg {
  width: 14px;
  height: 14px;
}

.tm-ob-already {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: #c5cedd;
}

.tm-ob-already a {
  color: #ff8ab8;
  font-weight: 800;
  text-decoration: none;
}

.tm-onboard-form-card,
.tm-cec-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 8px 4px 20px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.tm-onboard-field label,
.tm-ob-gender-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cfd6e4;
}

.tm-onboard-field input,
.tm-onboard-field textarea,
.tm-onboard-field select,
.tm-ob-input-wrap {
  border-radius: 14px !important;
  background: #121826 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.tm-ob-accent {
  color: #ff4d9d;
}

.tm-ob-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 14px;
}

.tm-ob-photo-grid button,
.tm-ob-photo-grid .tm-ob-photo-slot {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px dashed rgba(255, 92, 154, 0.45);
  background: rgba(18, 24, 38, 0.8);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tm-ob-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-ob-photo-slot {
  border-style: solid !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.tm-ob-photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 9, 16, 0.72);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.tm-ob-photo-add {
  font-size: 1.8rem;
  font-weight: 300;
  color: #ff4d9d;
}

.tm-ob-photo-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
}

.tm-ob-photo-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 168px;
  margin: 0 0 14px;
  padding: 22px 16px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 92, 154, 0.45);
  background: rgba(18, 24, 38, 0.65);
  color: #cbd5e1;
  cursor: pointer;
  text-align: center;
}

.tm-ob-photo-drop strong {
  color: #fff;
}

.tm-ob-tips {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(18, 24, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.45;
}

.tm-ob-tips svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #ff4d9d;
}

.tm-ob-checks {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.tm-ob-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #e2e8f0;
  font-size: 0.92rem;
}

.tm-ob-checks li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 800;
}

.tm-ob-cam {
  width: 88px;
  height: 88px;
  margin: 8px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(255, 61, 154, 0.12);
  color: #ff4d9d;
}

.tm-ob-later {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: #7dd3fc;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.tm-ob-success-photo {
  width: 128px;
  height: 128px;
  margin: 8px auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #22c55e;
  background: #121826;
}

.tm-ob-success-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-ob-success-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #22c55e;
}

.tm-ob-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.tm-ob-mini-grid article {
  padding: 12px 8px;
  border-radius: 16px;
  background: rgba(18, 24, 38, 0.8);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
}

.tm-ob-mini-grid svg {
  width: 22px;
  height: 22px;
  color: #ff4d9d;
  margin-bottom: 6px;
}

.tm-ob-community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 20px;
}

.tm-ob-community article {
  padding: 16px 12px;
  border-radius: 18px;
  background: rgba(18, 24, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.tm-ob-community svg {
  width: 24px;
  height: 24px;
  color: #ff4d9d;
  margin-bottom: 8px;
}

.tm-ob-community p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8edf7;
}

body.tm-page--login .tm-login-submit,
body.tm-page--login .tm-btn--primary {
  background: linear-gradient(90deg, #ff3d9a 0%, #ff5c7a 48%, #ff8a4c 100%) !important;
  box-shadow: 0 12px 28px rgba(255, 61, 154, 0.38) !important;
}

.tm-login-step,
#tm-vj-step-label {
  display: none !important;
}

.tm-ob-welcome--meet {
  min-height: calc(100svh - 72px);
}

.tm-ob-welcome--meet .tm-ob-welcome__copy {
  padding-top: min(48vw, 260px);
}

.tm-ob-welcome__script {
  margin: 0 0 8px;
  font-style: italic;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.tm-ob-welcome__tag {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.tm-ob-choice__card.is-on,
.tm-ob-choice__card[aria-pressed="true"] {
  border-color: rgba(255, 61, 154, 0.7) !important;
  background: linear-gradient(180deg, rgba(255, 61, 154, 0.22), rgba(255, 122, 77, 0.12)) !important;
}

.tm-ob-gender-pill input:checked + span,
.tm-ob-gender-pill:has(input:checked) span {
  border-color: rgba(255, 61, 154, 0.7);
  background: linear-gradient(180deg, rgba(255, 61, 154, 0.22), rgba(255, 122, 77, 0.12));
}
