/* Vendor Comparison Styles */
.comparison-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

.comparison-chart-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    min-height: 200px;
}

.vendor-comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .vendor-comparison-grid {
        grid-template-columns: 1fr;
    }
}

.vendor-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.vendor-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.vendor-card.flagged {
    border-top: 4px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0) 100%);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.1);
}

.vendor-card.safe {
    border-top: 4px solid #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0) 100%);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.1);
}

.vendor-card.error {
    border-top: 4px solid #f97316;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(249, 115, 22, 0) 100%);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1);
}

.vendor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.vendor-status {
    font-size: 1.2rem;
}

.vendor-score-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.vendor-score-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.vendor-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.detail-pill {
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
