/**
 * MediaPipe Loading Overlay Styles
 * Simple minimal loading screen
 */

.mediapipe-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.mediapipe-loading-overlay.hidden {
    display: none;
}

.mediapipe-loading-content {
    text-align: center;
}

/* Simple Spinner - matches theme */
.mediapipe-loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(16, 185, 129, 0.2);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Loading Text */
.mediapipe-loading-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .mediapipe-loading-spinner {
        width: 50px;
        height: 50px;
    }

    .mediapipe-loading-text {
        font-size: 0.9rem;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .mediapipe-loading-spinner {
        animation: none;
        border-top-color: var(--color-primary);
    }

    .mediapipe-loading-overlay {
        animation: none;
    }
}
