/* Real Data Analysis Results Styles */

.real-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.result-card.full-width {
    grid-column: 1 / -1;
}

.result-card h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-card h3 i {
    color: #667eea;
    font-size: 1.2em;
}

.result-card .description {
    color: #7f8c8d;
    margin: 0 0 20px 0;
    font-size: 0.95em;
    line-height: 1.6;
}

.image-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.analysis-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.analysis-image:hover {
    transform: scale(1.02);
    cursor: pointer;
}

.image-caption {
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 6px;
    font-size: 0.9em;
    color: #2c3e50;
    text-align: center;
    line-height: 1.6;
}

.image-caption strong {
    color: #667eea;
    font-weight: 600;
}

.verification-note {
    animation: fadeInUp 0.6s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .real-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-card {
        padding: 20px;
    }
    
    .result-card h3 {
        font-size: 1.1em;
    }
}

/* Lightbox effect when clicking images */
.analysis-image.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    z-index: 9999;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    cursor: zoom-out;
}

.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9998;
    cursor: pointer;
}
