/* ═══════════════════════════════════════════════════════════════
   Returns Customer Portal — Modern SaaS UI
   ═══════════════════════════════════════════════════════════════ */

:root {
  --recfw-blue:      #2563eb;
  --recfw-blue-h:    #1d4ed8;
  --recfw-blue-bg:   #dbeafe;
  --recfw-green:     #16a34a;
  --recfw-green-bg:  #dcfce7;
  --recfw-amber:     #d97706;
  --recfw-amber-bg:  #fef3c7;
  --recfw-red:       #dc2626;
  --recfw-red-bg:    #fee2e2;
  --recfw-slate-50:  #f8fafc;
  --recfw-slate-100: #f1f5f9;
  --recfw-slate-200: #e2e8f0;
  --recfw-slate-400: #94a3b8;
  --recfw-slate-600: #475569;
  --recfw-slate-700: #334155;
  --recfw-slate-900: #0f172a;
  --recfw-white:     #ffffff;
  --recfw-radius:    10px;
  --recfw-radius-sm: 6px;
  --recfw-shadow:    0 1px 3px rgba(15,23,42,.06);
}

.recfw-portal {
	max-width: 1100px;
	margin: 20px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
	color: var(--recfw-slate-700);
	line-height: 1.5;
}

/* ── Typography & Links ───────────────────────────────────────── */
.recfw-portal h2 { font-size: 22px; font-weight: 700; color: var(--recfw-slate-900); margin-bottom: 24px; letter-spacing: -0.02em; }
.recfw-portal h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--recfw-slate-400); margin-bottom: 16px; }
.recfw-portal a { color: var(--recfw-blue); text-decoration: none; transition: all 0.2s; }
.recfw-portal a:hover { color: var(--recfw-blue-h); }

.recfw-portal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.recfw-portal__title {
	margin: 0 !important;
}

.recfw-list-actions {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 18px;
}

/* ── Vertical Journey Layout ────────────────────────────────── */
.recfw-journey { display: block; }
.recfw-hero {
	background: linear-gradient(135deg, var(--recfw-blue) 0%, var(--recfw-blue-h) 100%);
	border-radius: var(--recfw-radius); padding: 40px; color: #fff; margin-bottom: 24px;
	box-shadow: 0 20px 25px -5px rgba(37,99,235,0.1), 0 10px 10px -5px rgba(37,99,235,0.04);
}
.recfw-hero__badge { 
	display: inline-block; padding: 4px 12px; border-radius: 20px; 
	background: rgba(255,255,255,0.15); font-size: 11px; font-weight: 700; 
	text-transform: uppercase; margin-bottom: 16px; 
}
.recfw-hero__title { font-size: 28px; font-weight: 800; margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.02em; }
.recfw-hero__desc { font-size: 16px; opacity: 0.9; margin-bottom: 24px; line-height: 1.6; }
.recfw-hero__btn { background: #fff !important; color: var(--recfw-blue) !important; font-size: 15px !important; }
.recfw-hero__btn:hover { background: #f8fafc !important; transform: scale(1.02); }

.recfw-summary-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.recfw-sidebar-card { background: var(--recfw-slate-50); border: 1px solid var(--recfw-slate-200); padding: 32px; border-radius: var(--recfw-radius); margin-bottom: 24px; }

/* ── Collapsible Details ─────────────────────────────────────── */
.recfw-details-toggle {
	background: var(--recfw-white);
	border: 1px solid var(--recfw-slate-200);
	border-radius: var(--recfw-radius);
	overflow: hidden;
	transition: all 0.3s ease;
}
.recfw-details-toggle[open] {
	box-shadow: var(--recfw-shadow);
}
.recfw-details-toggle__header {
	list-style: none;
	padding: 20px 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	user-select: none;
	background: var(--recfw-white);
	transition: background 0.2s;
}
.recfw-details-toggle__header:hover {
	background: var(--recfw-slate-50);
}
.recfw-details-toggle__header::-webkit-details-marker {
	display: none;
}
.recfw-details-toggle__title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: var(--recfw-slate-900);
	font-size: 15px;
}
.recfw-details-toggle__title svg {
	color: var(--recfw-blue);
}
.recfw-details-toggle__icon {
	color: var(--recfw-slate-400);
	transition: transform 0.3s;
}
.recfw-details-toggle[open] .recfw-details-toggle__icon {
	transform: rotate(180deg);
}
.recfw-details-toggle__content {
	padding: 24px;
	border-top: 1px solid var(--recfw-slate-100);
	background: var(--recfw-white);
}

.recfw-invoice-link {
	display: inline-flex;
	align-items: center;
	background: var(--recfw-slate-100);
	color: var(--recfw-slate-600) !important;
	padding: 4px 10px;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s;
}
.recfw-invoice-link:hover {
	background: var(--recfw-blue-bg);
	color: var(--recfw-blue) !important;
}
.recfw-sidebar-card h4 { font-size: 11px; font-weight: 700; color: var(--recfw-slate-400); text-transform: uppercase; margin: 0 0 20px; letter-spacing: 0.05em; }

.recfw-mini-item { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 13px; }
.recfw-mini-item img { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--recfw-slate-200); object-fit: cover; }
.recfw-mini-item__name { font-weight: 600; color: var(--recfw-slate-900); }

