/* Preloader Overlay */
#tfp-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fdfcff;
    /* Match --md-sys-color-surface */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* Hide State */
#tfp-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Spinner Animation */
.tfp-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(59, 116, 224, 0.1);
    /* Primary color low opacity */
    border-top: 4px solid #3b74e0;
    /* Primary color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}