/* Text2KGBench Model Comparison Chart Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.5;
}

.container {
    max-width: 100%;
    padding: 10px;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-group label {
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

.control-group select {
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    min-width: 150px;
}

.control-group select:hover {
    border-color: #888;
}

.control-group select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.legend-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.legend-info p {
    margin: 0;
}

.legend-info strong {
    color: #333;
}

.legend-info .no-data {
    color: #888;
    font-style: italic;
}

.legend-info .error {
    color: #d32f2f;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .controls {
        flex-direction: column;
        gap: 10px;
    }

    .control-group {
        width: 100%;
        justify-content: space-between;
    }

    .control-group select {
        flex: 1;
        max-width: 200px;
    }

    .chart-container {
        height: 350px;
    }
}