.recfw-meta-list { list-style: none; padding: 0; margin: 0; }
.recfw-meta-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--recfw-slate-100); font-size: 13px; }
.recfw-meta-list li:last-child { border-bottom: none; }
.recfw-meta-list label { color: var(--recfw-slate-400); }
.recfw-meta-list span { font-weight: 600; color: var(--recfw-slate-900); }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.recfw-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; font-size: 13px; color: var(--recfw-slate-400); }
.recfw-breadcrumb a { color: var(--recfw-slate-400); }
.recfw-breadcrumb a:hover { color: var(--recfw-blue); }
.recfw-breadcrumb span { color: var(--recfw-slate-200); }

/* ── Cards ───────────────────────────────────────────────────── */
.recfw-card {
	background: var(--recfw-white);
	border: 1px solid var(--recfw-slate-200);
	border-radius: var(--recfw-radius);
	padding: 32px;
	margin-bottom: 24px;
	box-shadow: var(--recfw-shadow);
	position: relative;
}

.recfw-success-card {
	max-width: 720px;
	margin: 0 auto 24px;
	padding: 40px;
	text-align: center;
}

.recfw-success-card__icon .recfw-empty__mark {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: #16a34a;
}

.recfw-success-card h2 {
	margin: 0 0 12px;
}

.recfw-success-card__lead {
	max-width: 560px;
	margin: 0 auto 24px;
	color: var(--recfw-slate-500);
	line-height: 1.6;
}

.recfw-success-card__reference {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	min-width: 260px;
	margin: 0 auto 24px;
	padding: 16px 22px;
	border: 1px solid var(--recfw-slate-200);
	border-radius: 12px;
	background: var(--recfw-slate-50);
}

.recfw-success-card__reference span {
	color: var(--recfw-slate-400);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.recfw-success-card__reference strong {
	color: var(--recfw-slate-900);
	font-size: 20px;
}

.recfw-success-card__next {
	margin: 0 auto 28px;
	padding: 20px;
	text-align: left;
	border: 1px solid var(--recfw-slate-200);
	border-left: 4px solid var(--recfw-blue);
	border-radius: 12px;
	background: #f8fafc;
}

.recfw-success-card__next h3 {
	margin: 0 0 8px;
	color: var(--recfw-slate-900);
	text-transform: none;
	letter-spacing: 0;
	font-size: 15px;
}

.recfw-success-card__next p {
	margin: 0;
	color: var(--recfw-slate-500);
	line-height: 1.6;
}

.recfw-success-card__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.recfw-success-card__link {
	margin: 18px 0 0;
	font-size: 13px;
}

.recfw-account-setup {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 24px;
	padding: 18px 20px;
	background: #f8fafc;
	border: 1px solid var(--recfw-slate-200);
	border-left: 4px solid var(--recfw-blue);
	border-radius: 12px;
	box-shadow: var(--recfw-shadow);
}

.recfw-account-setup__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #eff6ff;
	color: var(--recfw-blue);
}

