body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 24px;
    }
    
    .chart-wrapper {
        padding: 5px;
    }
    
    .btn-tool {
        padding: 6px 10px; /* 大触摸目标 */
    }
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.drop-zone {
    border: 3px dashed #ccc;
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: #2196F3;
    background-color: #E3F2FD;
}

.hidden {
    display: none !important;
}

.panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.chart-wrapper {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow-x: auto;
}

.progress-container {
    width: 100%;
    max-width: 400px;
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 12px;
    margin: 0 auto 15px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.progress-bar {
    height: 100%;
    background-color: #2196F3;
    width: 0%;
    text-align: center;
    line-height: 24px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    transition: width 0.1s linear;
     white-space: nowrap;
}

#loading {
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.uplot {
    font-family: inherit;
}

.btn-tool {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    transition: background-color 0.2s;
}

.btn-tool:hover {
    background-color: #f0f0f0;
    border-color: #999;
}