#chart-area {
    width: 100%;
    margin: 0 auto;
}

svg.ai-wage-chart {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.axis path,
.axis line {
    fill: none;
    stroke: #ccc;
    shape-rendering: crispEdges;
}

.axis text {
    font-size: 12px;
    fill: #333;
}

.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    font-size: 14px;
    z-index: 10;
    min-width: 200px;
}

.tooltip.visible {
    opacity: 1;
    pointer-events: auto;
}

.more-info-btn {
    margin-top: 8px;
    padding: 4px 8px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
}

.more-info-btn:hover {
    background-color: #45a049;
}

.details-section {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legend {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 0 15px;
    font-size: 14px;
    color: #555;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    margin-right: 6px;
}

.datagrid-area {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    min-height: 100px;
}

.datagrid-area h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    color: #333;
}

.datagrid-area p {
    font-size: 0.875rem;
    color: #555;
    text-align: center;
}

.datagrid-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.datagrid-table th,
.datagrid-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 0.875rem;
}

.datagrid-table th {
    background-color: #f2f2f2;
    font-weight: 600;
    color: #333;
}

.datagrid-table tr:nth-child(even) {
    background-color: #f9f9f9;
} 