/* Creation Wizard Layout */ .wizard-layout { display: flex; max-width: 1100px; margin: 0 auto; gap: 2rem; min-height: 60vh; } .wizard-sidebar { width: 220px; flex-shrink: 0; padding-top: 0.5rem; } .wizard-sidebar h2 { font-family: var(--font-heading); font-weight: bold; font-size: 1.3rem; margin-bottom: 1.5rem; } .wizard-content { flex: 1; min-width: 0; } /* Step Indicator */ .wizard-steps { list-style: none; padding: 0; margin: 0; } .wizard-step-indicator { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-muted); position: relative; } .wizard-step-indicator + .wizard-step-indicator::before { content: ''; position: absolute; left: 12px; top: -4px; width: 1px; height: 12px; background: var(--border); } .wizard-step-indicator.completed + .wizard-step-indicator::before { background: var(--highlight); } .step-number { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.75rem; font-weight: bold; flex-shrink: 0; border: 2px solid var(--border); color: var(--text-muted); background: transparent; } .wizard-step-indicator.active .step-number { border-color: var(--highlight); background: var(--highlight); color: var(--primary-light); } .wizard-step-indicator.completed .step-number { border-color: var(--highlight); color: var(--highlight); } .wizard-step-indicator.active .step-label { color: var(--detail); font-weight: bold; } .wizard-step-indicator.completed .step-label { color: var(--detail); } /* Step Content */ .wizard-step { background: var(--light-background); padding: 2rem; border-radius: 4px; } .wizard-step h2 { font-family: var(--font-heading); font-weight: bold; font-size: 1.6rem; margin-bottom: 0.25rem; } .step-description { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; } /* Wizard Actions (button row) */ .wizard-actions { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; } .wizard-actions .primary { margin-left: auto; } /* Type Card Grid */ .type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; margin-top: 0.5rem; } .type-grid-large { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } /* (.type-card primitive lives in style.css under the .card--selectable canonical recipe; this file only contains wizard-specific layouts.) */ /* Suggestion Input (category, tags) */ .suggestion-input { position: relative; } .suggestion-dropdown { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--background); border: 1px solid var(--border); border-top: none; border-radius: 0 0 4px 4px; max-height: 200px; overflow-y: auto; z-index: 10; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .suggestion-dropdown.open { display: block; } .suggestion-item { padding: 0.5rem 0.75rem; cursor: pointer; font-size: 0.9rem; } .suggestion-item:hover { background: var(--light-background); } .suggestion-create { font-style: italic; opacity: 0.8; border-top: 1px solid var(--border); } /* (`.monetization-card{,-cards,.info-only}` removed 2026-05-20 — dead CSS, no template references. Selectable monetization choices use the canonical `.card--selectable` recipe in style.css.) */ .tier-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--border); } .tier-form-row { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 0.75rem; margin-top: 0.5rem; padding: 0.75rem; background: var(--surface-alt); border-radius: 4px; } /* Pricing Cards */ .pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; } /* (`.pricing-card`, `.content-choice-card`, and the `.is-disabled` modifier all live in style.css under the canonical `.card--selectable` recipe.) */ .pricing-fields { margin-top: 1rem; } .content-choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; } /* Preview Summary */ .preview-summary { margin-bottom: 1.5rem; } .preview-row { display: flex; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; } .preview-row.indent { padding-left: 1.5rem; } .preview-label { width: 180px; flex-shrink: 0; color: var(--text-muted); font-weight: bold; } .preview-value { flex: 1; } /* Preview Checklist */ .preview-checklist { margin-bottom: 1.5rem; } .preview-checklist h3 { font-family: var(--font-mono); font-size: 0.95rem; margin-bottom: 0.5rem; } .preview-checklist ul { list-style: none; padding: 0; margin: 0; } .preview-checklist li { padding: 0.3rem 0; padding-left: 3.5rem; position: relative; font-size: 0.9rem; } .preview-checklist li::before { position: absolute; left: 0; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.6; } .check-done::before { content: "Done"; color: var(--success); } .check-missing::before { content: "Todo"; color: var(--text-muted); } /* Upload Areas */ .upload-area { border: 2px dashed var(--border); border-radius: 4px; padding: 2rem; text-align: center; cursor: pointer; transition: border-color 0.15s; background: var(--background); } .upload-area:hover, .upload-area.dragover { border-color: var(--highlight); } /* Project Image Dropzone */ .project-image-dropzone { border: 2px dashed var(--border); border-radius: 4px; padding: 2rem; text-align: center; cursor: pointer; transition: border-color 0.15s; background: var(--background); max-width: 300px; } .project-image-dropzone:hover, .project-image-dropzone.dragover { border-color: var(--highlight); } .project-image-placeholder { color: var(--text-muted); } .project-image-upload { display: flex; flex-direction: column; gap: 0.75rem; max-width: 300px; } .project-image-upload .secondary { align-self: flex-start; } .project-image-current img { width: 200px; height: 200px; object-fit: cover; border-radius: 4px; } .upload-progress-inline { font-size: 0.85rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; } .upload-progress-inline .progress-bar-container { width: 100%; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; } .upload-progress-inline .progress-bar { height: 100%; background: var(--highlight); transition: width 0.2s; } .upload-error-inline { font-size: 0.85rem; color: var(--danger, #c0392b); padding: 0.5rem 0.75rem; background: rgba(192, 57, 43, 0.08); border-radius: 4px; } /* Project Card Preview */ .project-card-preview { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: var(--background); border: 1px solid var(--border); border-radius: 4px; } .preview-cover { width: 80px; height: 80px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: var(--surface-muted); } .preview-cover img { width: 100%; height: 100%; object-fit: cover; } .preview-cover-empty { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 0.75rem; color: var(--text-muted); } /* Distribution */ .distribution-section { background: var(--background); padding: 1.25rem; border: 1px solid var(--border); border-radius: 4px; } .distribution-section h3 { font-family: var(--font-mono); font-size: 0.95rem; margin-bottom: 0.5rem; } .checkbox-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9rem; } /* Monospace input for text editor */ .monospace-input { font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.6; } /* Readonly field */ .readonly-field { opacity: 0.6; cursor: not-allowed; } /* Info box */ .info-box { background: var(--surface-alt); padding: 1rem; border-radius: 4px; font-size: 0.9rem; } /* Responsive */ @media (max-width: 768px) { .wizard-layout { flex-direction: column; } .wizard-sidebar { width: 100%; } .wizard-steps { display: flex; gap: 0.25rem; overflow-x: auto; } .wizard-step-indicator { flex-direction: column; gap: 0.2rem; font-size: 0.75rem; min-width: 0; } .wizard-step-indicator + .wizard-step-indicator::before { display: none; } .step-label { white-space: nowrap; } .pricing-cards, .content-choice-cards { grid-template-columns: 1fr; } .type-grid { grid-template-columns: repeat(2, 1fr); } .tier-form-row { grid-template-columns: 1fr; } .preview-row { flex-direction: column; gap: 0.25rem; } .preview-label { width: auto; } } /* =========================================== WIZARD STEPS — shared step-level patterns =========================================== Patterns shared across: - wizards/wizard_project.html - wizards/steps/project/basics.html - wizards/steps/project/appearance.html - wizards/steps/item/basics.html - wizards/steps/join/stripe.html */ /* Intro paragraph below .step-description that explains the concept. */ .wizard-step .form-hint { margin-bottom: 1.5rem; } /* "Checking..." style spinner shown next to async-validated inputs. */ .wizard-field-spinner { font-size: 0.85rem; } /* Spacing helpers for hints that sit just above a control group. */ .wizard-hint-gap-sm { margin-bottom: 0.5rem; } .wizard-hint-gap-md { margin-bottom: 0.75rem; } /* Vertical radio group for AI disclosure and similar one-of-many pickers. */ .wizard-radio-group { display: flex; flex-direction: column; gap: 0.5rem; } .wizard-radio-option { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; } /* Optional-label suffix, e.g. "(optional)". */ .wizard-optional-tag { opacity: 0.5; font-weight: normal; } /* Square cover images inside upload previews (project + item basics). */ .wizard-cover-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; } /* Stripe-step layout. */ .stripe-connect-box { background: var(--surface-muted); padding: var(--space-4); text-align: center; margin: var(--space-3) 0; } .stripe-connect-box .stripe-intro { margin: var(--space-3) 0; opacity: 0.8; } .stripe-connect-actions { margin-top: var(--space-4); } .stripe-connect-cta { display: inline-block; padding: 0.75rem 1.5rem; text-decoration: none; background: var(--stripe); border: none; color: var(--primary-light); } .stripe-connect-cta:hover { opacity: 0.85; } .stripe-connect-note { font-size: 0.8rem; opacity: 0.5; margin-top: var(--space-3); } .stripe-connect-note-secondary { font-size: 0.8rem; opacity: 0.7; margin-top: var(--space-2); } .stripe-benefits { text-align: left; margin-top: var(--space-3); } .benefit-item { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; font-size: 0.9rem; } .benefit-item::before { content: "•"; position: absolute; left: 0; color: var(--success); }