.recfw-account-setup__icon svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.recfw-account-setup__body {
	flex: 1;
	min-width: 0;
	text-align: left;
}

.recfw-account-setup__body strong {
	display: block;
	margin: 0 0 4px;
	color: var(--recfw-slate-900);
	font-size: 15px;
	font-weight: 700;
}

.recfw-account-setup__body p {
	margin: 0;
	color: var(--recfw-slate-500);
	font-size: 14px;
	line-height: 1.5;
}

.recfw-account-setup__button {
	flex: 0 0 auto;
	white-space: nowrap;
}

.recfw-reply-card {
	margin-top: 24px;
}

.recfw-reply-card__head h3 {
	margin: 0 0 6px;
}

.recfw-reply-card__head p {
	margin: 0 0 18px;
	color: var(--recfw-slate-500);
	line-height: 1.6;
}

.recfw-reply-form .recfw-upload-area {
	margin-bottom: 18px;
}

.recfw-reply-form__actions {
	display: flex;
	justify-content: flex-end;
}

.recfw-reply-form__actions .button {
	min-width: 160px;
}

/* ── Empty states ───────────────────────────────────────────── */
.recfw-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	padding: 44px 24px;
	text-align: center;
	color: var(--recfw-slate-500);
	background: var(--recfw-white);
	border: 1px solid var(--recfw-slate-200);
	border-radius: var(--recfw-radius);
	box-shadow: var(--recfw-shadow);
}

.recfw-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	color: var(--recfw-slate-400);
	line-height: 1;
}

.recfw-empty__mark {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: var(--recfw-slate-50);
	border: 1px solid var(--recfw-slate-100);
}

.recfw-empty__mark svg {
	width: 38px;
	height: 38px;
}

.recfw-empty__mark path {
	fill: none;
	stroke-width: 7;
	stroke-linecap: round;
}

.recfw-empty__mark path:first-child { stroke: var(--recfw-blue); }
.recfw-empty__mark path:last-child { stroke: var(--recfw-green); }

.recfw-empty__title {
	margin: 0;
	color: var(--recfw-slate-900);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
}

.recfw-empty__desc {
	max-width: 360px;
	margin: 6px auto 18px;
	color: var(--recfw-slate-500);
	font-size: 13px;
	line-height: 1.5;
}

.recfw-exchange-price-note {
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: var(--recfw-radius-sm);
	border: 1px solid var(--recfw-slate-200);
	background: var(--recfw-white);
	color: var(--recfw-slate-700);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
}

.recfw-exchange-price-note--due {
	border-color: var(--recfw-amber);
	background: var(--recfw-amber-bg);
	color: #92400e;
}

.recfw-exchange-price-note--credit {
	border-color: var(--recfw-green);
	background: var(--recfw-green-bg);
	color: #166534;
}

