/* Loading Spinner Styles for Blazor Static Render Mode */
.blazor-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.5s ease-in;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e3f2fd;
    border-top: 4px solid #2196f3;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.spinner-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.spinner-dot {
    width: 8px;
    height: 8px;
    background-color: #2196f3;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.spinner-dot:nth-child(1) { animation-delay: -0.32s; }
.spinner-dot:nth-child(2) { animation-delay: -0.16s; }
.spinner-dot:nth-child(3) { animation-delay: 0s; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading-text {
    margin-top: 30px;
    font-size: 18px;
    color: #1976d2;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.loading-subtext {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-family: 'Roboto', sans-serif;
    opacity: 0.8;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.blazor-loading.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out;
}

/* Responsive design */
@media (max-width: 768px) {
    .spinner {
        width: 50px;
        height: 50px;
    }
    
    .loading-text {
        font-size: 16px;
    }
    
    .loading-subtext {
        font-size: 12px;
    }
}
