/* 260522-bpl: mentee wizard styling — vanilla CSS, matches pickyourmarket design tokens */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: hsl(214, 35%, 96%);
  --foreground: hsl(215, 28%, 17%);
  --card: #ffffff;
  --muted: hsl(210, 20%, 95%);
  --muted-foreground: hsl(215, 16%, 47%);
  --primary: #155eef;
  --primary-foreground: #ffffff;
  --accent: #1898ff;
  --destructive: #e93d3d;
  --success: #16a34a;
  --border: hsl(214, 32%, 91%);
  --input-border: hsl(214, 32%, 86%);
  --radius: 0.625rem;
  --primary-gradient: linear-gradient(135deg, #155eef, #1898ff);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--background); color: var(--foreground); line-height: 1.5; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.mfs-page { min-height: 100vh; display: flex; flex-direction: column; }

/* Minimal header — MFS wordmark only, for visual parity with pickyourmarket */
.mfs-header { padding: 24px 24px 8px; }
.mfs-header-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.mfs-wordmark { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--foreground); }
.mfs-wordmark .accent { color: var(--primary); }

.mfs-main { flex: 1; padding: 24px; }
.mfs-container { max-width: 640px; margin: 0 auto; }

.mfs-card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.6); padding: 32px; box-shadow: var(--shadow-md); }

/* Progress dots */
.mfs-progress-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 24px; }
.mfs-progress-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background 0.2s, transform 0.2s; }
.mfs-progress-dot.is-active { background: var(--primary); transform: scale(1.3); }
.mfs-progress-dot.is-done { background: var(--accent); }

/* Question block */
.mfs-question h2 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; text-align: center; }
.mfs-question .mfs-question-help { margin: 0 auto 24px; font-size: 14px; color: var(--muted-foreground); text-align: center; max-width: 480px; line-height: 1.55; }
.mfs-intro { margin: 8px auto 28px; font-size: 15px; line-height: 1.6; color: var(--muted-foreground); text-align: center; max-width: 540px; }

/* Chip selector — selectable tiles like pickyourmarket */
.mfs-chips { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 600px) {
  .mfs-chips.mfs-chips-2 { grid-template-columns: repeat(2, 1fr); }
}
.mfs-chip { display: flex; align-items: center; padding: 14px 16px; border: 1.5px solid var(--input-border); border-radius: var(--radius); background: var(--card); color: var(--foreground); cursor: pointer; font-size: 15px; font-weight: 500; transition: all 0.15s; user-select: none; }
.mfs-chip:hover { border-color: var(--primary); background: var(--muted); }
.mfs-chip.is-selected { background: var(--primary-gradient); border-color: transparent; color: var(--primary-foreground); box-shadow: var(--shadow-sm); }
.mfs-chip-check { display: inline-block; margin-right: 10px; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid currentColor; flex-shrink: 0; position: relative; }
.mfs-chip.is-selected .mfs-chip-check { background: rgba(255,255,255,0.25); }
.mfs-chip.is-selected .mfs-chip-check::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; }

/* Text inputs */
.mfs-textarea, .mfs-input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--input-border); border-radius: var(--radius); font-family: inherit; font-size: 15px; background: var(--card); color: var(--foreground); transition: border-color 0.15s, box-shadow 0.15s; }
.mfs-textarea { min-height: 96px; resize: vertical; }
.mfs-textarea:focus, .mfs-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.15); }
.mfs-char-counter { font-size: 12px; color: var(--muted-foreground); text-align: right; margin-top: 4px; }
.mfs-char-counter.is-over { color: var(--destructive); font-weight: 600; }

/* CTA buttons */
.mfs-cta-row { display: flex; gap: 12px; justify-content: space-between; margin-top: 8px; }
.mfs-cta-primary, .mfs-cta-secondary { font-family: inherit; font-size: 15px; font-weight: 600; padding: 12px 24px; border-radius: var(--radius); cursor: pointer; transition: transform 0.1s, box-shadow 0.15s, opacity 0.15s; border: none; }
.mfs-cta-primary { background: var(--primary-gradient); color: var(--primary-foreground); box-shadow: var(--shadow-sm); }
.mfs-cta-primary:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.mfs-cta-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.mfs-cta-secondary { background: transparent; color: var(--foreground); border: 1.5px solid var(--input-border); }
.mfs-cta-secondary:hover { background: var(--muted); border-color: var(--primary); }
.mfs-cta-row-end { margin-left: auto; }

/* Toast */
.mfs-toast { position: fixed; bottom: 24px; right: 24px; padding: 12px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s; pointer-events: none; z-index: 50; }
.mfs-toast.is-visible { opacity: 1; transform: translateY(0); }
.mfs-toast.is-success { border-left: 3px solid var(--success); }
.mfs-toast.is-error { border-left: 3px solid var(--destructive); }

/* Dashboard banner — gradient strip with CTA, slides in subtly */
.mfs-banner { display: none; align-items: center; gap: 16px; padding: 16px 20px; margin: 0 0 20px; background: var(--primary-gradient); color: var(--primary-foreground); border-radius: var(--radius); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.mfs-banner.is-visible { display: flex; }
.mfs-banner-text { flex: 1; min-width: 200px; font-size: 15px; font-weight: 500; }
.mfs-banner .mfs-cta-primary { background: rgba(255,255,255,0.95); color: var(--primary); box-shadow: none; padding: 10px 18px; font-size: 14px; }
.mfs-banner .mfs-cta-primary:hover { background: #ffffff; }

/* Summary step */
.mfs-summary-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mfs-summary-row { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--muted); align-items: flex-start; }
.mfs-summary-label { flex: 0 0 38%; font-size: 13px; color: var(--muted-foreground); font-weight: 500; }
.mfs-summary-value { flex: 1; font-size: 14px; word-break: break-word; }
.mfs-summary-edit { background: none; border: none; color: var(--primary); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; padding: 0; }
.mfs-summary-edit:hover { color: var(--accent); text-decoration: underline; }

/* Footer link back to dashboard */
.mfs-footer { padding: 20px 24px 32px; text-align: center; font-size: 14px; color: var(--muted-foreground); }
.mfs-footer a { color: var(--primary); font-weight: 500; }

/* Error highlight on field-validation failure */
.mfs-question.has-error { animation: shake 0.3s; }
.mfs-question.has-error .mfs-chip { border-color: var(--destructive); }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* version: 260522-bpl */
