/**
 * Loading Overlay Styles
 * Matches test file: loading-spinner-options.html Option 8
 * Created: 2025-12-24
 */

/* Loading Overlay Container */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

/* Fade out animation before removal */
.loading-overlay.fade-out {
    opacity: 0;
}

/* Spinner - compact size */
.loading-spinner {
    width: 24px !important;
    height: 24px !important;
    border: 2px solid #e0e0e0 !important;
    border-top-color: #4a90d9 !important;
    border-radius: 50% !important;
    animation: loading-spin 0.8s linear infinite !important;
    box-sizing: border-box !important;
}

@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

/* Loading Text - below spinner */
.loading-text {
    color: #666;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
