/**
 * Preloading Spinner for Gravity Forms - CSS Styles
 */

/* Preloader Container */
.psgf-preloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

/* Spinner Container */
.psgf-preloader-spinner {
    text-align: center;
}

/* Spinner Image */
.psgf-preloader-spinner img {
    max-width: 100px;
    height: auto;
}

/* Fade Out Animation */
.psgf-preloader-fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Accessibility - Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .psgf-preloader-container {
        transition: none;
    }
}
