/* Add-profile welcome + wizard — page-scoped only */

.page-add-profile .page-content {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.page-add-profile.add-profile-welcome-active .profile-help-cta,
.page-add-profile.add-profile-welcome-active .add-profile-help-cta,
.page-add-profile.add-profile-welcome-active .add-profile-seo-faq {
  display: none;
}

.page-add-profile.add-profile-welcome-active .profile-hero.-add .page-hero-subtitle {
  display: none;
}

.page-add-profile.add-profile-welcome-active .profile-hero.-add {
  margin-bottom: 0.35rem;
}

.page-add-profile.add-profile-welcome-active .profile-hero.-add .page-title {
  font-size: clamp(1.25rem, 5vw, 1.65rem);
  margin-bottom: 0;
}

.page-add-profile.add-profile-wizard-active .profile-hero.-add .page-hero-subtitle {
  display: none;
}

.page-add-profile.add-profile-wizard-active .profile-hero.-add {
  margin-bottom: 0.5rem;
}

.page-add-profile.add-profile-wizard-active .profile-hero.-add .page-title {
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  margin-bottom: 0;
}

/* ── Welcome ── */
.add-profile-welcome {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.25rem;
}

.add-profile-welcome.is-hidden {
  display: none;
}

.add-profile-welcome-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.25rem 1.15rem 1.35rem;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--primary-rgb), 0.22) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%),
    rgba(13, 18, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.28);
}

:root[data-theme="light"] .add-profile-welcome-card {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--primary-rgb), 0.14) 0%, transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.82) 100%);
  border-color: rgba(var(--primary-rgb), 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 28px rgba(15, 23, 42, 0.07);
}

.add-profile-welcome-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
}

.add-profile-welcome-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 5.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
}

.add-profile-welcome-text {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.add-profile-welcome-bullets {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.add-profile-welcome-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.add-profile-welcome-bullet-icon {
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.14);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
}

.add-profile-welcome-bullet-icon svg {
  width: 0.85rem;
  height: 0.85rem;
}

.add-profile-welcome-start {
  width: 100%;
  min-height: 52px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.add-profile-welcome-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Fake live urgency under welcome (visual only, no API) */
.add-profile-live {
  margin-top: 0.85rem;
  width: 100%;
}
.add-profile-live__card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background:
    linear-gradient(120deg, rgba(52, 211, 153, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.06), 0 10px 28px rgba(0, 0, 0, 0.14);
}
:root[data-theme="light"] .add-profile-live__card {
  background:
    linear-gradient(120deg, rgba(16, 185, 129, 0.1), transparent 55%),
    rgba(15, 23, 42, 0.02);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.08), 0 8px 20px rgba(15, 23, 42, 0.06);
}
.add-profile-live__pulse {
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--online, #34d399);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: addProfileLivePulse 1.8s ease-out infinite;
}
@keyframes addProfileLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.add-profile-live__body {
  min-width: 0;
  flex: 1;
}
.add-profile-live__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}
.add-profile-live__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #052e1c;
  background: #34d399;
}
:root[data-theme="light"] .add-profile-live__badge {
  color: #fff;
  background: #059669;
}
.add-profile-live__count {
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: transform 0.18s ease, color 0.18s ease;
}
.add-profile-live__count.is-bump {
  color: var(--primary-color, #22d3ee);
  transform: translateY(-1px) scale(1.04);
}
.add-profile-live__label {
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--text-primary);
}
.add-profile-live__hint {
  margin: 0.28rem 0 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.4;
}
.add-profile-live__ticker {
  margin: 0.45rem 0 0;
  min-height: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.add-profile-live__ticker.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .add-profile-live__pulse,
  .add-profile-live__count,
  .add-profile-live__ticker {
    animation: none !important;
    transition: none !important;
  }
}

