.zoegeop-ai-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.zoegeop-ai-container h2 {
    color: #1a1a2e;
    margin-bottom: 10px;
    font-size: 28px;
    text-align: center;
}

.zoegeop-ai-container > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Steps */
.zoegeop-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    background: #e8f4fd;
    padding: 20px;
    border-radius: 12px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-text {
    color: #2c3e50;
    font-size: 14px;
}

/* Formulario */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 16px;
}

.form-group input[type="file"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 12px;
}

/* Botón */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Resultados */
.results-container {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.result-summary {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.summary-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    min-width: 120px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    display: block;
    color: #2c3e50;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

.stat.warning .stat-value {
    color: #e74c3c;
}

.stat.success .stat-value {
    color: #27ae60;
}

.executive-summary {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #3498db;
    font-size: 14px;
    line-height: 1.6;
}

.discrepancies-detail {
    margin-top: 20px;
}

.discrepancies-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 13px;
}

.discrepancies-table th,
.discrepancies-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.discrepancies-table th {
    background: #f1f3f5;
    font-weight: 600;
    color: #2c3e50;
}

.discrepancy-monto_incorrecto {
    background: #fff3cd;
}

.discrepancy-faltante {
    background: #f8d7da;
}

.positive {
    color: #27ae60;
    font-weight: bold;
}

.negative {
    color: #e74c3c;
    font-weight: bold;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .zoegeop-ai-container {
        padding: 20px;
    }
    
    .zoegeop-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .summary-stats {
        flex-direction: column;
    }
    
    .discrepancies-table {
        font-size: 11px;
    }
    
    .discrepancies-table th,
    .discrepancies-table td {
        padding: 8px;
    }
}