.asset-allocation-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.asset-allocation-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 30px 0;
}

.asset-allocation-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.asset-allocation-chart-wrapper {
    flex: 0 0 350px;
    max-width: 350px;
}

.asset-allocation-chart-wrapper canvas {
    max-width: 100%;
    height: auto;
}

.asset-allocation-legend {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    flex-shrink: 0;
}

.legend-label {
    flex: 1;
    font-size: 16px;
    color: #4b5563;
    font-weight: 400;
}

.legend-value {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    min-width: 45px;
    text-align: right;
}

@media (max-width: 768px) {
    .asset-allocation-content {
        flex-direction: column;
        gap: 30px;
    }

    .asset-allocation-chart-wrapper {
        flex: 0 0 auto;
        max-width: 300px;
    }

    .asset-allocation-legend {
        width: 100%;
    }
}
