
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    z-index: 9999;
    font-family: Figtree,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
}
#loading-screen img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}
#loading-screen .loading-text {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
}
#loading-screen .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #1E40AF;
    border-radius: 50%;
    margin-top: 20px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/*
 * Do NOT add `#root { display: none }` here. The #loading-screen overlay
 * (position:fixed, z-index:9999) already covers the root during load, and
 * main.tsx hides it once React mounts. Hiding #root means any hiccup in that
 * reveal handshake — or simply this file loading — leaves a blank page, which
 * is what happened when preloader.css moved from a 404'd src/ path into public/.
 */
.text-center{
    text-align: center;
}