/**
 * Head to Head Pie Charts Styles
 * CSS for the dynamic pie charts in head-to-head match analysis
 */

.pie-chart-container {
    position: relative;
    height: 160px;
    margin-bottom: 20px;
    order: -1;
}

.pie-chart-container canvas {
    max-width: 100%;
}

.chart-legend {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-bottom: 4px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.legend-text {
    font-weight: 500;
    margin-bottom: 2px;
}

.legend-value {
    font-size: 14px;
    font-weight: bold;
}
