/* Sprint 192 v2 — Premium onboarding profiling — CORRECT selectors matching app.js renderProfilingScreen() */

.prof-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #FAF7FF 0%, #F0EBFF 50%, #FFEBF5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter var", "Inter", system-ui, sans-serif;
}

.prof-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
  width: 100%;
  margin-bottom: 24px;
}

.prof-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #1E1B4B;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.prof-brand .logo-mark {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(139,92,246,0.25);
}

.prof-skip {
  color: #6B7280 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}
.prof-skip:hover {
  background: rgba(107,114,128,0.08);
  color: #374151 !important;
}

.prof-card {
  background: #fff !important;
  border-radius: 24px !important;
  padding: 40px 44px !important;
  max-width: 720px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(15,23,42,0.08), 0 1px 3px rgba(15,23,42,0.04) !important;
  border: 1px solid rgba(139,92,246,0.08) !important;
}

/* Progress bar (single bar, not steps) */
.prof-progress {
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
  width: 100%;
}

.prof-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #8B5CF6, #EC4899);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.prof-step-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #7C3AED !important;
  margin-bottom: 12px !important;
  font-family: 'JetBrains Mono','SF Mono',Menlo,monospace !important;
}

.prof-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #0F172A !important;
  margin: 0 0 12px !important;
  line-height: 1.15 !important;
}

.prof-sub {
  color: #6B7280 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 0 32px !important;
}

/* Question groups */
.prof-q {
  margin-bottom: 28px;
}

.prof-q-label {
  display: block;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #6B7280 !important;
  margin-bottom: 10px !important;
  font-family: 'JetBrains Mono','SF Mono',Menlo,monospace !important;
}

.prof-q-hint {
  font-weight: 400;
  text-transform: none;
  font-family: inherit;
  color: #9CA3AF;
  letter-spacing: 0;
  font-size: 12px;
  margin-left: 6px;
}

.prof-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.prof-pill {
  appearance: none !important;
  background: #fff !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1) !important;
  font-family: inherit;
  position: relative;
  letter-spacing: -0.005em;
  line-height: 1.2 !important;
}

.prof-pill:hover {
  border-color: #8B5CF6 !important;
  background: rgba(139,92,246,0.04) !important;
  color: #1E1B4B !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139,92,246,0.1);
}

.prof-pill:focus-visible {
  outline: 3px solid rgba(139,92,246,0.3) !important;
  outline-offset: 2px;
}

.prof-pill.is-selected {
  background: linear-gradient(135deg, #8B5CF6, #EC4899) !important;
  border-color: transparent !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 16px rgba(139,92,246,0.3) !important;
  transform: translateY(-1px);
}

.prof-pill.is-selected::after {
  content: " ✓";
  font-weight: 700;
}

.prof-other-input {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-size: 14px !important;
  font-family: inherit !important;
  margin-top: 8px;
  outline: none !important;
}
.prof-other-input:focus {
  border-color: #8B5CF6 !important;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1) !important;
}

.prof-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 32px !important;
  padding-top: 24px !important;
  border-top: 1px solid #F3F4F6 !important;
  gap: 12px;
}

/* Override the .btn.btn-primary inside profiling */
.prof-card .btn-primary,
.prof-actions .btn-primary {
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow: 0 8px 20px rgba(139,92,246,0.3) !important;
  letter-spacing: -0.005em !important;
}

.prof-card .btn-primary:hover:not([disabled]),
.prof-actions .btn-primary:hover:not([disabled]) {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(139,92,246,0.4) !important;
}

.prof-card .btn-primary[disabled],
.prof-actions .btn-primary[disabled] {
  background: #E5E7EB !important;
  color: #9CA3AF !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.prof-card .btn-ghost,
.prof-actions .btn-ghost {
  background: transparent !important;
  color: #6B7280 !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 14px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
}
.prof-card .btn-ghost:hover,
.prof-actions .btn-ghost:hover {
  background: #F9FAFB !important;
  color: #374151 !important;
  border-color: #D1D5DB !important;
}

.prof-hint {
  font-size: 13px !important;
  color: #9CA3AF !important;
  text-align: right !important;
  margin-top: 12px !important;
}

.prof-country {
  background: rgba(139,92,246,0.05);
  border: 1px dashed rgba(139,92,246,0.25);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #4B5563;
  margin-bottom: 20px;
}
.prof-country a {
  color: #7C3AED !important;
  text-decoration: none;
  font-weight: 500;
  margin-left: 6px;
}

.prof-consent {
  background: #FAFAFA;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
  border: 1px solid #F3F4F6;
}

.prof-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #4B5563;
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 12px;
}
.prof-check:last-child { margin-bottom: 0; }
.prof-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #8B5CF6;
  cursor: pointer;
  flex-shrink: 0;
}
.prof-check strong {
  color: #1F2937;
  font-weight: 600;
}

@media (max-width: 640px) {
  .prof-card { padding: 28px 24px !important; border-radius: 16px !important; }
  .prof-title { font-size: 24px !important; }
  .prof-pills { gap: 8px !important; }
  .prof-pill { padding: 10px 14px !important; font-size: 13px !important; }
  .prof-actions { flex-direction: column-reverse !important; align-items: stretch !important; }
  .prof-card .btn-primary { width: 100% !important; }
}
