/* Progressive Loading Styles */
.progressive-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 300px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loaderMessage {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loader-content {
        padding: 30px 20px;
        margin: 0 20px;
    }

    #loaderMessage {
        font-size: 14px;
    }
}