.recfw-exchange-price-note--even {
	border-color: var(--recfw-slate-200);
	background: var(--recfw-slate-50);
	color: var(--recfw-slate-700);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.recfw-portal .button, 
.recfw-btn-primary {
	display: inline-flex !important; align-items: center; gap: 8px;
	background-color: var(--recfw-blue) !important; color: #fff !important;
	padding: 12px 24px !important; border-radius: var(--recfw-radius-sm) !important;
	font-weight: 600 !important; border: none !important;
	transition: all 0.2s !important; cursor: pointer;
}
.recfw-portal .button:hover,
.recfw-btn-primary:hover { 
	background-color: var(--recfw-blue-h) !important; 
	transform: translateY(-1px); 
	box-shadow: 0 10px 15px -3px rgba(37,99,235,0.2) !important; 
}

.recfw-btn-back { color: var(--recfw-slate-400); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }

/* ── Status Badges ───────────────────────────────────────────── */
.recfw-status {
	display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 6px;
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
}
.recfw-status--pending    { background: var(--recfw-amber-bg); color: var(--recfw-amber); }
.recfw-status--approved   { background: var(--recfw-blue-bg); color: var(--recfw-blue); }
.recfw-status--label_sent { background: #ede9fe; color: #6d28d9; }
.recfw-status--received   { background: var(--recfw-green-bg); color: var(--recfw-green); }
.recfw-status--completed  { background: var(--recfw-green-bg); color: var(--recfw-green); }
.recfw-status--rejected   { background: var(--recfw-red-bg); color: var(--recfw-red); }
.recfw-status--cancelled  { background: var(--recfw-slate-100); color: var(--recfw-slate-400); }

/* ── Progress Steps (vertical, outcome-aware) ────────────────── */
.recfw-progress-steps { list-style: none; padding: 0; margin: 8px 0 0; }

.recfw-progress-step {
	display: grid; grid-template-columns: 44px 1fr; gap: 0 16px;
	position: relative; padding-bottom: 8px;
}
.recfw-progress-step:last-child { padding-bottom: 0; }

/* Vertical connector line */
.recfw-progress-step__connector {
	position: absolute; left: 21px; top: 44px; bottom: 0;
	width: 2px; background: var(--recfw-slate-100);
}
.recfw-progress-step:last-child .recfw-progress-step__connector { display: none; }
.recfw-progress-step--done .recfw-progress-step__connector { background: var(--recfw-blue); }

/* Icon circle */
.recfw-progress-step__icon {
	width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	border: 2px solid var(--recfw-slate-200); background: var(--recfw-white);
	color: var(--recfw-slate-400); transition: all 0.3s; z-index: 1;
}
.recfw-progress-step--done .recfw-progress-step__icon {
	background: var(--recfw-blue); border-color: var(--recfw-blue); color: #fff;
}
.recfw-progress-step--active .recfw-progress-step__icon {
	border-color: var(--recfw-blue); background: var(--recfw-blue-bg); color: var(--recfw-blue);
	box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.recfw-progress-step--info .recfw-progress-step__icon {
	border-color: var(--recfw-amber); background: var(--recfw-amber-bg); color: var(--recfw-amber);
	box-shadow: 0 0 0 4px rgba(217,119,6,0.1);
}

/* Body */
.recfw-progress-step__body { padding: 10px 0 24px; }
.recfw-progress-step:last-child .recfw-progress-step__body { padding-bottom: 0; }

.recfw-progress-step__label {
	display: flex; align-items: center; gap: 10px;
	font-size: 14px; font-weight: 700; color: var(--recfw-slate-400);
	margin-bottom: 4px;
}
.recfw-progress-step--done .recfw-progress-step__label { color: var(--recfw-blue); }
.recfw-progress-step--active .recfw-progress-step__label { color: var(--recfw-slate-900); }
.recfw-progress-step--info .recfw-progress-step__label { color: var(--recfw-amber); }

.recfw-progress-step__desc { font-size: 13px; color: var(--recfw-slate-400); line-height: 1.5; }
.recfw-progress-step--active .recfw-progress-step__desc { color: var(--recfw-slate-600); }
.recfw-progress-step--pending .recfw-progress-step__label,
.recfw-progress-step--pending .recfw-progress-step__desc,
.recfw-progress-step--pending .recfw-progress-step__icon { opacity: 0.45; }

/* "Action required" badge */
.recfw-info-badge {
	display: inline-block; padding: 2px 8px; border-radius: 20px;
	background: var(--recfw-amber-bg); color: var(--recfw-amber);
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}

/* Step date stamp */
.recfw-step-date {
	font-size: 11px; font-weight: 400; color: var(--recfw-slate-400);
	margin-left: auto; white-space: nowrap;
}

/* Admin note bubble */
.recfw-step-note {
	display: flex; align-items: flex-start; gap: 6px;
	margin-top: 10px; padding: 10px 12px; border-radius: 8px;
	background: var(--recfw-slate-50); border: 1px solid var(--recfw-slate-200);
	font-size: 13px; color: var(--recfw-slate-700); line-height: 1.5;
}
.recfw-step-note svg { flex-shrink: 0; margin-top: 2px; color: var(--recfw-slate-400); }

/* Activity feed inside each step */
.recfw-step-feed { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.recfw-step-feed__item {
	background: var(--recfw-slate-50); border: 1px solid var(--recfw-slate-200);
	border-radius: 8px; padding: 10px 12px;
}
.recfw-step-feed__head {
	display: flex; justify-content: space-between; align-items: center;
	gap: 8px; flex-wrap: wrap;
}
.recfw-step-feed__action { font-size: 12px; font-weight: 700; color: var(--recfw-slate-700); }
.recfw-step-feed__date   { font-size: 11px; color: var(--recfw-slate-400); white-space: nowrap; }
.recfw-step-feed__note {
	display: flex; align-items: flex-start; gap: 6px;
	margin-top: 8px; font-size: 13px; color: var(--recfw-slate-600); line-height: 1.5;
}
.recfw-step-feed__note svg { flex-shrink: 0; margin-top: 2px; color: var(--recfw-slate-400); }
.recfw-step-feed__photos {
	display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.recfw-step-feed__photos a { display: block; }
.recfw-step-feed__photos img {
	width: 64px; height: 64px; object-fit: cover; border-radius: 6px;
	border: 1px solid var(--recfw-slate-200); transition: transform 0.2s;
}
.recfw-step-feed__photos img:hover { transform: scale(1.05); }

/* Tracking number row */
.recfw-step-tracking {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	margin-top: 12px; padding: 10px 12px; border-radius: 8px;
	background: var(--recfw-slate-50); border: 1px solid var(--recfw-slate-200);
	font-size: 13px;
}
.recfw-step-tracking svg { color: var(--recfw-slate-400); flex-shrink: 0; }
.recfw-step-tracking strong { color: var(--recfw-slate-700); }
.recfw-step-tracking code { background: var(--recfw-white); border: 1px solid var(--recfw-slate-200); padding: 2px 8px; border-radius: 4px; font-size: 12px; color: var(--recfw-slate-900); }
.recfw-step-tracking__carrier { color: var(--recfw-slate-400); font-size: 12px; }

/* Inline resolution box (shown on completed step) */
.recfw-step-resolution {
	margin-top: 14px; padding: 16px; border-radius: 10px;
	background: var(--recfw-green-bg); border: 1px solid rgba(22,163,74,0.2);
}
.recfw-step-resolution__amount {
	display: flex; align-items: center; justify-content: space-between;
	font-size: 14px; margin-bottom: 6px;
}
.recfw-step-resolution__amount span { color: var(--recfw-slate-600); }
.recfw-step-resolution__amount strong { color: var(--recfw-green); font-size: 18px; }
.recfw-step-resolution__hint { font-size: 12px; color: var(--recfw-slate-600); margin: 0; line-height: 1.5; }

/* ── Order Picker Grid ───────────────────────────────────────── */
.recfw-order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }

.recfw-order-card {
	background: var(--recfw-white); border: 1px solid var(--recfw-slate-200); border-radius: var(--recfw-radius);
	padding: 24px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer;
	display: flex; flex-direction: column; gap: 20px; box-shadow: var(--recfw-shadow);
	box-sizing: border-box; width: 100%;
}
.recfw-order-card:hover { border-color: var(--recfw-blue); transform: translateY(-4px); box-shadow: 0 12px 20px -10px rgba(0,0,0,0.1); }

.recfw-order-card__meta { display: flex; justify-content: space-between; align-items: start; width: 100%; }
.recfw-order-card__number { display: block; font-size: 16px; font-weight: 700; color: var(--recfw-slate-900); }
.recfw-order-card__date { font-size: 12px; color: var(--recfw-slate-400); }
.recfw-order-card__total { font-weight: 700; color: var(--recfw-blue); font-size: 15px; }

.recfw-order-card__items-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.recfw-strip-img { position: relative; width: 48px; height: 48px; }
.recfw-strip-img img { width: 48px; height: 48px; border-radius: 8px; border: 1px solid var(--recfw-slate-100); object-fit: cover; }
.recfw-img-placeholder { width: 48px; height: 48px; border-radius: 8px; background: var(--recfw-slate-50); border: 1px dashed var(--recfw-slate-200); }
.recfw-strip-qty {
	position: absolute; top: -6px; right: -6px; background: var(--recfw-slate-900); color: #fff;
	font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 10px; border: 2px solid #fff;
}
.recfw-strip-more { font-size: 12px; font-weight: 700; color: var(--recfw-slate-400); padding-left: 4px; }

.recfw-order-card__footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--recfw-slate-50); width: 100%; box-sizing: border-box; }
.recfw-order-card__footer .recfw-btn-primary { width: 100% !important; justify-content: center !important; box-sizing: border-box !important; }

@media (max-width: 768px) {
	.recfw-order-grid { grid-template-columns: 1fr; }
}

/* ── Item Grid & Selection ───────────────────────────────────── */
.recfw-form-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.recfw-select-all { font-size: 13px; color: var(--recfw-blue); cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 6px; }

.recfw-item {
	display: flex; align-items: center; gap: 24px; padding: 16px 24px;
	border: 1px solid var(--recfw-slate-100); border-radius: 12px; margin-bottom: 12px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); background: var(--recfw-white);
	cursor: pointer; position: relative; overflow: hidden;
}
.recfw-item:hover { border-color: var(--recfw-slate-200); background: var(--recfw-slate-50); }
.recfw-item--selected { border-color: var(--recfw-blue) !important; background: var(--recfw-slate-50) !important; box-shadow: 0 4px 12px rgba(37,99,235,0.08); }

.recfw-item-check { 
	width: 22px; height: 22px; border: 2px solid var(--recfw-slate-200); border-radius: 6px;
	display: flex; align-items: center; justify-content: center; transition: all 0.2s;
	background: #fff; flex-shrink: 0;
}
.recfw-item--selected .recfw-item-check { background: var(--recfw-blue); border-color: var(--recfw-blue); }
.recfw-item--selected .recfw-item-check::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 800; }

