.chart-container { 
    border: 2px solid black; 
    margin: 20px 0; 
    padding: 20px; 
}

.chart { 
    width: 100%; 
    height: 100%; 
}

.chart-title { 
    font-size: 18px; 
    color: #0073e6; 
    font-weight: bold; 
}

.xchart-selector-container { 
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.xchart-selector-row { 
    display: flex; 
    flex-wrap: wrap; /* 添加换行功能 */
    gap: 15px; 
    margin-top: 10px;
    margin-bottom: 20px;
    height: 40px;
    font-size: 20px;
}

.xchart-selector-row select {
    min-width: 250px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: white;
}

.xchart-selector-row select:disabled {
    background-color: #e9ecef;
    opacity: 0.7;
    cursor: not-allowed;
}

.xchart-display-area { 
    min-height: 480px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
} 

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .xchart-selector-row {
        height: auto; 
        flex-direction: column; /* 垂直排列 */
    }

    .xchart-selector-row select {
        width: 100%; /* 全宽度 */
        font-size: 18px;
    }
}
