.loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.9); z-index: 1000; display: flex; justify-content: center; align-items: center; animation: fadeInOverlay 0.5s ease-in-out; transition: opacity 0.5s ease; } .loading-overlay.transparent-background { background-color: rgba(255, 255, 255, 0.5); } .loading-overlay-content { padding: 2rem; border-radius: 1rem; background-color: white; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); animation: scaleInOverlay 0.5s ease-in-out; } @keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } } @keyframes scaleInOverlay { from { transform: scale(0.95); } to { transform: scale(1); } }