.result-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 3rem;
    background: var(--primary-color);
    border-radius: 20px;
    box-shadow: var(--inner-shadow);
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.result-header h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.result-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.9;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.image-section, .analysis-section {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--inner-shadow);
}

.image-section h3, .analysis-section h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.image-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--inner-shadow);
    margin-bottom: 2rem;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 148, 216, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-2px);
}

.detail-icon {
    font-size: 1.5rem;
    background: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-color);
}

.detail-content h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.detail-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-color);
    opacity: 0.9;
    margin: 0;
}

.prediction-summary {
    background: rgba(0, 148, 216, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
}

.prediction-summary h4 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.predicted-class {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.confidence {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    opacity: 0.9;
}

.predictions-container {
    margin-bottom: 2rem;
}

.prediction-item {
    margin-bottom: 1.5rem;
}

.prediction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.class-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
}

.probability {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 148, 216, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--inner-shadow);
}

.progress {
    height: 100%;
    background: var(--accent-color);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.analysis-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-details h4 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.tumor-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    background: rgba(0, 148, 216, 0.1);
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.info-item h5 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.info-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

.disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    border-left: 4px solid #ff4444;
}

.disclaimer-icon {
    font-size: 2rem;
}

.disclaimer-content h4 {
    color: #ff4444;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.disclaimer-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ff8888;
}

.action-buttons {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .result-container {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .tumor-info {
        grid-template-columns: 1fr;
    }

    .image-container {
        height: 300px;
    }

    .image-details {
        grid-template-columns: 1fr;
    }
} 