/* Analysis Card Styles */
.analysis-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease-out;
}

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

.analysis-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.analysis-meta .symbol-tag {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    color: var(--primary-color);
}

.analysis-meta .author {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.analysis-meta .time {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.7;
}

.score-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.9rem;
}

.score-badge.high {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.score-badge.medium {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.score-badge.low {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.analysis-body p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.5;
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
    font-style: italic;
}

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

/* Mobile Responsiveness for Cards */
@media (max-width: 480px) {
    .analysis-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .analysis-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }
    
    .score-badge {
        align-self: flex-start;
    }
    
    .analysis-meta .time {
        margin-left: auto; /* Push time to the right */
    }
}
