/* cq-loader.css */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loadingScreen.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loadingText {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.progress-container {
    width: 80%;
    max-width: 400px;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background-color: #3498db;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.file-info {
    font-size: 14px;
    color: #666;
    text-align: center;
    max-width: 80%;
    word-break: break-all;
}

#customIcon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
