/* HOLIO Loading Spinner */
.holio-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

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

.holio-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #e2e8f0;
    border-top: 5px solid #2563eb;
    border-radius: 50%;
    animation: holio-spin 1s linear infinite;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes holio-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading text */
.holio-loading-text {
    margin-top: 12px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

/* Pattern canvas container positioning */
.pattern-canvas-container {
    position: relative;
    display: inline-block;
    min-height: 200px;
}

/* Small inline spinner for sliders */
.holio-slider-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    animation: holio-spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

/* Processing states */
.holio-processing {
    opacity: 0.7;
    pointer-events: none;
}

/* Dark theme variant */
.dark-theme .holio-loading-overlay {
    background: rgba(15, 23, 42, 0.9);
}

.dark-theme .holio-spinner {
    border-color: #475569;
    border-top-color: #3b82f6;
}

.dark-theme .holio-loading-text {
    color: #94a3b8;
}

/* Pulse animation for processing state */
@keyframes holio-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.holio-processing-pulse {
    animation: holio-pulse 2s ease-in-out infinite;
} 