.loading-container {
    display: block;
    padding: 15px;
    background: rgba(255, 255, 255, .6);
    border-radius: 10px;
    margin: 20px auto;
    width: 95% !important;
    max-width: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.progress-container {
    width: 100% !important;
    max-width: none !important;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.file-progress {
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0;
    padding: 8px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
    text-align: left;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.progress-step {
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    color: #007bff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-bar {
    width: 100% !important;
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #00a0ff);
    border-radius: 5px;
    transition: width 0.8s ease-in-out;
    background-size: 200% 100%;
    animation: loading-pulse 2s linear infinite;
}

.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

.file-error-message {
    color: #dc3545;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 15px;
    margin: 10px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-error-message.show {
    opacity: 1;
}