.recfw-item__img { width: 64px; height: 64px; border-radius: 10px; border: 1px solid var(--recfw-slate-100); object-fit: cover; }
.recfw-item__info { flex: 1; display: flex; flex-direction: column; }
.recfw-item__name { font-size: 16px; font-weight: 700; color: var(--recfw-slate-900); }
.recfw-item__price { font-size: 14px; color: var(--recfw-slate-400); }

.recfw-item__controls {
	display: none; /* Hidden until selected */
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px;
	padding: 24px; border-top: 1px solid var(--recfw-slate-100); background: var(--recfw-slate-50);
	margin: 0 -24px -16px; width: calc(100% + 48px);
}
.recfw-item--selected .recfw-item__controls { display: grid; animation: wrSlideDown 0.3s ease-out; }

@keyframes wrSlideDown {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.recfw-item-check-input { position: absolute; opacity: 0; pointer-events: none; }
.recfw-item__controls label { font-size: 11px; font-weight: 700; color: var(--recfw-slate-400); text-transform: uppercase; margin-bottom: 4px; }
.recfw-item__controls select { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--recfw-slate-200); font-size: 14px; }

/* ── Outcome Cards ───────────────────────────────────────────── */
.recfw-outcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.recfw-outcome-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 40px 32px; border: 2px solid var(--recfw-slate-100); border-radius: 16px;
	background: var(--recfw-white); cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.recfw-outcome-card:hover:not(.recfw-outcome-card--disabled) { 
	border-color: var(--recfw-slate-200); transform: translateY(-4px); 
	box-shadow: 0 12px 20px -10px rgba(0,0,0,0.1); 
}
.recfw-outcome-card--selected { 
	border-color: var(--recfw-blue); 
	background: linear-gradient(180deg, var(--recfw-blue-bg) 0%, #fff 100%); 
	box-shadow: 0 10px 15px -3px rgba(37,99,235,0.1);
}
.recfw-outcome-card input { display: none; }
.recfw-outcome-card__icon { font-size: 40px; margin-bottom: 16px; }
.recfw-outcome-card__title { font-size: 18px; font-weight: 700; color: var(--recfw-slate-900); margin-bottom: 8px; }
.recfw-outcome-card__desc { font-size: 13px; color: var(--recfw-slate-400); line-height: 1.6; }

/* ── Timeline ────────────────────────────────────────────────── */
.recfw-timeline { position: relative; padding-left: 32px; list-style: none; margin: 24px 0; }
.recfw-timeline::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: var(--recfw-slate-100); }
.recfw-timeline__item { position: relative; margin-bottom: 24px; }
.recfw-timeline__dot {
	position: absolute; left: -32px; top: 4px; width: 24px; height: 24px;
	border-radius: 50%; background: #fff; border: 2px solid var(--recfw-blue); z-index: 1;
}
.recfw-timeline__text { font-weight: 600; color: var(--recfw-slate-900); font-size: 15px; }
.recfw-timeline__date { font-size: 12px; color: var(--recfw-slate-400); margin-top: 4px; }

