/**
 * Loading Overlay Plugin - CSS Styles
 * 
 * These styles can be included separately or directly embedded 
 * in the JS file for easier distribution
 */

/* Spinner animation */
@keyframes loadingOverlaySpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Base overlay styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content container */
.loading-overlay-content {
    text-align: center;
}

/* Spinner element */
.loading-overlay-spinner {
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 5px solid #ffffff;
    width: 50px;
    height: 50px;
    margin: 0 auto 20px auto;
    animation: loadingOverlaySpinner 1s linear infinite;
}

/* Text message */
.loading-overlay-message {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

/* Fixed positioning for full viewport coverage */
.loading-overlay-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Absolute positioning for element-specific overlays */
.loading-overlay-absolute {
    position: absolute;
}

/* Prevent interactions */
.loading-overlay-block-interactions {
    cursor: wait;
}