/**Layer 126: Data Visualization*/

#advanced-data-viz {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
}

.viz-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    font-family: 'Inter', sans-serif;
    min-width: 300px;
    text-align: center;
}

.viz-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    color: #334155;
    text-transform: uppercase;
    font-weight: 700;
}

/* Radar Chart */
.radar-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 1;
}

.radar-axis {
    stroke: #cbd5e1;
    stroke-width: 1;
    stroke-dasharray: 4;
}

.radar-poly {
    fill: rgba(59, 130, 246, 0.2);
    stroke: #3b82f6;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.radar-poly:hover {
    fill: rgba(59, 130, 246, 0.4);
}

.radar-label {
    font-size: 0.7rem;
    fill: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

/* Line Chart */
.line-poly {
    fill: none;
    stroke: #ec4899;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.line-dot {
    fill: #fff;
    stroke: #ec4899;
    stroke-width: 2;
    transition: r 0.2s;
}

.line-dot:hover {
    r: 6;
    fill: #ec4899;
    cursor: pointer;
}

.line-dot:hover::after {
    content: attr(data-val);
    /* SVG doesn't support psi-elements, JS tooltip normally used */
}