/* ── Tables ──────────────────────────────────────────────────── */
.recfw-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--recfw-slate-200); border-radius: 10px; overflow: hidden; }
.recfw-table th { background: var(--recfw-slate-50); padding: 16px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--recfw-slate-400); border-bottom: 1px solid var(--recfw-slate-200); }
.recfw-table td { padding: 20px 16px; border-bottom: 1px solid var(--recfw-slate-50); font-size: 14px; }
.recfw-table tr:last-child td { border-bottom: none; }

/* ── Multi-Step Wizard ──────────────────────────────────────── */
.recfw-form-section { display: none; padding: 40px; background: #fff; border: 1px solid var(--recfw-slate-200); border-radius: var(--recfw-radius); box-shadow: var(--recfw-shadow); }
.recfw-form-section--active { display: block; animation: wrFadeIn 0.4s ease; }

.recfw-wizard-steps { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; }
.recfw-wizard-step { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.3; transition: all 0.3s; }
.recfw-wizard-step--active { opacity: 1; }
.recfw-wizard-step__num { 
	width: 32px; height: 32px; background: var(--recfw-slate-200); color: var(--recfw-slate-600); 
	border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}
.recfw-wizard-step--active .recfw-wizard-step__num { background: var(--recfw-blue); color: #fff; box-shadow: 0 4px 10px rgba(37,99,235,0.3); }
.recfw-wizard-step__label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--recfw-slate-400); letter-spacing: 0.05em; }