.add-profile-draft-resume {
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px dashed rgba(var(--primary-rgb), 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.add-profile-draft-resume.is-hidden {
  display: none;
}

.add-profile-draft-resume-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.add-profile-draft-resume-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.add-profile-draft-resume-actions .submit-btn {
  flex: 1 1 120px;
  min-height: 44px;
  margin: 0;
}

/* ── Wizard shell ── */
.add-profile-wizard.is-hidden {
  display: none;
}

.add-profile-wizard-progress {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.15rem 0.55rem;
  background: color-mix(in srgb, var(--bg-color, #0b0f19) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

:root[data-theme="light"] .add-profile-wizard-progress {
  background: color-mix(in srgb, #f0f2f7 90%, transparent);
}

.add-profile-wizard-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.add-profile-wizard-step-label {
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.add-profile-wizard-step-count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--text-secondary);
}

.add-profile-wizard-segments {
  display: flex;
  gap: 0.3rem;
}

.add-profile-wizard-segment {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.16);
  transition: background 0.25s ease, transform 0.2s ease;
}

.add-profile-wizard-segment.is-done,
.add-profile-wizard-segment.is-current {
  background: var(--primary-color);
}

.add-profile-wizard-segment.is-current {
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.25);
}

.page-add-profile #formSection {
  margin-top: 0;
  padding-bottom: 1rem;
}

.page-add-profile .registration-section {
  border-radius: 18px;
}

.add-profile-wizard-pane {
  display: none;
  animation: addProfilePaneIn 0.28s ease;
}

.add-profile-wizard-pane.is-active {
  display: block;
}

@keyframes addProfilePaneIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .add-profile-wizard-pane {
    animation: none;
  }
}

.page-add-profile .add-profile-wizard-pane .form-section-group {
  padding: 0;
  margin: 0 0 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.page-add-profile .add-profile-wizard-pane .form-section-group:last-child {
  margin-bottom: 0;
}

.page-add-profile .add-profile-wizard-pane .form-section-title {
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.page-add-profile .add-profile-wizard-pane .guest-account-section {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.page-add-profile .add-profile-wizard-pane .guest-account-title {
  display: none;
}

.page-add-profile .add-profile-wizard-pane .agree-rules-group {
  margin-top: 1.1rem;
}

.page-add-profile .add-profile-wizard-pane #addProfileSubmitBtn {
  display: none;
}

/* Bottom-center actions inside form section (mobile + desktop) */
.add-profile-wizard-form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 1.35rem 0 0.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.14);
}

.add-profile-wizard-form-actions.is-hidden {
  display: none;
}

.add-profile-wizard-form-actions .submit-btn {
  margin: 0;
  width: auto;
  max-width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 750;
  box-sizing: border-box;
}

.add-profile-wizard-form-actions .add-profile-wizard-back {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  color: var(--text-primary);
}

.add-profile-wizard-form-actions .add-profile-wizard-back:hover {
  background: rgba(var(--primary-rgb), 0.14);
}

.add-profile-wizard-form-actions .add-profile-wizard-next {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 260px;
}

.add-profile-wizard-form-actions .add-profile-wizard-back.is-hidden {
  display: none;
}

.add-profile-wizard-form-actions .add-profile-wizard-back.is-hidden + .add-profile-wizard-next {
  flex: 0 1 280px;
  max-width: 280px;
  width: 100%;
}

.page-add-profile .profile-help-cta {
  margin-top: 0.35rem;
}

/* Compact Telegram help strip (replaces FAQ on mobile) */
.page-add-profile .add-profile-help-cta {
  margin: 0.85rem 0 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  animation: none;
  overflow: visible;
}

.page-add-profile .add-profile-help-cta::before,
.page-add-profile .add-profile-help-cta::after {
  display: none;
}

.add-profile-help-cta__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(34, 158, 217, 0.28);
  background:
    radial-gradient(120% 140% at 0% 50%, rgba(34, 158, 217, 0.16) 0%, transparent 55%),
    rgba(13, 18, 30, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="light"] .add-profile-help-cta__row {
  background:
    radial-gradient(120% 140% at 0% 50%, rgba(34, 158, 217, 0.12) 0%, transparent 55%),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(34, 158, 217, 0.22);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.add-profile-help-cta__icon {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2aabee;
  background: rgba(42, 171, 238, 0.14);
  border: 1px solid rgba(42, 171, 238, 0.28);
}

.add-profile-help-cta__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.add-profile-help-cta__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.add-profile-help-cta__title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
}

.add-profile-help-cta__text {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.add-profile-help-cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 14px rgba(34, 158, 217, 0.28);
}

.add-profile-help-cta__btn:hover {
  filter: brightness(1.06);
  color: #fff;
}

.add-profile-help-cta__btn:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .page-add-profile .add-profile-seo-faq {
    display: none !important;
  }

  .add-profile-help-cta__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (min-width: 769px) {
  .add-profile-help-cta__title {
    font-size: 0.9rem;
  }

  .add-profile-help-cta__text {
    font-size: 0.78rem;
  }
}

/* Contact: reuse account phone, reveal for WhatsApp */
.page-add-profile .add-profile-phone-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  background: rgba(var(--primary-rgb), 0.07);
}

.page-add-profile .add-profile-phone-summary.is-hidden {
  display: none;
}

.page-add-profile .add-profile-phone-summary__text {
  min-width: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.page-add-profile .add-profile-phone-summary__value {
  color: var(--text-primary);
  font-weight: 750;
  word-break: break-all;
}

.page-add-profile .add-profile-phone-summary__change {
  flex-shrink: 0;
  border: 1px solid rgba(var(--primary-rgb), 0.28);
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 999px;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.page-add-profile [data-section="contact"] .form-group.is-hidden {
  display: none;
}

/* Rates: stack currency → incall → outcall (desktop labels don't fit in 3-col) */
.page-add-profile #ratesFieldsRow.form-row.three-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-add-profile #ratesFieldsRow > .form-group {
  width: 100%;
  min-width: 0;
  margin: 0;
}

@media (min-width: 769px) {
  .page-add-profile .page-content {
    max-width: 600px;
  }

  .add-profile-welcome-card {
    padding: 1.5rem 1.4rem 1.55rem;
  }

  .add-profile-wizard-form-actions {
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .add-profile-wizard-form-actions .add-profile-wizard-next {
    max-width: 240px;
  }
}
