/**
 * VEA CAST - Processing Step Styles
 * Estilos específicos para el Step 3 (Processing)
 */

/* Processing Area */
.processing-area {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
    transition: all 0.3s ease;
}

.processing-content h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Progress Container */
.progress-container {
    margin-bottom: 1.5rem;
}

.processing-progress .progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.processing-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.progress-text {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.progress-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Processing Details */
.processing-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.detail-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1rem;
}

/* Status Message */
.status-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    display: none;
}

.status-message.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff6b7a;
}

.status-message.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #6bcf7f;
}

/* Button States for Step 3 - Process button verde como otros pasos */
.step-3 .action-btn {
    /* Usar color verde estándar como otros action buttons */
    background: var(--success-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-3 .action-btn:hover:not(:disabled) {
    background: #0b8548;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 157, 88, 0.3);
}

.step-3 .action-btn:disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.5;
}

/* Asegurar que el botón habilitado use el color verde estándar */
.step-3 .action-btn:not(:disabled) {
    background: var(--success-color) !important;
    color: #fff !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

/* Continue Button Enable Animation */
.nav-btn.continue-enabled {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    animation: pulse-success 2s ease-in-out;
}

@keyframes pulse-success {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3); 
    }
    50% { 
        box-shadow: 0 4px 25px rgba(40, 167, 69, 0.6); 
    }
}

/* Processing Animation */
.step-3.processing .processing-area {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.05);
}

.step-3.processing .progress-fill {
    background: linear-gradient(90deg, #00d4ff, #0099cc, #00d4ff);
    background-size: 200% 100%;
    animation: progress-shimmer 1.5s ease-in-out infinite;
}

@keyframes progress-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .processing-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .detail-item {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .processing-area {
        padding: 1.5rem;
        margin: 1rem 0;
    }
}

/* Step 3 specific visibility */
body:not(.step-3) .processing-area {
    display: none !important;
}

body.step-3 .drop-area {
    display: none !important;
}