/* ── Fields ─────────────────────────────────────────────────── */
.recfw-field { margin-bottom: 24px; }
.recfw-label { display: block; font-size: 13px; font-weight: 700; color: var(--recfw-slate-700); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.02em; }
.recfw-label--required::after { content: '*'; color: var(--recfw-red); margin-left: 4px; }
.recfw-label-hint { font-size: 11px; color: var(--recfw-red); text-transform: none; font-weight: 400; margin-left: 4px; }

.recfw-select, .recfw-textarea, .recfw-input {
	width: 100%; padding: 12px 16px; border: 1px solid var(--recfw-slate-200); border-radius: 8px;
	font-size: 15px; color: var(--recfw-slate-900); background: #fff; transition: all 0.2s; box-sizing: border-box;
}
.recfw-select:focus, .recfw-textarea:focus, .recfw-input:focus { 
	border-color: var(--recfw-blue); outline: none; box-shadow: 0 0 0 4px rgba(37,99,235,0.1); 
}

/* ── Outcome Cards Vertical Stack (Centered) ────────────────── */
.recfw-outcome-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.recfw-outcome-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 32px 24px; border: 2px solid var(--recfw-slate-100); border-radius: 16px;
	background: #fff; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative;
}
.recfw-outcome-card:hover:not(.recfw-outcome-card--disabled) { 
	border-color: var(--recfw-slate-200); transform: translateY(-4px); 
	box-shadow: 0 12px 24px -12px rgba(0,0,0,0.1); 
}
.recfw-outcome-card--selected { 
	border-color: var(--recfw-blue); background: var(--recfw-slate-50); 
	box-shadow: 0 8px 16px -8px rgba(37,99,235,0.15); 
}
.recfw-outcome-card--disabled { opacity: 0.4; cursor: not-allowed; background: var(--recfw-slate-50); border-style: dashed; filter: grayscale(1); }
.recfw-outcome-card input { position: absolute; opacity: 0; }

