/* Installation Progress UI Styles */
.glowply-progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.progress-modal {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.progress-modal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(103, 126, 234, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.progress-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.progress-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
}

.progress-header p {
    margin: 0;
    color: #718096;
    font-size: 16px;
    line-height: 1.4;
}

.progress-steps {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.progress-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.progress-step:last-child {
    margin-bottom: 0;
}

.step-indicator {
    flex-shrink: 0;
    position: relative;
    margin-right: 20px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
}

.step-inner-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cbd5e0;
    transition: all 0.3s ease;
}

.step-connector {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 40px;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s ease;
}

.step-description {
    margin: 0;
    font-size: 14px;
    color: #718096;
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Step States */
.progress-step.pending .step-circle {
    background: #f7fafc;
    border-color: #e2e8f0;
}

.progress-step.pending .step-inner-circle {
    background: #e2e8f0;
}

.progress-step.pending .step-title {
    color: #a0aec0;
}

.progress-step.pending .step-description {
    color: #cbd5e0;
}

.progress-step.active .step-circle {
    background: #667eea;
    border-color: #667eea;
    animation: pulse 2s infinite;
}

.progress-step.active .step-inner-circle {
    background: #ffffff;
}

.progress-step.active .step-title {
    color: #2d3748;
    font-weight: 700;
}

.progress-step.active .step-description {
    color: #4a5568;
}

.progress-step.active .step-connector {
    background: linear-gradient(to bottom, #667eea, #e2e8f0);
}

.progress-step.completed .step-circle {
    background: #48bb78;
    border-color: #48bb78;
}

.progress-step.completed .step-inner-circle {
    background: #ffffff;
}

.progress-step.completed .step-connector {
    background: #48bb78;
}

.progress-step.completed .step-title {
    color: #2d3748;
}

.progress-step.completed .step-description {
    color: #4a5568;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

.progress-footer {
    position: relative;
    z-index: 2;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    width: 0%;
    transition: width 0.6s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading-shine 1.5s infinite;
}

@keyframes loading-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percentage {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    min-width: 35px;
    text-align: right;
}

/* Responsive Design for Progress UI */
@media (max-width: 768px) {
    .progress-modal {
        margin: 10px;
        padding: 30px 20px;
        max-width: none;
        border-radius: 15px;
    }
    
    .progress-header h2 {
        font-size: 20px;
    }
    
    .progress-header p {
        font-size: 14px;
    }
    
    .step-indicator {
        margin-right: 15px;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
    }
    
    .step-inner-circle {
        width: 17px;
        height: 17px;
    }
    
    .step-connector {
        top: 35px;
        height: 35px;
    }
    
    .step-title {
        font-size: 16px;
    }
    
    .step-description {
        font-size: 13px;
    }
    
    .progress-bar-container {
        gap: 10px;
    }
    
    .progress-percentage {
        font-size: 13px;
        min-width: 30px;
    }
}

@media (max-width: 480px) {
    .glowply-progress-overlay {
        padding: 15px;
    }
    
    .progress-modal {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .progress-header {
        margin-bottom: 30px;
    }
    
    .progress-header h2 {
        font-size: 18px;
    }
    
    .progress-steps {
        margin-bottom: 30px;
    }
    
    .progress-step {
        margin-bottom: 15px;
    }
    
    .step-indicator {
        margin-right: 12px;
    }
    
    .step-circle {
        width: 30px;
        height: 30px;
    }
    
    .step-inner-circle {
        width: 14px;
        height: 14px;
    }
    
    .step-connector {
        top: 30px;
        height: 30px;
        width: 2px;
    }
    
    .step-title {
        font-size: 15px;
    }
    
    .step-description {
        font-size: 12px;
    }
} 