body {
    background-color: #f5f5f5;
    padding-bottom: 20px;
}

.main-container {
    max-width: 1000px;
    margin: 20px auto;
}

.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.upload-area:hover {
    border-color: #3f51b5;
    background: #e8eaf6;
}

.upload-area.dragover {
    border-color: #3f51b5;
    background: #c5cae9;
}

.option-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.info-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #666;
    min-width: 120px;
    display: inline-block;
}

.info-value {
    color: #333;
}

.stat-card {
    border-radius: 12px;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.result-preview {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 10px;
    padding: 20px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    max-height: 400px;
    overflow: auto;
    font-size: 0.9rem;
}

.data-table-wrapper {
    max-height: 400px;
    overflow: auto;
    border: 1px solid #eee;
    border-radius: 10px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 8px 10px;
    border: 1px solid #eee;
    white-space: nowrap;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.badge-soft {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}

.file-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.file-list li {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #fff;
}

.tool-tip {
    color: #888;
    font-size: 0.85rem;
}

#chartPreview {
    min-height: 320px;
}

@media (max-width: 576px) {
    .upload-area {
        padding: 25px;
    }
}