.recfw-outcome-card__icon { 
	font-size: 32px; width: 64px; height: 64px; background: var(--recfw-slate-50); 
	border-radius: 50%; display: flex; align-items: center; justify-content: center; 
	margin-bottom: 20px; transition: all 0.3s;
}
.recfw-outcome-card--selected .recfw-outcome-card__icon { background: var(--recfw-blue); color: #fff; }

.recfw-outcome-card__title { font-size: 18px; font-weight: 700; color: var(--recfw-slate-900); display: block; margin-bottom: 8px; }
.recfw-outcome-card__desc { font-size: 14px; color: var(--recfw-slate-400); line-height: 1.5; max-width: 400px; }
/* ── Upload Area ────────────────────────────────────────────── */
.recfw-upload-area {
	border: 2px dashed var(--recfw-slate-200); border-radius: 12px; padding: 32px;
	text-align: center; background: var(--recfw-slate-50); cursor: pointer;
	position: relative; transition: all 0.2s;
}
.recfw-upload-area:hover { border-color: var(--recfw-blue); background: #fff; }
.recfw-file-input {
	position: absolute; inset: 0; width: 100%; height: 100%;
	opacity: 0; cursor: pointer; z-index: 2;
}
.recfw-upload-placeholder { 
	display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--recfw-slate-400); 
}
.recfw-upload-placeholder svg { color: var(--recfw-slate-300); margin-bottom: 8px; }
.recfw-upload-placeholder span { font-weight: 600; color: var(--recfw-slate-600); }
.recfw-upload-placeholder small { font-size: 12px; }

.recfw-photo-preview-grid { 
	display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); 
	gap: 12px; margin-top: 20px; position: relative; z-index: 3; 
}
.recfw-photo-preview-item { 
	aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--recfw-slate-200);
	background: #fff; position: relative;
}
.recfw-photo-preview-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── Navigation ──────────────────────────────────────────────── */
.recfw-form-footer { 
	display: flex; justify-content: space-between; align-items: center; 
	margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--recfw-slate-100); gap: 16px; 
}
.recfw-btn-secondary, .recfw-btn-primary { 
	flex: 1; text-align: center; justify-content: center; display: flex; align-items: center;
	padding: 14px 24px; border-radius: 10px; font-weight: 700; cursor: pointer; border: none; 
	font-size: 14px; transition: all 0.2s;
}
.recfw-btn-secondary { background: var(--recfw-slate-100) !important; color: var(--recfw-slate-600) !important; }
.recfw-btn-secondary:hover { background: var(--recfw-slate-200) !important; color: var(--recfw-slate-700) !important; }

.recfw-btn-primary { background: var(--recfw-blue) !important; color: #fff !important; }
.recfw-btn-primary:hover { background: #1d4ed8 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.2); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
	.recfw-journey { grid-template-columns: 1fr; }
	.recfw-hero { padding: 32px 24px; }
	.recfw-form-footer { flex-direction: column-reverse; gap: 20px; text-align: center; }
	.recfw-form-footer .button { width: 100%; justify-content: center; }
	.recfw-account-setup { align-items: flex-start; flex-direction: column; }
	.recfw-account-setup__button { width: 100%; justify-content: center; }
}
