/* Create page - Form for publishing new AI prompts */ .create-main { flex: 1; display: flex; justify-content: center; align-items: center; padding: 20px 32px; background: transparent; } .create-container { max-width: 800px; width: 100%; background: #fff; border-radius: 18px; box-shadow: 0 2px 8px rgba(59, 130, 246, 0.06); padding: 32px; transition: box-shadow 0.2s; } .create-container:hover { box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12); } /* Header */ .create-header { text-align: center; margin-bottom: 32px; } .create-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; } .create-header p { color: #64748b; font-size: 1rem; } /* Form */ .create-form { display: flex; flex-direction: column; gap: 24px; } .form-group { display: flex; flex-direction: column; gap: 8px; } .form-group label, .form-label { font-weight: 600; font-size: 0.95rem; } .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 14px; border: 1px solid #dbe2ea; border-radius: 12px; font-size: 0.95rem; font-family: inherit; background: #ffffff; } .form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); } .form-hint { font-size: 0.75rem; color: #64748b; } /* Pricing toggle */ .pricing-group .pricing-toggle { display: flex; gap: 12px; margin-bottom: 12px; } .price-option { background: #f1f5f9; border: none; padding: 8px 20px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: all 0.2s; color: #475569; } .price-option.active { background: var(--gradient); color: white; } #tierField { display: none; gap: 8px; margin-top: 8px; } .tier-manage-link { color: #3b82f6; font-size: 0.85rem; font-weight: 700; text-decoration: none; } .tier-manage-link:hover { text-decoration: underline; } /* Image preview */ #imagePreview { margin-top: 10px; display: none; } #imagePreview img { max-width: 100%; max-height: 200px; border-radius: 12px; } /* Status message */ #create-status { text-align: center; color: #64748b; margin: 0; } /* Buttons */ .form-actions { display: flex; gap: 16px; margin-top: 8px; } .submit-btn, .cancel-btn { flex: 1; border: none; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: opacity 0.2s; } .submit-btn { background: var(--gradient); color: white; } .cancel-btn { background: #f1f5f9; color: #475569; } .submit-btn:hover, .cancel-btn:hover { opacity: 0.85; } /* Responsive */ @media (max-width: 768px) { .create-container { padding: 24px; } .create-header h1 { font-size: 1.6rem; } } @media (max-width: 480px) { .create-container { padding: 20px; } .form-actions { flex-direction: column; } }