.scrapbook-box { /* Make sure the container fills its parent, and set a base background */ position: relative; /* so that absolute children (loading overlay, etc.) are positioned relative to this */ width: 100%; height: 100%; background: beige; overflow: hidden; /* prevent scrollbars if children overflow */ } /* Loading overlay that covers the entire scrapbook while AI-generation is in progress */ .scrapbook-box-loading-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.8); z-index: 10; /* sits above the ImageBox and other content */ } /* The