.child-profile-form{display:flex;flex-direction:column;align-items:center;max-width:500px;margin:0 auto;padding:2rem;font-family:inherit}.form-logo{width:100px;height:auto;margin-bottom:1.5rem}.form-title{font-size:2rem;font-weight:700;margin:0;color:#1a1a1a;text-align:center}.form-subtitle{font-size:1.1rem;color:#333;margin:.5rem 0 .75rem;line-height:1.6;text-align:center}.form-description{font-size:1rem;color:#555;margin:0 0 .75rem;line-height:1.6;text-align:center}.form-description strong{color:#1a1a8f;font-weight:700}.form-price{font-size:1rem;color:#333;margin:0 0 1.5rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#f8f8ff,#e8e8ff);border-radius:20px;border:1px solid #d0d0ff;text-align:center}.form-price strong{color:#1a1a8f;font-size:1.2rem}.upload-instruction{font-size:.9rem;color:#333;margin-bottom:1.5rem;text-align:center}.image-upload-container{width:180px;height:180px;border-radius:50%;background-color:#f5f5f5;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;transition:transform .2s,box-shadow .2s}.image-upload-container:hover{transform:scale(1.02);box-shadow:0 4px 12px #0000001a}.image-upload-container:focus{outline:3px solid #1a1a8f;outline-offset:2px}.image-upload-container.dragging{border:3px dashed #1a1a8f;background-color:#e8f4fc;transform:scale(1.02)}.upload-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.plus-icon{font-size:4rem;color:#333;font-weight:300}.uploaded-image{width:100%;height:100%;object-fit:cover}.hidden-input{display:none}.image-hint{font-size:.85rem;color:#666;margin:1rem 0 1.5rem}.gender-selector{display:flex;gap:1rem;margin-bottom:1.5rem;border:none;padding:0}.gender-button{padding:.75rem 2rem;border-radius:25px;border:none;background-color:#f0f0f0;color:#333;font-size:1rem;cursor:pointer;transition:all .2s;font-family:inherit}.gender-button:focus{outline:3px solid #1a1a8f;outline-offset:2px}.gender-button:hover{background-color:#e0e0e0}.gender-button.selected{background-color:#1a1a1a;color:#fff}.name-input-container{width:100%;max-width:350px;margin-bottom:1.5rem}.name-label{display:block;font-size:.9rem;color:#333;margin-bottom:.5rem;text-align:right}.name-input{width:100%;padding:1rem;border:1px solid #e0e0e0;border-radius:8px;font-size:1rem;text-align:right;box-sizing:border-box;font-family:inherit}.name-input:focus{outline:none;border-color:#1a1a1a}.name-input::placeholder{color:#999}.submit-button{width:100%;max-width:350px;padding:1rem;border:none;border-radius:30px;background-color:#ccc;color:#fff;font-size:1.1rem;font-weight:600;cursor:not-allowed;transition:background-color .2s;font-family:inherit}.error-container{width:100%;margin-bottom:1rem}.error-message{color:#dc3545;font-size:.9rem;margin:0 0 .5rem;text-align:center}.error-details{display:flex;flex-direction:column;align-items:center}.error-toggle{background:none;border:none;color:#666;font-size:.8rem;cursor:pointer;padding:.25rem .5rem;margin-bottom:.5rem;font-family:inherit}.error-toggle:hover{color:#333}.error-content{background-color:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;padding:.75rem;font-size:.75rem;color:#666;width:100%;max-width:300px;overflow-x:auto;white-space:pre-wrap;word-break:break-word;margin:0;text-align:left;direction:ltr}.creating-loader{display:flex;justify-content:center;margin:1rem 0}.creating-loader img{width:80px;height:80px;object-fit:contain}.privacy-notice{display:flex;flex-direction:column;align-items:center;margin-top:2rem;text-align:center}.shield-icon{font-size:1.2rem;margin-bottom:.5rem}.privacy-notice p{font-size:.75rem;color:#888;line-height:1.5;margin:0}.time-estimate{font-size:.85rem;color:#666;margin:.5rem 0 1.5rem;font-weight:500}.missing-fields{background-color:#fff3cd;border:1px solid #ffc107;border-radius:8px;padding:.75rem 1rem;margin-bottom:1rem;width:100%;max-width:350px}.missing-fields p{color:#856404;font-size:.9rem;margin:0;text-align:center}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:16px;padding:2rem;max-width:400px;width:90%;text-align:center;box-shadow:0 4px 20px #00000026}.modal-title{font-size:1.5rem;font-weight:700;margin:0 0 1rem;color:#1a1a1a}.modal-message{font-size:1rem;color:#666;margin:0 0 1.5rem;line-height:1.5}.modal-buttons{display:flex;gap:1rem;justify-content:center}.modal-button{padding:.75rem 2rem;border:none;border-radius:25px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s,transform .2s;font-family:inherit}.modal-button.confirm{background-color:#dc3545;color:#fff}.modal-button.confirm:hover{background-color:#c82333;transform:scale(1.02)}.modal-button.cancel{background-color:#1a1a1a;color:#fff}.modal-button.cancel:hover{background-color:#333;transform:scale(1.02)}.pdf-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.pdf-modal-content{background:#fff;border-radius:12px;width:90%;max-width:800px;height:90vh;max-height:900px;display:flex;flex-direction:column;position:relative;overflow:hidden}.pdf-modal-close{position:absolute;top:.75rem;left:.75rem;width:32px;height:32px;border:none;background:#f5f5f5;border-radius:50%;font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s;z-index:1}.pdf-modal-close:hover{background:#e0e0e0}.pdf-modal-title{text-align:center;padding:1rem;margin:0;font-size:1.2rem;color:#1a1a1a;border-bottom:1px solid #e0e0e0}.pdf-modal-iframe{flex:1;width:100%;border:none}.preview-page{display:flex;flex-direction:column;align-items:center;max-width:600px;margin:0 auto;padding:2rem;font-family:inherit}.preview-title{font-size:1.8rem;font-weight:700;margin:0 0 1.5rem;color:#1a1a1a}.preview-subtitle{font-size:1rem;color:#666;margin:.5rem 0 2rem}.preview-cards{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;margin-bottom:2rem}.preview-card{display:flex;flex-direction:column;align-items:center}.card-thumbnail{width:150px;height:200px;background:linear-gradient(135deg,#f5f5f5,#e0e0e0);border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 6px #0000001a;transition:transform .2s,box-shadow .2s;cursor:pointer;overflow:hidden;position:relative}@media (max-width: 600px){.preview-cards{flex-direction:column;align-items:center;gap:1rem}.preview-card:not(.locked) .card-thumbnail{width:90vw;max-width:350px;height:auto;aspect-ratio:3 / 4}.preview-card:not(.locked) .pdf-preview{pointer-events:auto}}.card-thumbnail:hover{transform:translateY(-4px);box-shadow:0 8px 12px #00000026}.locked-thumbnail{background-color:#fff;position:relative;flex-direction:column;gap:.5rem;cursor:default}.locked-thumbnail:hover{transform:none;box-shadow:0 4px 6px #0000001a}.gift-icon{width:50px;height:50px;object-fit:contain}.page-number{font-size:2rem;font-weight:700;color:#999}.locked-thumbnail .page-number{font-size:1.5rem;color:#aaa}.card-label{margin-top:.5rem;font-size:.9rem;color:#666}.locked-label{font-size:.8rem;color:#999}.preview-info{margin-bottom:1.5rem;text-align:center}.preview-info p{font-size:.85rem;color:#888;margin:.25rem 0}.error-message{color:#dc3545;font-size:.9rem;margin-bottom:1rem;text-align:center}.preview-buttons{display:flex;flex-direction:column;gap:1rem;align-items:center}.purchase-button{padding:1rem 3rem;border:none;border-radius:30px;background-color:#28a745;color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer;transition:background-color .2s,transform .2s;font-family:inherit}.purchase-button:hover:not(:disabled){background-color:#218838;transform:scale(1.02)}.purchase-button:disabled{background-color:#6c757d;cursor:not-allowed}.creating-book-loader{display:flex;justify-content:center;margin:1rem 0}.creating-book-loader img{width:80px;height:80px;object-fit:contain}.paypal-button-container{width:100%;max-width:300px;margin:0 auto}.price-info{text-align:center;font-size:1.1rem;color:#333;margin:0 0 1rem;padding:.75rem 1rem;background:linear-gradient(135deg,#f8f8ff,#e8e8ff);border-radius:12px;border:1px solid #d0d0ff}.price-info strong{color:#1a1a8f;font-size:1.3rem}.terms-checkbox{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;cursor:pointer;font-size:.9rem;color:#333}.terms-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#1a1a1a}.terms-checkbox span{-webkit-user-select:none;user-select:none}.payment-label{font-size:1.1rem;font-weight:600;color:#333;margin-bottom:1rem;text-align:center}.payment-message{font-size:1rem;font-weight:500;padding:.75rem 1.5rem;border-radius:8px;text-align:center;margin:.5rem 0}.payment-message.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.payment-message.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.creating-book-status{font-size:1.1rem;font-weight:600;color:#333;text-align:center;margin:1rem 0}.book-page{display:flex;flex-direction:column;align-items:center;max-width:700px;margin:0 auto;padding:2rem;font-family:inherit}.book-title{font-size:2rem;font-weight:700;margin:0;color:#1a1a1a}.book-subtitle{font-size:1rem;color:#666;margin:.5rem 0 2rem}.book-cards{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;margin-bottom:2rem}.book-card{display:flex;flex-direction:column;align-items:center}.book-card .card-thumbnail{width:120px;height:160px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 6px #0000001a;transition:transform .2s,box-shadow .2s;cursor:pointer;overflow:hidden;position:relative}.book-card .card-thumbnail:hover{transform:translateY(-4px);box-shadow:0 8px 12px #00000026}.pdf-preview{width:100%;height:100%;border:none;pointer-events:none}.book-card .page-number{font-size:1.5rem;font-weight:700;color:#2e7d32}.card-footer{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:.5rem}.book-card .card-label{font-size:.85rem;color:#666;margin:0}.refresh-button{background:none;border:none;font-size:1.2rem;cursor:pointer;color:#666;padding:.25rem;border-radius:4px;transition:background-color .2s,color .2s;display:flex;align-items:center;justify-content:center}.refresh-button:hover{background-color:#f0f0f0;color:#1a1a1a}.book-info{margin-bottom:1.5rem;text-align:center}.book-info p{font-size:.85rem;color:#888;margin:.25rem 0}.book-actions{display:flex;flex-direction:column;gap:1rem;align-items:center}.download-button{padding:1rem 2.5rem;border:none;border-radius:30px;background-color:#1976d2;color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer;transition:background-color .2s,transform .2s;font-family:inherit;text-decoration:none;display:inline-block}.download-button:hover{background-color:#1565c0;transform:scale(1.02)}.back-button{padding:.75rem 2rem;border:none;border-radius:25px;background-color:#1a1a1a;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s;font-family:inherit}.back-button:hover{background-color:#333}.loading{display:flex;flex-direction:column;align-items:center;gap:1rem;margin-top:4rem}.loading img{width:100px;height:100px;object-fit:contain}.loading p{font-size:1.2rem;color:#666;margin:0}.book-card.regenerating{position:relative}.book-card.regenerating .card-thumbnail{pointer-events:none}.book-card.disabled{opacity:.5;pointer-events:none}.regenerate-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffffe6;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:10;border-radius:8px;gap:.5rem}.regenerate-overlay p{font-size:.85rem;color:#1976d2;font-weight:600;margin:0}.regenerate-spinner{width:32px;height:32px;border:3px solid #e0e0e0;border-top-color:#1976d2;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.refresh-button:disabled{opacity:.4;cursor:not-allowed}.refresh-button:disabled:hover{background-color:transparent;color:#666}.toast{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);padding:1rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;z-index:1000;display:flex;align-items:center;gap:.75rem;box-shadow:0 4px 12px #00000026;animation:slideUp .3s ease-out}.toast-success{background-color:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}.toast-error{background-color:#ffebee;color:#c62828;border:1px solid #ef9a9a}.toast-dismiss{background:none;border:none;font-size:1.2rem;cursor:pointer;color:inherit;padding:0;margin-right:-.5rem;opacity:.7;transition:opacity .2s}.toast-dismiss:hover{opacity:1}.privacy-policy{min-height:100vh;padding:2rem;background-color:var(--background-color, #ffffff);direction:rtl}.privacy-policy-container{max-width:800px;margin:0 auto;background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.back-button{background-color:#007bff;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:1rem;margin-bottom:1rem;transition:background-color .3s}.back-button:hover{background-color:#0056b3}.privacy-policy h1{color:#333;text-align:center;margin-bottom:2rem;font-size:2rem}.privacy-content{line-height:1.8;color:#555}.privacy-content h2{color:#444;margin-top:2rem;margin-bottom:1rem;font-size:1.5rem}.privacy-content h3{color:#555;margin-top:1.5rem;margin-bottom:.75rem;font-size:1.2rem}.privacy-content p{margin-bottom:1rem}.privacy-content ul{margin-right:2rem;margin-bottom:1rem}.privacy-content li{margin-bottom:.5rem}@media (max-width: 768px){.privacy-policy,.privacy-policy-container{padding:1rem}.privacy-policy h1{font-size:1.5rem}}.payment-success-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center}.payment-status{display:flex;flex-direction:column;align-items:center;gap:1rem;max-width:500px}.payment-status h1{font-size:1.8rem;color:#333;margin:0}.payment-status p{font-size:1.1rem;color:#666;margin:0}.payment-status.success h1{color:#28a745}.payment-status.error h1{color:#dc3545}.loader{margin-bottom:1rem}.loader img{width:100px;height:100px;object-fit:contain}.loading-message{font-size:1.2rem;font-weight:600;color:#333}.patience-message{font-size:.95rem;color:#888;font-style:italic}.error-message{background-color:#f8d7da;color:#721c24;padding:1rem 1.5rem;border-radius:8px;border:1px solid #f5c6cb;margin:.5rem 0}.error-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem;width:100%}.retry-button{padding:.875rem 2rem;border:none;border-radius:25px;background-color:#28a745;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s,transform .2s;font-family:inherit}.retry-button:hover{background-color:#218838;transform:scale(1.02)}.home-button{padding:.75rem 2rem;border:none;border-radius:25px;background-color:#1a1a1a;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s;font-family:inherit}.home-button:hover{background-color:#333}.contact-us-page{display:flex;flex-direction:column;align-items:center;max-width:500px;margin:0 auto;padding:2rem;font-family:inherit}.contact-title{font-size:2rem;font-weight:700;margin:0 0 1.5rem;color:#1a1a1a}.contact-info{text-align:center;margin-bottom:2rem}.contact-info p{font-size:1rem;color:#666;margin:0 0 .5rem}.contact-email{font-size:1.1rem;color:#1a1a8f;text-decoration:none;font-weight:600}.contact-email:hover{text-decoration:underline}.contact-form{width:100%;display:flex;flex-direction:column;gap:1.5rem}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-field label{font-size:.9rem;color:#333;text-align:right}.form-field input,.form-field textarea{width:100%;padding:1rem;border:1px solid #e0e0e0;border-radius:8px;font-size:1rem;text-align:right;font-family:inherit;box-sizing:border-box}.form-field input:focus,.form-field textarea:focus{outline:none;border-color:#1a1a1a}.form-field input::placeholder,.form-field textarea::placeholder{color:#999}.form-field textarea{resize:vertical;min-height:120px}.submit-button{width:100%;padding:1rem;border:none;border-radius:30px;background-color:#ccc;color:#fff;font-size:1.1rem;font-weight:600;cursor:not-allowed;transition:background-color .2s;font-family:inherit}.submit-button.active{background-color:#1a1a1a;cursor:pointer}.submit-button.active:hover{background-color:#333}.toast{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);padding:1rem 2rem;border-radius:8px;font-size:1rem;font-weight:600;z-index:1000;animation:slideUp .3s ease-out}.toast.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.toast.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}@keyframes slideUp{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.skip-link{position:absolute;top:-100px;right:0;background-color:#1a1a8f;color:#fff;padding:.75rem 1.5rem;z-index:9999;text-decoration:none;font-weight:600;border-radius:0 0 4px 4px;transition:top .3s ease}.skip-link:focus{top:0;outline:3px solid #ffcc00;outline-offset:2px}.app{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:transparent}.footer-links{text-align:center;padding:1rem 0;margin-top:2rem;margin-bottom:20px;background-color:transparent}.footer-links a,.footer-links span{color:#1a1a8f;text-decoration:none;font-size:1rem;transition:color .3s ease}.footer-links a:hover{color:#0d0d5c;text-decoration:underline}.footer-links a:focus{outline:2px solid #1a1a8f;outline-offset:2px}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1a1a1a;background-color:#fdfbf5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid #1a1a8f;outline-offset:2px}
